Repository navigation
Description
Parents and dependency direction
#1339 next advisory release; feeds #816 candidate qualification. Related #327/#811 and #1071.
This is the pre-publication candidate rehearsal, not completion of #811/#1059–#1061. Those issues retain their richer released-adoption contracts after #817. Do not add #811 or #817 as a prerequisite here: that would make the same release depend on already being published.
Prepare the harness now in a file-disjoint test lane. Execute final qualification only after the selected onboarding fixes and candidate installer are merged and #1339's exact candidate archive exists. Existing init/enable/setup-ci owners remain authoritative; do not open replacement implementations.
One-PR outcome
A bounded integration harness installs the exact non-publishing candidate archive and drives the actual current CLI, not renderer helpers alone, through a fresh advisory setup, replay, conflict refusal and rollback. The harness is reusable after publication by #811; it must label candidate versus public distribution honestly.
Scope
- Record candidate commit/tree, archive/checksum/binary digest, Action/harness/config/tool versions, environment and exact input repository.
- Use a clean supported Linux x86_64 environment with no host Cargo for installing UB Review and generating configuration. Any Rust toolchain later needed to test the reviewed repository is a distinct declared prerequisite, not an installer fallback.
- Invoke the production release resolver against an inert local/controlled release-metadata adapter serving the frozen candidate bytes. Receipt this as
candidate_rehearsal, never as a GitHub-published release. Do not useinstall-mode=pathor unpack a workspace binary as substitute for resolver proof. - Exercise
init,enable --inspect, advisory generation,audit-ci, andsetup-ci --print-pron a conventional Rust workspace and a mixed-language/native-risk fixture using only currently implemented command contracts. - Inspect independently parsed generated TOML/YAML and exact filesystem changes. Existing CI/config/source files must remain unchanged except for the explicitly selected output set.
- Freeze regression coverage for existing leaves: admitted Rust-file scanning (init(inspect): detect unsafe/native markers throughout the admitted Rust file set #1318/fix(onboarding): inspect unsafe markers across admitted Rust files #1319), literal shell paths (init(guide): make generated commands preserve paths containing spaces #1320/fix(init): preserve literal paths in generated POSIX commands #1321), SHA validation before output (setup-ci: validate preview action SHA before migration output #1324/fix(setup-ci): validate preview SHA before migration output #1325), unusable/aliased guide destinations (init: preflight unusable guide destinations before replacing config #1326/init: reject an existing guide symlink that resolves to config #1328/fix(init): reject unusable and aliased guide destinations before output #1327), directory config before workflow output (enable: reject a directory config destination before writing workflow #1329/fix(enable): reject directory config before workflow output #1330), and neutral-name existing UB Review workflow (enable: detect an existing UB Review action in a neutral workflow filename #1331). fix(setup-ci): report existing config load errors before migration #1323 is already merged; retain its existing-config-read failure control.
- Prove generated examples stay non-blocking, fork-safe, immutable-ref pinned and model-off capable. No secret values,
pull_request_targetexecution of untrusted code, branch-protection mutation or deletion of pre-existing CI. - Replay the same operation to prove refusal/idempotence as applicable, then restore only harness-owned generated state. Rehearse previous supported binary/config/workflow -> candidate -> exact prior state with compatible inputs; preserve incompatible configuration as an explicit failure.
Acceptance
- The executable is the selected archive, proven by digest and version; invoking a similarly named PATH/workspace binary fails the harness.
- No Cargo/rustc/source compilation is used to install UB Review or generate setup; instrumentation would detect forbidden fallback.
- Both fresh repository shapes produce valid, understandable advisory files without Bun/maintainer-specific defaults.
- Each selected refusal is tested through the actual CLI twice with original bytes/path inventory preserved and actionable errors.
- Generated commands preserve spaces and shell metacharacters as literal paths; inert fixtures perform no network/credential action.
- Existing CI is preserved and the generated mode cannot silently acquire Required authority.
- Replay and rollback restore exact owned state and do not remove unrelated files.
- A versioned bounded receipt records every positive/negative scenario, actual outcome, archive identity and unsupported boundary; omitted/failed scenarios cannot become pass.
- The same harness has a separate public-release mode for M6: prove fresh-repo adoption, upgrade, and rollback from a released binary #811 after M3e: authorize, publish, and verify the exact next release #817, without relabelling the candidate run.
Proof and closeout
Tests first, demonstrate meaningful regression failure, then focused CLI/onboarding/installer tests, fmt/check/test/Clippy/docs/policy/verifier and exact-head hosted checks. Retain the final candidate rehearsal packet for #816. A merged harness is not an executed candidate proof.
Non-goals / rollback
No new onboarding architecture, RepositoryContract/SharedRunPlan/GateDecisionSummary dependency, provider calls, real GitHub posting, package publication, broad platform support, source-only review service, or branch-protection change. Disable the rehearsal on failure while retaining receipts; fix the existing owning leaf and rerun against fresh candidate identities.
2026-10-23 UTC final-byte continuation: installer identity and generated identity are separate
Existing PR#1382 remains the harness owner, now Draft 26402b044a57745ee4168b27e62329b041fa391b; its preliminary41-command/17-scenario checkpoint is reusable within its stated byte/provenance limits. Fresh metadata shows required run 38125204337 terminal failure and independent baseline 38125202025 success at that head. This is neither an uninspected-row diagnosis nor permission to repeat unchanged qualification.
Current source audit at main ac06293dd0871531c1826e4a3266c8dc537cf4f6 identifies the exact final-campaign boundaries:
| Surface | Actual source behavior | What the existing final-byte campaign must establish |
|---|---|---|
enable --action-sha |
select_install_strategy chooses an installable latest release before considering the supplied SHA. The SHA permits source fallback; it is not an override selecting a new source candidate. | The documented command and controlled candidate metadata identify the intended bytes. Do not label a fallback SHA as an immutable release selector or claim fresh generator behavior reached by a historical public archive. |
| Generated release workflow | Release strategy renders uses: ...@<tag> plus matching release-version and strict release mode; lookup initially recognizes a v-digit tag and expected archive/checksum names. |
Independently inspect generated YAML and record Action commit, release tag/asset identities and archive/executable digests. Metadata-name recognition alone is not immutable Action identity or byte acceptance. The issue's immutable-ref requirement remains unresolved until the actual selected supported flow proves it. |
Action install-mode=auto |
action.yml accepts an ambient command -v ub-review before release resolution. Explicit release does not take that branch. |
Final archive/public proof uses strict release mode and records the actual executable path/hash. A similarly named ambient/workspace executable cannot substitute for the selected archive. Preserve auto's declared compatibility semantics rather than silently using it as release-only proof. |
No new selector feature is prescribed by this audit. The existing onboarding/source owners must return one concrete supported flow satisfying the selected product requirements, or retain an exact unmet criterion before freeze. Do not expand the tests-only archive lane into an uncoordinated generator rewrite.
Additional final-campaign acceptance
-
A production CLI command-sequence receipt records which generator executable/archive produced the files and which Action/source/release identities those files will execute; those identities cannot be collapsed into one version string.
-
Controlled candidate metadata is labeled candidate_rehearsal; live installed public resolution is separately repeated after M3e: authorize, publish, and verify the exact next release #817 under adoption(release): verify the published advisory install, upgrade, and rollback on clean fixtures #1346.
-
Release-available plus explicit fallback-SHA and release-unavailable plus explicit fallback-SHA cases record their actual strategy. Any source fallback is rejected by release-only acceptance, even if generation itself succeeds.
-
Generated posture/fork behavior/immutable Action pin/model-off controls are parsed from actual selected output and exercised where claimed. Existing current generator limitations remain failures/NOT_PROVEN, not inferred passes from advisory wording or successful file creation.
-
Restore only harness-owned state; preserve every selected unavailable/failed case and the original retained analyzer corpus.
This strengthens existing #1340 acceptance without creating another onboarding harness or making #817/#1346 a prerequisite of the same candidate rehearsal. #1071 retains platform/no-host-Cargo portability, #1342 active guidance, #1066–#1068 analyzer selection/install/behavior, and #816 final freeze.
First-hour investigation acceptance — 2026-10-26
Current-source first-hour controls to carry into candidate-archive acceptance
The 2026-10-26 investigation at main 988dc48 found three bounded current-source defects: #1555 doctor/plan omit already-recorded semantic-policy errors; #1556 init advertises custom but writes no profiles.custom and the generated config later policy-fails; #1557 doctor has an unbounded synchronous version probe. Each has an actual CLI control and explicit local-source limits.
Extend the existing #1382 archive matrix, after those source fixes are selected, with the same valid/invalid config preflight, all accepted init profiles (including auto/custom contract), and deterministic slow-version child controls. Record actual installed archive/executable identity and exact output/exit/cleanup outcomes. Retain successful gh-runner generation and overwrite-refusal controls. Current source-built success and preliminary #1382 bytes cannot substitute for that rerun.
README init→enable conflict was repeated on current main (init exit 0; enable exit 1 already exists; --force). The repair remains owned by #1354/#1388; this update does not create another writer or ask the archive harness to fix the generator. Release-only/no-host-Cargo/public adoption remain with #1071/#1346.
Activity
EffortlessSteven commentedon Oct 10, 2026
The current first-run audit is recorded under #1342. Please include an actual command-sequence test, not only independently successful generator tests: the README currently runs init before enable --inspect, but init creates the config that enable then correctly refuses without --force. Preserve the overwrite guard; define an explicit alternative or preserve-existing-config flow rather than recommending blanket force.
Also assert the current meaning of --inspect: it performs repository-aware generation and writes workflow/config, not a read-only preview. The chosen documented first-run path must state those writes and produce advisory/model-off behavior through supported controls. No hypothetical --model off flag: current cmd_enable accepts only minimax. Existing #1318/#1320/#1324/#1326/#1328/#1329/#1331 regression owners remain unchanged.
Source read was main7453db0a4f1976b4a6b5481da06e4cfd0837b902 on2026-10-10. This is source-backed test planning; no new CLI execution or candidate-byte acceptance is claimed.
EffortlessSteven commentedon Oct 11, 2026
Reserving a bounded file-disjoint first archive rehearsal from main 5a72634: new tests/archive_onboarding.rs and docs/ARCHIVE_ONBOARDING_REHEARSAL.md only. Actual Action release resolver, frozen preliminary local archive/checksum, inert download/metadata adapter, Linux x86_64 no-Cargo setup, two repository shapes, substitution/fallback negatives and owned-state rollback. No README/tests/onboarding_readme.rs, tests/cli.rs, Cargo/action/help/runtime/workflow/verifier edits; preserve #1354/#1356/#1357 and #1306/#1317/#1347/#1380 owners. Final selected #816 archive and release acceptance remain pending; draft only, no publication/merge/protection changes.
EffortlessSteven commentedon Oct 11, 2026
The reserved first archive-backed slice is now draft #1382, exact head74ebddae10ac0b995b47938cc9228816b90b3476. Evidence checkpoint: real Action strict release resolver + frozen preliminary local archive executable, 41 commands/17 bounded scenarios passing on Rust workspace and mixed native-risk fixture, no Cargo/fallback/substitution, exact harness-owned cleanup/preservation. Local seven-check baseline and hosted independent baseline pass; exact-head Luna review has no blocker; required gate still running. No active owner file overlap or production changes. Final #816 candidate/public/upgrade/full regression/workflow/provider acceptance remains pending, including current generator's mutable tag/model-on/posting/fork-scope boundaries. Keep #1340 open; this is not final archive qualification.
EffortlessSteven commentedon Nov 20, 2026
2026-11-20 candidate-byte custody check
The preliminary harness landed in #1382 at
681def59d005d3b0b922f23832d73e52c46a84d5. It is present on observed main1e59e67bdb098aa0c8f9d6736b88eb8484dab7c4(tree4fcdc741d562f3fb10b0ea919ddec7609f7b3322). The related neutral-workflow refusal still has an open owner in #1659.9b0515bb2b27d727746fbe4a750fa50898bbdefeartifacts13473250166and13473325065each returned GitHub API 404. The earlier preliminary packet path was also absent in this workspace. Theretained_untilepoch1795142329in the historical #816 readback converts to 2026-11-20 02:38:49 UTC. The receipt text's December date is a conversion error. These observations establish unavailability through the checked routes. A separately retained copy may still exist.phase=preliminary_local_archivebefore starting the resolver. Feeding it the packaging receipt as-is cannot exercise onboarding. Changing the receipt's phase would lose the distinction between preliminary and selected candidate evidence. This is an exact-source observation. No candidate CLI was executed.The next action stays with #816 and this harness lane. Make the selected archive, checksum and producer receipt available read-only from retained custody, or record a fresh non-publishing package identity through the existing producer. For the earlier candidate, the recorded archive SHA-256 is
de7d4c303fa46c28373761de2fdff63ef10c004124cb9c88095ac39de3d41dfdand executable SHA-256 is8cc1ad60f01e24882260e4b5b73bb4578d473e45e706ed79c11cd0fe754718ae. Then bind the producer receipt to the landed harness with an explicit candidate-phase input and run strict release resolution and its host-tool substitution controls against those same verified bytes. #1340 remains unproven for final candidate onboarding.EffortlessSteven commentedon Nov 20, 2026
Candidate receipt intake contract and offline resolver proof
This is a follow-up for the original #1382 harness lane. The merged harness is still on main
1e59e67bdb098aa0c8f9d6736b88eb8484dab7c4(tree4fcdc741d562f3fb10b0ea919ddec7609f7b3322). I found no open replacement harness PR or custody transfer.The current non-publishing package job actually emits
authorized-release-packet.jsonwith schemaub-review.authorized_release.v1. The olderub-review.release_candidate.v1name is legacy. The packet has archive and checksum digests and lengths, and has no executable digest field. Its filename and verifier string do not confer release authorization. Current producer Existing parser and producer identity rulesBounded successor contract. Keep the preliminary manifest entry point. Add an explicit candidate entry point that reads the original producer packet and binds the raw packet digest and fields to independently retained source/artifact metadata. Compare repository, commit/tree, workflow/ref, run/attempt, artifact ID/name and retention horizon before resolver invocation. Bind fixed asset names, byte lengths/digests, tag/version and target. Derive the single executable member's digest from the verified archive and compare it with the extracted executable before running onboarding. Reuse the landed Action extraction, inert transport, private PATH and executable-identity checks. Record both candidate source and harness/Action identity, as those revisions may differ. This is an onboarding intake and does not invoke publication authorization or infer unused-tag status. Keep a synthetic fixture receipt explicitly labeled as synthetic.
Offline verification. A disposable prototype used a deterministic tar.gz containing a version-only shell fixture, the producer's
dist/checksum format and a receipt whose field set matched the live workflow. It ran the verbatim current Action resolver with #1382's adapter. All controls passed:Action SHA-256
328d216a412f47b15227302a33f9861e04742652e9aa6c983bf15a33520ee11d. Synthetic archivecad07fbf591957a4a0bde88e3a43154a0f69b60b06fea931bd38a5a125c6fc22, checksum17d73f708f720b3f2f6cf1ca03b6c869a3569fd7f7ad0c097e88b9ed8d6bf686, executable3763ddbca921a07b191903e17c32d96217f5cd83673e0996f56ef3deadaa37e0, producer-shaped receipt13f98d078ec70ad8278be251cb9c9cb920a72580e042b5dba8689a92a4fdadfa. The prototype is disposable. No Rust harness change, build of UB Review, package workflow, upload or candidate onboarding was performed. The existing owner can implement and automate this contract independently of access to #816 bytes. The final onboarding run still requires those exact bytes.EffortlessSteven commentedon Nov 20, 2026
Docs correction for the local
setup-ci --print-prpath. In the CI audit guide’s output table, replace “four PR files when--action-shais supplied” with “four PR files when--print-princludes at least one eligible--accept <job>=<command>and a 40-hex--action-sha.”The candidate source writes and prints
ci-audit/migration-plan.mdafter validating the audit inputs. With no accepted job, it skips the preview-file writer even when a SHA is supplied. Current main has the same source blob (2afbc5fe8dbae446defa7a3bbe74cf58816a0b9d). The landed onboarding harness passes neither option and checks command success. Its audit-preview scenario therefore supplies no evidence that the four PR files were rendered.The historical #816 readback binds this candidate to the inner archive and matching checksum. The packaging run’s artifact listing currently returns zero artifacts. This is a source comparison only. The documentation delta can go through the ordinary local hooks and review. Candidate behavior remains open until #816 supplies the exact archive, checksum and producer packet to the candidate-capable harness and the owner records the actual outputs.
EffortlessSteven commentedon Nov 24, 2026
Exact-main offline intake control,
fda83bf6. A local executable prototype reuses the existing owner contract, this commit's Action shell and the landed inert transport adapter. Six controls passed, independently rerun on the exact inputs: strict archive install/version with two local GETs; rejection before resolver for independent head/tree/run-attempt mismatch and malformed/duplicate/misattributed receipt metadata; corrupt transport checksum refusal; and denial of unrelated PATH or same-version extracted binaries. Guard-removal controls separately exercised packet identity, executable digest and duplicate-key checks. Fixture code SHA-2566aee4a5b59baa350f134663700e697d85bf1c25cdef21f027d3581fd72e3dd24.This is synthetic fixture proof, not a Rust harness change or a verified #816 archive. Keep the preliminary path and #1659 separate. The existing #1382 harness lane can port the candidate-intake controls and then run full onboarding against independently retained archive/checksum/producer metadata from the exact non-publishing #816 build. No hosted runs, provider calls, publication authority or release selection resulted.
Rust handoff: the isolated test-only metadata slice is prepared against harness blob
dfe9793a, patch SHA-2567b4714c7111fb694fb222a2885968525b49494940e800f5a2addd957a64faf84. It applies cleanly and adds a focused test for digest, duplicate fields, independent source/attempt identity, schema and retention. It does not wire candidate bytes into the preliminary campaign or touch #1659. Rust compilation has not run; the owner should runcargo test --locked --test archive_onboarding synthetic_candidate_receipt_requires_unambiguous_bytes_and_independent_identity -- --exactbefore claiming the Rust control. Archive/checksum and executable-member binding plus the real #816 rehearsal remain required.Authentic bytes still outstanding. The historical #816 digest receipt survives, but its retention epoch
1795142329is2026-11-20T02:38:49.000Z(November 19 in US Eastern), not the December date in the prose. Both historical packaging runs42027214303and42151472014currently list zero artifacts. A separately retained original may still be usable against those immutable digests. Otherwise, coordinate a fresh non-publishing #816 build only when the consumer is runnable, and capture both artifact identities and the inner archive/checksum/executable evidence immediately; the producer's artifacts are retained for 14 days.Offline byte-binding control: six synthetic tests separately verified the Actions ZIP wrapper digest, inner archive and checksum length/digest, the producer's one-line checksum format, the regular executable member, and installed exact bytes (including rejecting a same-version, same-length substitute). Control SHA-256
19c584fd5dfa3ae2050cbf9774b77236e17eab3ef67b20271e0fc5d39233cfa3. This was a Python fixture control; no candidate payload was extracted or executed. Owner path: share the existingxtask/release_bytes.rsinventory contract without inheriting publication admission, then bind the admitted member to the installed executable identity and compile/test the existing Rust intake slice. The historical package jobs succeeded and publish jobs skipped; both real candidate artifacts remain absent from the listed runs.An independent clean rerun reproduced all six byte-control passes at the same script digest. This remains synthetic fixture validation; Rust integration and the authentic #816 replay are still open.
Nov 24 exact local Rust receipt: the one-file
tests/archive_onboarding.rsprototype onfda83bf62b45a9b7db4e61945d31c2e83ba01e40was compiled. With a correctly hashed JSON array in place of object metadata, its focusedsynthetic_candidate_receipt_requires_unambiguous_bytes_and_independent_identitytest went red before the object guard and passed 1/1 with it (local patch SHA-25605f5f756b693c27c13f91c34d484e1e9a259c4328a5c4157c6f86e1014e73413). Running the fullarchive_onboardingtarget returned 5 pass, 1 ignored, and 1 failed at the readiness test withOperation not permitted; not claiming a full pass. The active Codex implementation is separate and still owns the joined archive-to-installed-executable check. This receipt is a synthetic structural negative, not authentic package intake or #816 qualification. No push, hosted rerun, or publication.Joined intake candidate: branch
codex/1340-offline-candidate-intake, Hcba25ab8dfeb4b85375c37cc2180528e1369090b, treef510a60fcd263270ab2829f5c7d68dee227cb17a, Bfda83bf62b45a9b7db4e61945d31c2e83ba01e40. Checks both Actions ZIPs against custody receipts, archive/checksum and installed image identity. The real resolver's initial--versionuses the archive-bound staged bytes; the harness checks installed bytes again before its own CLI rows. Synthetic inputs with mode omitted formerly passed ascandidate_rehearsal; now fail before receipt-directory/resolver creation. Explicitsynthetic_fixturepassed 17 scenarios/41 commands through the real local Action path; rewrapped ZIP and same-version different executable controls refused at their intended boundaries. Successor archive target: 8 passed/2 opt-in ignored; broader offline workspace 1,803 passed/4 ignored was measured before the small explicit-mode successor. Independent source reviewer reconstructed exact successor tree and cleared the mode issue, not a second native run. Branch push only; no PR or hosted run. #816 still needs genuine protected candidate artifacts; #1071 separately needs candidate-native OS evidence.