Title: id(artifact): peer pulls halt on pre-upgrade home_declared entries — the #3187 strict receipt needs a trusted historical cutoff for receive_artifact · Issue #4459 · developing-today/code · GitHub
Open Graph Title: id(artifact): peer pulls halt on pre-upgrade home_declared entries — the #3187 strict receipt needs a trusted historical cutoff for receive_artifact · Issue #4459 · developing-today/code
X Title: id(artifact): peer pulls halt on pre-upgrade home_declared entries — the #3187 strict receipt needs a trusted historical cutoff for receive_artifact · Issue #4459 · developing-today/code
Description: Problem PR #4449's sibling PR #4432 (issue #3187, Phase 2 of design #3231) bounds home_declared world_id in SignedArtifact::parsed() (max 64 bytes, no whitespace-only, no control/format characters) and refuses duplicate endpoints. Local ...
Open Graph Description: Problem PR #4449's sibling PR #4432 (issue #3187, Phase 2 of design #3231) bounds home_declared world_id in SignedArtifact::parsed() (max 64 bytes, no whitespace-only, no control/format characters)...
X Description: Problem PR #4449's sibling PR #4432 (issue #3187, Phase 2 of design #3231) bounds home_declared world_id in SignedArtifact::parsed() (max 64 bytes, no whitespace-only, no control/format charact...
Opengraph URL: https://github.com/developing-today/code/issues/4459
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(artifact): peer pulls halt on pre-upgrade home_declared entries — the #3187 strict receipt needs a trusted historical cutoff for receive_artifact","articleBody":"## Problem\n\nPR #4449's sibling PR #4432 (issue #3187, Phase 2 of design #3231) bounds `home_declared` `world_id` in `SignedArtifact::parsed()` (max 64 bytes, no whitespace-only, no control/format characters) and refuses duplicate endpoints. Local history is covered: replay of an existing log uses a lenient path (`parsed_for_replay`), so a world whose log already holds an over-bound declaration still reopens (pinned by the PR's `a_legacy_home_declaration_still_replays` test).\n\nThe **peer-pull path is not covered** (CodeRabbit Major on PR #4432, verified 2026-11-02): `Directory::receive_artifact` (`pkgs/id/src/directory.rs:1380`) calls the strict `artifact.parsed()?`, and the refusal ends the page in `apply_page` / the pull in `pull_within`. A peer whose signed chain contains a pre-upgrade declaration with an over-bound `world_id` therefore cannot be pulled past that entry — later artifacts from that account never apply. The declaration is signed and cannot be rewritten.\n\n## What is needed\n\nA design decision, under design #3231's one-receipt-contract (the #3232 Phase 3 audit may be the right venue):\n\n- Choose a **trusted cutoff** that marks pre-upgrade chain state for the receive path (candidates: per-account chain position/seq at upgrade time, a protocol/version marker, an explicit allowlist of known legacy artifact hashes) and name its authoritative source.\n- Peer provenance alone is not a validation boundary, and the local replay path (`parsed_for_replay`) must not simply be reused for pulled artifacts.\n- The strict bound keeps applying to genuinely new receipts either way.\n\nUntil that cutoff exists, PR #4432's strict-receipt behavior is the conservative default and its merge is held on this question (queue task 5758 parked with this issue as the resume condition).\n\n## Links\n- PR #4432 (held) · issue #3187 · design issue #3231 · audit issue #3232 · queue task 5758\n\n## Acceptance criteria\n\n- A peer pull over a journal containing pre-upgrade home_declared entries completes (entries are migrated, skipped with a recorded reason, or surfaced as a typed error — not a halt of the whole pull).\n- Regression coverage exercises a pre-upgrade home_declared entry through the pull path.\n- Behavior for genuinely corrupt entries remains a hard error (the #3187 strictness is not silently dropped).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-02T16:41:23Z","url":"https://github.com/developing-today/code/issues/4459"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:183acc34-23b6-289b-4555-104618f8b397 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8080:2A9AB5:D58EF6:113A6C1:6B064240 |
| html-safe-nonce | 55587e70dccc4f4610a43a86d65f36c953f1f7f1c82a142af487438a38772eba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDgwOjJBOUFCNTpENThFRjY6MTEzQTZDMTo2QjA2NDI0MCIsInZpc2l0b3JfaWQiOiI1ODI5Mzg1NjUxODEyMTg4NzM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2fc6a7fe55091dcd002622543c1bcb7a4d16072d42a4b214b2098c8f074f3516 |
| hovercard-subject-tag | issue:6166805554 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/4459/issue_layout |
| twitter:image | https://opengraph.githubassets.com/48429fbdcaff236da3fbf7d59a32ef92c60d00a404b2158bfaa5266252d3c1d3/developing-today/code/issues/4459 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/48429fbdcaff236da3fbf7d59a32ef92c60d00a404b2158bfaa5266252d3c1d3/developing-today/code/issues/4459 |
| og:image:alt | Problem PR #4449's sibling PR #4432 (issue #3187, Phase 2 of design #3231) bounds home_declared world_id in SignedArtifact::parsed() (max 64 bytes, no whitespace-only, no control/format characters)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1bff4f6bfaa96dc9c42cacf315424c24ebb548b06142ced5e3aaccb2a42dd652 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ac613d3698d3d8565651455086e1f74da07bf277 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width