GeezerVison is showing github.com — impl(atlas/id): attested-only consumer view preset needs an attestation predicate (follow-up of #11185) · Issue #13766 · developing-today/code
impl(atlas/id): attested-only consumer view preset needs an attestation predicate (follow-up of #11185) #13766DescriptionFollow-up from #11185 (consumer view presets, follow-on 4 of 5 under #6062).
Heads-only and full-history presets map onto the landed WriterSet Entry::Key { include_history }. The attested-only preset cannot: landed WriterSet/View have no attestation predicate, and the design (doc/2026-11-09T07-20-00Z_design_atlas_id_publication §4) does not define one.
Needed: an owner decision on the attestation predicate, or the projector's attestation-marked claim shape (follow-on 3). Then add the attested preset with no new view machinery, verified over the fixture corpus.
Parent: #11185. Program: #6018.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T21:15:02Z",
"session_id": "ses_e5df5dcee7dffecIE556X6sQCn",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code",
"repo": "developing-today/code",
"branch": "main",
"sha": "7e7af3f72d05278760bc8cf5a64a45ffdb5edf6e"
},
"auth_subject": "oc-code-04",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Refs #11185 Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 Refs #11185 (follow-up of consumer view presets, follow-on 4 of 5 under #6062). dezren39 commented on Nov 23, 2026
Decided: The attestation predicate is: a published version is attested iff the pinned snapshot contains a tag.set claim named atlas.wasGeneratedBy whose subject is that version's document and whose value names an attestation.claim event present in the snapshot. The claim body is the #6045 batch statement bytes verbatim, with the statement hash as the claim's subject (publication-design §8.1 default). A rejected batch writes no corpus rows, so no published version can carry a rejected batch's attestation and the preset needs no outcome check.
Why: Design doc/2026-11-09T07-20-00Z_design_atlas_id_publication/ §3 (one wasGeneratedBy hop from any version to its batch statement) + §2.4 (one attestation.claim per batch digest) + §8.1 default (embed verbatim, hash as subject). Checked against the code: the pure projection layer sees only SnapshotEvent { kind, subject, deps } (pkgs/id/crates/id-events/src/idset/project.rs), and tag-claim names/values live in event bodies the snapshot does not carry — so the preset cannot be a pure view until the claim shape exists. The shape lands first as BatchStatement in pkgs/atlas-search/crates/atlas-core/src/attestation.rs (branch xaltha/13766-attested-preset); the preset slice follows once the projector emits wasGeneratedBy claims (#11183).
Undo: A later PR changes the predicate in the preset slice, or the statement type if §8.1 settles differently.
By: lane xaltha dezren39 commented on Nov 23, 2026 Progress note — first slice landed as PR #13840 (Refs, does not close).
The attested-only preset could not be a pure view yet: the projection layer sees only SnapshotEvent { kind, subject, deps } and tag-claim names/values live in event bodies the snapshot does not carry — so this slice settles the prerequisite the issue names instead, the attestation-marked claim shape (publication-design §8.1): BatchStatement in pkgs/atlas-search/crates/atlas-core/src/attestation.rs, canonical bytes + envelope digest (sha256), DSSE envelope with empty signatures. Verified remotely: 8/8 attestation::tests pass (run https://github.com/developing-today/fleet/actions/runs/45284731868). The predicate decision is recorded in the decision comment above.
Next slice: the ingest_attestations registry table + gate emission points (#6045 §3–§4), then #11183's projector emits attestation.claim + atlas.wasGeneratedBy, after which the attested-only preset itself lands here. dezren39 commented on Nov 24, 2026 Triage verdict (oc-code-07, 2026-11-24)
Fresh state: open. First slice merged as PR #13840 (2026-11-24T00:13:46Z). It settles the prerequisite (the attestation-marked claim shape), not the preset itself. The attested-only consumer view preset is still not built.
Verdict: the remaining work is the preset itself, which depends on the attestation predicate from #13840. It is routed as a follow-on feature-slice packet. Tracked under #14158. dezren39 commented on Nov 25, 2026 Claimed by lane 2, 2026-11-25T07:05Z
Generated by Claude Code
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|