Skip to content

atlas source-mark grammar: repository mark omits captured_at, breaking the registry round-trip (PR #7629 review finding) #8060

Closed

Description

@dezren39

Atlas source-mark grammar: repository mark omits captured_at, breaking the registry round-trip

Finding (from PR review)

On PR #7629 (docs(atlas): source-mark grammar spec for composite provenance marks, #6044), Codex review comment 4505856175 (chatgpt-codex-connector[bot], 2026-11-08T10:18:21Z, doc/2026-11-08T10-17-00Z_design_source_mark_grammar/2026-11-08T10-17-00Z_design_source_mark_grammar.md:54):

Preserve capture time in the repository mark mapping. For two registry occurrences captured at different times from the same revision, path, and content hash, this production emits identical marks because it has no captured_at field. That conflicts with §6's registry tuple and the requirement that the total formatter round-trip every registry-shaped OccurrenceRef: parsing cannot recover which capture time was formatted. Include capture time in repository marks, or explicitly define a repository-specific record contract that excludes it and narrow the round-trip requirement accordingly.

No-response evidence

Still-live evidence (current PR head)

Raw read of the spec at head aac41eefd4: §3 defines repo-mark = "repo@" revision ":" path hash? — no captured-at component — while host-mark carries captured-at. Two occurrences differing only in capture time still format to identical repository marks, so the §6 round-trip cannot recover capture time.

Acceptance criteria

  • Repository marks carry capture time, OR the spec defines a repository-specific record contract excluding it and narrows the total-formatter round-trip requirement to match.
  • Resolving by a documented decision on this issue is also acceptable.

Filed by the pr-comment-review job (run 2026-11-09 11:54 CST) under the queue cutover: labels applied at filing, standard agent note posted after filing, and a repo-task/v1 triage packet (kind: triage, priority 30) enqueued on repo-health-code-pilot.

Activity

  1. added
    task/triage
    status/needs-triage
    priority/normal
    queue/queued
    source/pr-comment-review
    on Nov 9, 2026
  2. developing-today commented on Nov 9, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · filed

  4. added
    queue/parked
    status/parked
    work/assigned
    and removed
    status/needs-triage
    queue/queued
    on Nov 9, 2026
  5. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off to opencode claimant — Agent: queue worker (repo-worker-code), lane code-m — Session/ID: task 14416, repo-queue-worker-shift-m 2026-11-09 run. Task 14416 (triage) for issue #8060: atlas source-mark grammar: repository mark omits captured_at, breaking the registry round-trip (PR #7629 review finding); attempts 1/6. Fresh check: issue #8060 OPEN, no held/user-owned/do-not-merge/do-not-auto-edit labels. Execution lane row 5613 = opencode (repeat handoff). Checkpointed handed_off; parking task 14416 for 20 minutes for the claimant window.

  6. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  7. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  8. 29 remaining items

  9. added this to the Atlas program milestone on Nov 12, 2026
  10. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    Picked up by repo-worker-code-c — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code-c posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  11. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    Progress from repo-worker-code-c: verified: finding still live at PR #7629 head a1c244b (repo-mark line 54 has no captured-at; V8/V9 conflict stands); working fix direct

  12. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    state: in-progress (fallback mode)
    lane: code-c, worker: repo-worker-code-c
    Picked up #8060 (fallback claim; queue backend down). Fresh revalidation 2026-11-12: issue OPEN, no held labels; PR #7629 OPEN, head a1c244b (newer than the aac41ee cited in the issue). Finding still live: spec section 3 repo-mark = "repo@" revision ":" path hash? - no captured-at - while section 6/V8 require the mark to map to the full registry tuple incl. captured_at and V9 requires total round-trip. Prior lanes only handed task 14416 to opencode (row 5613); working it direct this shift. Plan: include captured-at in repo-marks (Codex option 1), updating sections 2, 3 EBNF, 4 ambiguity rule, V4/V8, 6 mapping, and examples; then push fix to PR #7629's branch or open a follow-up PR, with the Codex thread dispositioned.

  13. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    Progress from repo-worker-code-c: implementation_complete: repo-mark now carries captured-at (sections 2/3/4/V4/6 + example) in worktree queue-fallback-8060; pushing to PR #7629 branch next

  14. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    state: done — fixed_merged (fallback mode)
    lane: code-c, worker: repo-worker-code-c

    Fixed and merged. PR #7629 (docs(atlas) source-mark grammar spec for #6044) is MERGED, merge commit 0f0a2ce, head bd417f2.

  15. removed
    status/in-progress
    queue/claimed
    work/assigned
    on Nov 12, 2026
  16. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    Released by repo-worker-code-c (outcome: done). fixed_merged: repo-mark now carries captured-at in the source-mark grammar spec; commit bd417f2 pushed to PR #7629, both Codex threads dispositioned+resolved (replies 4552706242, 4552710327), PR #7629 squash-merged 0f0a2ce, spec verified on main (lines 32/54), issue #8060 CLOSED with note 6828378955, labels cleaned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

epic/atlas-programpriority/normalsource/pr-comment-reviewstatus:donetask/triage

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions