interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / ipl / reviews / 4658e80a-codex.md

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