Skip to content

fix(registry): restore the runner bytes the execution manifests pin - #6

Merged
lusoris merged 1 commit into
mainfrom
fix/restore-manifest-bound-runners
Oct 23, 2026
Merged

lusoris merged 1 commit into
mainfrom
fix/restore-manifest-bound-runners

Conversation

@lusoris

@lusoris lusoris commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

The gosec change in #5 rewrote files that two frozen runners pin by digest. This puts both runners back to their pinned bytes.

What broke

  • tools/knowledge-registry/p1-src03-acquisition-runner: runner.go and store.go changed.
  • tools/knowledge-registry/source-acquisition-runner-v3: contract.go, plan.go, runner.go and store.go changed.
  • Both runners are implementation_frozen, and their embedded execution-manifest.json pins the sha256 and size of these files. verify_execution_manifest.py and TestExecutionManifestBindsExactRepositoryBytes check that binding.
  • The test did not catch it: it stopped earlier on registry schemas this repository does not hold yet.

Change

  • Both module directories return to the bytes before fix: handle the gosec findings without a baseline #5, together with the helper and test files that belonged to the rewrite.
  • Every repository file the two manifests pin matches its digest again: 7 of 7 in each module.
  • The gosec findings in these files (33 in the P1-SRC-03 runner, 35 in the v3 runner) are handled the same way as the P1-SRC-02 runner's: the adoption change declares them as dated per-file exceptions until the runners are frozen again with fixes.

Verification

  • Digest check of every pinned repository file against both manifests: 0 drift.
  • go test -count=1 ./...: the v3 runner passes; the P1-SRC-03 runner fails on the same 3 tests as before fix: handle the gosec findings without a baseline #5 (2 read registry data that this repository does not hold, 1 reads the canonical JSON vectors).
  • go build passes for both modules.

The gosec change rewrote runner.go and store.go of the P1-SRC-03
acquisition runner and contract.go, plan.go, runner.go and store.go of
the v3 runner. Both runners are implementation_frozen, and their
embedded execution-manifest.json files pin the sha256 and size of
these files, so the change broke the execution binding that
verify_execution_manifest.py and TestExecutionManifestBindsExactRepositoryBytes
check. The test did not show it because it stopped earlier on registry
schemas that this repository does not hold.

Both module directories are back to the bytes before the gosec
change, together with the helper and test files that belonged to the
rewrite. Every repository file the two manifests pin matches its
digest again (7 of 7 in each). Their gosec findings (33 and 35) are
handled by dated per-file exceptions, as for the P1-SRC-02 runner,
until the runners are frozen again with fixes.

Signed-off-by: lusoris <lusoris@proton.me>
@lusoris
lusoris merged commit 15ae623 into main Oct 23, 2026
2 checks passed
@lusoris lusoris mentioned this pull request Oct 23, 2026
5 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant