noCV
AFETCH-107 · Bound remote work

Make interrupted document fetch retries preserve one import identity

Practice briefStoryExpert

A response drops after storage completes; retry publishes a second document with a different identity.

Focused work estimate
5h + prerequisites
Priority in the scenario
Medium
Engineering practice
Idempotency · Storage lifecycle

Estimated field mix

  • Storage systems40%
  • Security30%
  • Backend30%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

Review it, then add it to your workspace.

The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.

Project context

A fictional knowledge service imports documents from customer-entered URLs. The importer follows redirects and trusts response metadata too broadly.

Setup prerequisites

  • Build a local fetch adapter and controlled HTTP test servers.
  • Use synthetic documents and deny network access outside the test allowlist.

Preceding work

Complete these dependencies, or supply their agreed outputs before taking this ticket.

Acceptance criteria

  • Use a stable import command identity and staged object generation.
  • Publish at most one completed object per command.
  • Changed URL or policy version under the same key conflicts.

Implementation constraints

  • Persist publication and completion state atomically.

Verification to include

  • Drop the response after publication and retry to the same import.
  • Interrupt a stream and verify its incomplete generation cannot be published.

Deliverables

  • Idempotent import completion and fault probe

Rollout and recovery

Canary one synthetic tenant; stop completion and inspect staging generations on inconsistency.

Value of the work

For the engineer: Practice defensive URL handling and bounded untrusted-input processing.

For the team: Review whether integrations can import content without expanding infrastructure access.

Evidence boundaries

Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.

Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.