Skip to content

Harden peer file artifact lifecycle - #77

Draft
cyzus wants to merge 1 commit into
mainfrom
agent/peer-file-retrieval-hardening
Draft

Harden peer file artifact lifecycle#77
cyzus wants to merge 1 commit into
mainfrom
agent/peer-file-retrieval-hardening

Conversation

@cyzus

@cyzus cyzus commented Jul 28, 2026

Copy link
Copy Markdown
Owner

What changed

  • add regression coverage for unknown, expired, and disappeared peer artifacts
  • verify expired registry entries are pruned
  • update the design status to reflect the already merged core download flow

Why

The core peer file retrieval implementation is already present on main via PR #62, but lifecycle edge cases and the document status were not aligned.

Impact

Artifact references continue to fail closed after expiry or source-file removal. Host-to-peer ephemeral artifact grants remain explicitly out of scope for this PR.

Validation

  • uv run --no-sync pytest tests/nodes/test_peer_file_registry.py tests/nodes/test_peer_file_retrieval.py tests/nodes/test_auth_boundary.py (20 passed)
  • Ruff check for the new tests

@cyzus
cyzus force-pushed the agent/peer-file-retrieval-hardening branch from 2e0ced3 to 651ec63 Compare July 29, 2026 02:18
@cyzus
cyzus force-pushed the agent/peer-file-retrieval-hardening branch from 651ec63 to a3d2ad5 Compare July 29, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant