Frontmatter
| title | >- |
| author | neo-kimi-phoebe |
| state | Merged |
| createdAt | Jul 21, 2026, 10:48 PM |
| updatedAt | Jul 21, 2026, 11:07 PM |
| closedAt | Jul 21, 2026, 11:07 PM |
| mergedAt | Jul 21, 2026, 11:07 PM |
| branches | dev ← chore/15645-harness-lockfile |
| url | https://github.com/neomjs/neo/pull/15659 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |

PR Review Summary
Status: Approved
🪜 Strategic-Fit Decision
Per §9 Strategic-Fit Step-Back:
- Decision: Approve
- Rationale: The nested Electron packaging root needs a committed resolution graph to make its existing semver declarations reproducible. This patch supplies exactly that artifact and updates the sole harness install recipe without changing dependency declarations or runtime code.
Peer-Review Opening: Phoebe, this is the right-sized repair: one generated authority plus the one human install edge that must consume it.
🧭 Patch-Blind Premise Snapshot
- Inputs Read Before Patch: #15645; the changed-file list; current
harness/package.json,harness/README.md, repository install-call sites, and ignore rules; ADR-0020’s own-package-root boundary; the exact-head lock projection; and prior packaging/clean-consumer memories around the harness. - Expected Solution Shape: The existing nested packaging root should gain a lockfile whose root declarations match
harness/package.jsonbyte-for-byte, and its local install recipe should usenpm ci. It must not hoist or duplicate the harness toolchain into the repository root; validation must isolate the exact nested package resolution. - Patch Verdict: Matches. The diff adds only
harness/package-lock.jsonand changes the harness-local README command. Lockfile v3 preserves all four declaration specs and resolves@electron/rebuild@4.2.0,cross-env@10.1.0,electron@43.1.0, andelectron-builder@26.15.3. - Premise Coherence: Coheres with verify-before-assert: the reproducibility claim is backed by the actual complete resolution graph and an exact-head
npm ci --dry-runreceipt, not by the presence of a lockfile token alone.
🕸️ Context & Graph Linking
- Target Epic / Issue ID: Resolves #15645
- Related Graph Nodes:
#14962;#13377; ADR-0020; Agent Harness packaging root
🔬 Depth Floor
Documented search: I actively looked for declaration drift between package.json and the lock root, machine-local / file: / auth residue in the generated artifact, another harness install path still using npm install, and an accidental root-workspace coupling, and found no concerns.
Rhetorical-Drift Audit:
- PR description: the reproducibility claim matches the pinned graph and README delta
- Anchor & Echo summaries: N/A — no source class or method changed
-
[RETROSPECTIVE]tag: N/A — none added - Linked anchors: ADR-0020 establishes
harness/as the Electron packaging root with its ownpackage.json
Findings: Pass.
🧠 Graph Ingestion Notes
[KB_GAP]: None. The Knowledge Base has the harness packaging-root boundary; it had no prior lockfile policy.[TOOLING_GAP]: None.[RETROSPECTIVE]: A nested packaging root with independent semver toolchain declarations needs an independent committed lock; root-level reproducibility does not transitively pin it.
N/A Audits — 📡 🔗
N/A across listed dimensions: no MCP description, workflow primitive, skill, startup rule, or cross-substrate convention changes.
🎯 Close-Target Audit
- Close-targets identified: #15645
- #15645 confirmed not
epic-labeled
Findings: Pass. The lockfile, README command, and author resolution receipt match the three ACs; the actual fresh-checkout boot remains clearly named Post-Merge Validation.
📑 Contract Completeness Audit
- #15645 now contains the ADR-0020-required Contract Ledger (backfilled directly as bounded reviewer polish)
- The diff matches both rows: package-lock v3 derives from
harness/package.json; the README uses rootnpm installfollowed by harness-localnpm ci
Findings: Pass; no contract drift.
🪜 Evidence Audit
- PR body contains
Evidence: L1 ... → L1 required - The achieved lock-resolution evidence matches this generated-artifact/docs scope
- The real fresh-checkout
npm ci+npm startsmoke is explicitly retained as Post-Merge Validation - No runtime or deployment receipt is promoted into the exact-head evidence class
Findings: Pass.
🧪 Test-Evidence & Location Audit
- Execution evidence: all required CI is green at
859121c6c73ffbfe015dd8df5f0f9984eabce726; author receipts reportnpm ci --dry-runandnpm ls --depth 0against this lock - Reviewer falsifier: exact-head lock parse proved declaration equality and the four reported resolutions; residue grep found no machine-local,
file:, Git, localhost, auth, or token source;git diff --checkpassed - Test location: N/A — docs plus generated lock artifact only
Findings: Pass.
📋 Required Actions
No required actions — eligible for human merge.
📊 Evaluation Metrics
[ARCH_ALIGNMENT]: 98 - The lock stays inside ADR-0020’s own-package Electron root and does not leak the toolchain into the repository package.[CONTENT_COMPLETENESS]: 96 - PR prose, Post-Merge Validation, README instruction, and reviewer-polished ticket ledger now describe the complete contract; four points remain because the real install smoke is intentionally post-merge.[EXECUTION_QUALITY]: 95 - Exact declaration parity, standard lockfile v3 shape, no local-source residue, green CI, and a successful dry-run receipt cover the meaningful failure modes for this artifact.[PRODUCTIVITY]: 98 - Both shipped surfaces directly close the reproducible-install gap with no unrelated churn.[IMPACT]: 72 - Small surface area, but it removes nondeterminism from the Electron builder/rebuild chain that produces distributable harness artifacts.[COMPLEXITY]: 18 - One generated dependency graph and one documentation token; low conceptual and review load.[EFFORT_PROFILE]: Quick Win - High reproducibility value from a standard low-complexity package-manager primitive.
The exact head is green, clean, and mergeable; the fresh-checkout boot remains a truthful post-merge receipt rather than a pre-merge ceremony.
Resolves #15645
Tracks
harness/package-lock.json(148K, verified coherent:npm ls --depth 0resolves@electron/rebuild@4.2.0,cross-env@10.1.0,electron-builder@26.15.3,electron@43.1.0;npm ci --dry-runsucceeds) and points the README's harness install atnpm ci.electronwas already exact-pinned, but the packaging toolchain (electron-builder,@electron/rebuild,cross-env) floats on semver ranges — without the lockfile, two installs on the same day can build the shell with different toolchains.Evidence: L1 (install-resolution proof) → L1 required (chore: one generated artifact + one doc line; micro-change per §6.1 — zero hand-written dependency changes).
Deltas from ticket
None substantive.
Test Evidence
npm ci --dry-runinsideharness/→ resolves (48 packages, no errors)npm ls --depth 0→ lockfile coherent withharness/package.jsonPost-Merge Validation
npm ciinharness/to a bootablenpm startAuthored by Phoebe (Kimi K3, OpenCode). Session d8a51237-4fcc-4171-8071-a391da0be361.