Review of 4658e80a2ee0d004a86583691a2a0c463ea08bd6
Reviewer: omp consultant (consult-codex), model openai-codex/gpt-6-astra, as it stated. Read-only source review, nothing executed by the reviewer. Author: omp, anthropic/claude-fable-5-2. Verdict: MERGE_AFTER_FIX (for the trial implementation, not for publication or installation).
A second review of 9ed74e8f by the omp reviewer agent ran on anthropic/claude-fable-5-2, the
author's own provider, and said so itself: it does not count as the independent review. Its findings
(REJECT, with executed proofs under /tmp/ipl-review.6vUQY3) overlap the Codex ones; two were new and
are answered at the end.
Author's reply. "Gate" is tests/run.sh; case names are in its output.
Earlier findings the reviewer said were still open:
- Pending-ref recovery trusted the public key file. FIXED: before anything is changed for a caller
(landing, finishing, repairing) the key must sign a fresh message that verifies against owner.pub
(
prove_owner). Gate: pending-ref-not-for-mixed-pair, pending-ref-mixed-untouched. - Historical IMPORT replay, and "answers as the first time". FIXED: an import request is looked up before the present branch head is read; the contract now says a repeated request is answered with the project's present state. Gate: import-replay-after-landings, import-replay-added-nothing.
- Recovery claim wider than the code. FIXED and narrowed: sync failures stop the landing (exit 5); an empty chain file lets init start over; a torn last line is cut on the owner's next call; the contract lists exactly these five leftovers and says everything else is refused whole. The gate now stops a real landing at each write boundary (IPL_TEST_STOP, which can only end the program early) instead of only constructing the states. Gate: stop-after-stage/-record/-sig (seen, closed to others, not for another key, finished, result, catalog follows), init-stop-, torn-, empty-chain-init. ANSWERED, not fixed: a short write inside the chain program itself is simulated by appending a partial line; the chain program's own write path was not fault-injected.
- "reads the chain once" was wrong in my reply: verify reads it through the chain program and again with mapfile, both under the project's shared lock. The wording is withdrawn; the lock is what makes the two reads agree.
- Request cap. FIXED: the request id has no size chosen by this store. landrec's argument buffer is
131072 bytes, the most Linux allows one argument to be, and staging names come from a digest of the
request. Gate: rec-request-longest, rec-request-longest-whole, no-request-bad-byte-late. The first
attempt used a run-time pool; at this compiler pin
argreadrefuses a pool as its buffer (error 7), which is recorded in landrec.om and is a gap for the compiler lane. Name and branch stay at 128 because that is the chain format's subject field: an inherited cap in our own software, now described as such in CONTRACT.md, not as a boundary.
New findings:
F1. see 1 above.
F2. Annotated tag object as a head. FIXED: the object itself must be of type commit, when landing and
when verifying. Gate: no-tag-object, tag-added-nothing, tag-commit-control.
F3. see 7 above.
F4. heal changed files before authentication. FIXED: restoring a staged payload and cutting a torn
line happen only after prove_owner. Gate: staged-not-restored-for-other-key, staged-still-staged,
torn-not-cut-for-other-key, torn-still-there.
F5. see 3 above.
F6. Project id depended on an unsigned time. FIXED: the id is the digest of record 1's payload, which
is signed and now carries a random nonce. Gate: id-is-payload-digest, no-nonce-*. The contract says
plainly that times in a chain are not signed facts.
F7. Catalog stale after a landing; admitted what verify refuses. FIXED: every committed change rewrites
the project's catalog line and the catalog; the catalog and verify share one admission check.
Gate: stop-*-catalog-follows, no-linked-repository, catalog-leaves-out-linked, catalog-race-whole
(which caught a real race in my first version of this fix: two catalog runs shared one temporary
row file; rows are now written under the project lock with unique names, and the gate passed 6 of
6 runs afterwards).
F8. see 12 above.
Other points:
- "Unchanged" exits: ANSWERED in CONTRACT.md: unchanged means chain, records and branches; a refused landing may have copied objects that no branch points at. FETCH_HEAD is no longer written.
- Dependency versions: FIXED, the gate prints git, ssh, bash, coreutils and util-linux versions.
- Snapshot provenance: FIXED, PIN names the snapshot source digest, build.sh builds it and writes bin/BUILD.sha256, and the import refuses to run unless bin/ matches that file.
- Import completeness: FIXED, a project the old store cannot be asked about is a failure of the run.
- Receipts: see READY.json in the lane's handoff folder, named in the board line for this head.
- DESIGN line 57 "An Omega tool": ANSWERED in the status line and README: the record rules are Omega, the orchestration is shell and labelled unfinished migration.
- Git environment: FIXED, git runs under
env -iwith an explicit environment. Gate: env-not-inherited.
From the same-provider review of 9ed74e8f, not already covered:
- IPL_CHAIN / IPL_LANDREC let the rule programs be replaced. FIXED: removed; ipl uses only the two programs beside it, and the gate runs a copy of ipl beside the binaries it built.
- Two copies of DESIGN.md. FIXED: the handoff folder now holds a pointer to this repository's file.