GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(artifact): preserve pre-upgrade log replay for duplicate after and non-NFC fields · Issue #5625 · developing-today/code

id(artifact): preserve pre-upgrade log replay for duplicate after and non-NFC fields #5625

New issue
Copy link
New issue
Copy link
Closed
#6321
Closed
id(artifact): preserve pre-upgrade log replay for duplicate after and non-NFC fields#5625
#6321
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilotstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 4, 2026
Issue body actions

Receipt-audit follow-up from #3232 / design #3231

The new receipt checks for duplicate after hashes (#3196) and NFC in document.media_type / tag.name / tag.value (#3192) are unconditional on local replay today. ArtifactLog::open re-runs verify() and parsed_for_replay(), but verify() always checks the duplicate-after rule and parsed_mode(replay=true) still checks those NFC fields.

Before those checks landed, the supported artifact producer path could persist these shapes: SignedArtifact::sign_after accepted duplicate after entries, and Directory.publish_document / publish_tag passed text through the then-lenient parser. Such logs were accepted at the time; reopening them now fails, contrary to #3231's replay-compatibility criterion. Tests cover the home_declared replay exception and duplicate friend_remove replay, but not these pre-upgrade after/NFC cases.

Scope

  • Decide and implement a trusted legacy boundary or narrowly scoped replay compatibility for these rules, while keeping fresh receipts strict.
  • Add fixtures proving legacy logs reopen and new receipts with the same invalid shapes remain refused.
  • Keep genuinely corrupt/authenticity failures strict.
  • Coordinate with id(artifact): peer pulls halt on pre-upgrade home_declared entries — the #3187 strict receipt needs a trusted historical cutoff for receive_artifact #4459's artifact-format cutoff for remote peer pulls; do not reuse local replay leniency as a blanket remote-receipt policy.

This follow-up is separate from the #3232 audit; the audit records the gap and links this issue without changing validation behavior.

Acceptance criteria

  • Pre-upgrade artifact logs containing duplicate after entries or non-NFC document.media_type / tag.name / tag.value values reopen successfully under a narrowly scoped, trusted legacy replay boundary.
  • Fresh receipts with the same invalid shapes are still refused.
  • Genuinely corrupt or inauthentic logs still fail verification.
  • Fixtures/tests prove both directions (legacy reopen + fresh refusal), and local replay leniency is not reused as a blanket remote-receipt policy (coordination with id(artifact): peer pulls halt on pre-upgrade home_declared entries — the #3187 strict receipt needs a trusted historical cutoff for receive_artifact #4459's cutoff noted on the PR).

Activity

Next
  1. developing-today commented on Nov 4, 2026

    @developing-today
    developing-todayBot
    on Nov 4, 2026 – with developing.today
    Contributor
    More actions

    CODE-1395

  2. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    source/queue-workerFiled or worked by the queue/worker pilot
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 4, 2026
  3. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    Intake review

    • Related: Receipt-audit follow-up from Phase 3 (audit) of #3231 — field-by-field receipt-validation audit for pkgs/id artifacts + contract statement #3232 / design Design: a signed artifact is validated as strictly as it is built — one receipt contract for pkgs/id artifacts #3231; the checks in question landed in id(artifact): check() accepts duplicate after hashes — the same hash can fill all 32 frontier slots, unlike chain.rs which refuses DuplicateAfter #3196 (duplicate-after) and id(artifact): parsed() accepts non-NFC text in document and tag — media_type, tag name and value bypass the NFC rule documents.rs and tag_claims.rs both enforce #3192 (NFC). Coordinates with id(artifact): peer pulls halt on pre-upgrade home_declared entries — the #3187 strict receipt needs a trusted historical cutoff for receive_artifact #4459's artifact-format cutoff for remote peer pulls. Sibling follow-ups: id(directory): validate friend-request IDs before persistence and preserve legacy removals #5624, id(artifact): validate known-kind bodies in generic signing helpers #5623.
    • Notes: Replay-compatibility gap, precisely scoped: validation that is correct for fresh receipts is being applied unconditionally on local replay, so logs that were valid when written can no longer be reopened. This is a decide-the-boundary task, not a mechanical patch — the legacy boundary needs an explicit, narrow definition.
    • Risks: Over-broad leniency would silently accept invalid fresh data; the local/remote distinction must stay sharp.
    • Suggested approach: Mirror the existing replay exceptions (home_declared, duplicate friend_remove) — a named, per-rule replay exemption with fixtures on both sides of the line.
      — fleet monitor intake, 2026-11-04
  4. github-actions
    assigned
    dezren39
    on Nov 4, 2026
  5. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 5, 2026
  6. 24 remaining items

  7. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-s
    • Session / ID: task 10598
    • Task: Fix id(artifact): preserve pre-upgrade log replay for duplicate after and non-NFC fields #5625: preserve narrowly scoped legacy replay for artifact validation changes (duplicate after entries and non-NFC document/tag fields in pre-upgrade logs). Execution-lane assignment returned direct; lane code-s is working it. Fresh check: issue id(artifact): preserve pre-upgrade log replay for duplicate after and non-NFC fields #5625 OPEN, no hard-stop labels, no existing PR or worktree for this task.
    • Next: implement a replay-scoped boundary in pkgs/id artifact validation, keeping fresh receipts strict; branch + PR under the standing rules.
    • Links: issue id(artifact): preserve pre-upgrade log replay for duplicate after and non-NFC fields #5625
  8. developing-today
    added
    status:in-review
    on Nov 5, 2026
  9. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane code-s
    • Session / ID: task 10598
    • Task: Fix id(artifact): preserve pre-upgrade log replay for duplicate after and non-NFC fields #5625 implemented and opened as PR fix(id/artifact): grandfather duplicate-after and non-NFC shapes in local replay only (#5625) #6321 (branch queue/10598-5625-legacy-replay-boundary): verify_for_replay() grandfathers only the duplicate-after sub-rule and parsed_for_replay() now grandfathers the three id(artifact): parsed() accepts non-NFC text in document and tag — media_type, tag name and value bypass the NFC rule documents.rs and tag_claims.rs both enforce #3192 NFC fields; authenticity and all other rules stay strict in both modes, and remote/fresh receipt (insert) is unchanged — the leniency is reachable only from local open/open_read_only. Full pkgs/id lib suite on the laptop: 2258 + 317 passed, 0 failed.
    • Resume condition: Codex review of PR fix(id/artifact): grandfather duplicate-after and non-NFC shapes in local replay only (#5625) #6321 has landed; disposition any findings in the PR, then merge under the standing criteria and complete task 10598. Parked rather than held while waiting for that review.
    • Links: issue id(artifact): preserve pre-upgrade log replay for duplicate after and non-NFC fields #5625 · PR fix(id/artifact): grandfather duplicate-after and non-NFC shapes in local replay only (#5625) #6321
  10. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 5, 2026
  11. dezren39
    added a commit that references this issue on Nov 5, 2026

    fix(id/artifact): grandfather duplicate-after and non-NFC shapes in l…

    c0b4ac6
  12. dezren39
    closed this as completedin #6321on Nov 5, 2026
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 5, 2026
  14. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Resumed by repo queue worker lane code-c as task 10598: Codex review on PR #6321 completed with no findings (review state: has_any_findings=false), the diff is the single-file narrow replay boundary described in the PR, and the PR body records the full laptop test run (cargo test --lib in pkgs/id: 2258 + 317 passed, 0 failed). Merged PR #6321 (squash, merge commit c0b4ac6); this issue auto-closed via Fixes #5625. Task 10598 complete.

  15. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilotstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.