Skip to content

id: P9.3b provenance records digests but no human-readable compiler version #1315

Closed

Description

@dezren39

Gap found by the Phase 9 validation audit (#1076, slice 2)

The Phase 9 plan (.opencode/plans/phase-9-portable-platform.md, P9.3b status) records: source builds attach server-observed compiler/platform/source digests, target, and stable arguments to the install event (PR #225), but "human-readable compiler version remains open".

Verified on current main (dd4ee06e lineage) during the #1076 audit: provenance is digest-based (install_program_with_provenance, ModuleProvenance in pkgs/id) with no human-readable compiler version string recorded in the install event / module info. An operator reading module info cannot tell which compiler version produced a module without resolving a digest out-of-band.

Acceptance criteria

  • The install event / module-info for a source build records a human-readable compiler version (e.g. the roc --version string of the compiler that built it) alongside the existing digests.
  • A test asserts the version string is present and survives restart/checkpoint (same path the digests already take).
  • Digests remain the trust-relevant fields; the version string is informational and labelled as such.

Found by: queue task 1257 slice 2 (validation audit of #1076). Related: #541 (F11.18 pinned compiler) is adjacent but distinct — it pins/rebuilds; this is about recording the version in provenance.

Activity

  1. added
    kind/featureNew feature or capability request
    priority/highImportant and time-sensitive
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    nowOrg Project gate: active priority — orchestrator adds to the board
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

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

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  4. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

    Evidence (current main a43e944, verified 2026-11-02)

    The gap this issue recorded against the Phase 9 audit no longer exists; an operator reading module provenance now sees the compiler's own version string next to its digest.

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

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/featureNew feature or capability requestnowOrg Project gate: active priority — orchestrator adds to the boardpriority/highImportant and time-sensitive

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions