Skip to content

harden(dev-harness): live-session V1 contract, evidence-v1 freeze, and strict pending contracts - #14310

Merged
Git-on-my-level merged 9 commits into
mainfrom
task/msd-spine-a-live-session
Sep 17, 2026
Merged

Git-on-my-level merged 9 commits into
mainfrom
task/msd-spine-a-live-session

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

What changed and why

Revise V1 from the Harness builder review: separate broker startup from cold app readiness, identify live processes outside the service manifest, specify real-stack seed readiness, and strengthen RPC, lifecycle, worktree and attachment contracts. State the shared ratchet rule: only adopted files and new files are constrained. No runtime feature is implemented.

The reviewer is correct on deadlines, lifecycle ordering and acceptance holes. Two wire claims are incorrect: Flutter 3.44.5 emits app.start before runOrAttach; custom developer extensions return their own map directly. The local SDK and a loopback Dart VM probe establish these expectations. The stale fault.arm/clear fixture claim was already fixed in turn 4. Fake navigate now matches production's {ok:true} response.

Product invariants affected

none

How it was verified

Turn 5 verification artifacts: .local/t5-v1-app.log, .local/t5-v1-harness-final.log, .local/t5-v1-spine.log, .local/t5-v1-preflight.log. UTC app: 2020 passed. Harness: 291 passed, 7 skipped, 44 strict xfailed. Spine: 28 pending markers / 8 protected files. Final fixture identity follow-up: harness still 291/7/44 and preflight 16; .local/t5-v1-harness-identity.log and .local/t5-v1-preflight-identity.log. Preflight: 16 passed. Deliberate malformed Dart contract: exit 1 at load, no pending acceptance (.local/t5-pending-compile-error.log). Loopback-only custom-extension probe: .local/t5-extension-probe.log. Hermetic fast journeys: 20 executed / 20 passed; receipt .local/t5-v1-journeys/verify-receipt.json. No simulator, production access, real broker implementation, or latency measurement. Cross-field validation remains a pending builder requirement, explicitly normative; schema validation alone is insufficient.

Tests

Reviewed protected revisions require actual readiness/fault RPCs, distinct failure reasons, services before device teardown, same-worktree exclusion, seed identity, process termination/death confirmation, startup deadline budget and broker contact before verify refusal. Existing V8 freeze and mechanism tests remain active. Pending contracts intentionally fail on unimplemented skeletons.

Failure class (fixes)

Failure-Class: none

Review risks:

  1. Native process-group identity and death probing still need real host acceptance.
  2. Source/restart-input hashing must include all relevant untracked build inputs.
  3. A 900-second cold-start allowance is bounded but has not been measured across Android and physical targets.

Part of the mobile self-driving program (Spine A). Designed by Codex gpt-6-astra; revised after a buildability review by the lane that will build on it.

🤖 Generated with Claude Code

Git-on-my-level and others added 3 commits September 17, 2026 13:42
Add strict Python/Dart pending contracts and introducing-commit protection.
Reserve the live-session CLI, wire, ownership/attachment seams and failing
builder acceptance tests. Add live attribution before freezing evidence v1.

Verification:
- bash scripts/dev-harness/run-tests.sh: 287 passed, 7 existing skips,
  40 strict xfailed (24 pending V1 markers), Python 3.11.15.
- make preflight: 16 checks passed, using supported PYTHON selection.
- make mobile-verify fast --paths harness/session contract inputs with an
  absolute evidence directory: 20 executed, 20 passed, no failures/skips.
- bash app/test.sh: 2014 passed, 5 skipped, one unchanged UTC+7
  search_rank_grouping_test failure; affected baseline inputs match main.
- Real module CLI refusals exit 2 without traceback; regression covered.
- Dart SDK probe proves ext. prefix required; marker-removal formatter
  probe proves no incidental Dart diff.

Runtime is intentionally unimplemented. App UI must repair current invalid
VM extension names before live acceptance; unsupported journeys block.
Simulator/emulator latency and detached-process acceptance remain V1 work.
make setup installed hooks but full backend wheel sync stalled; isolated
Python 3.11 harness dependencies ran the owner checks without any skip flag.

Failure-Class: none
The check protects files under the spine roots and their registry, so it only
needs to run when those change. A repo-wide trigger would run it, and its
full-history requirement, on every unrelated contributor PR.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
V1 must refuse live journey execution until a shared executable adapter exists;
B1 addressability alone cannot attach Dart integration tests. Pure admission
contracts remain valid with injected supported IDs.

Verification: harness 287 passed, 7 skipped, 40 strict xfailed;
make preflight passed 20 checks.
…lities

Coordinator turn-4 review authorizes the V1 fixture correction. Exact before/after digests pin the revised oracle; immutable revision records do not permit builder assertion edits. Active tests reject missing/tampered records and prove the fake machine response. Verification: full harness 289 passed, 7 skipped, 40 strict xfailed; UTC app 2020 passed; spine 24 pending/7 protected; make preflight 16 passed. No live device acceptance claimed.
Track retained marker occurrences rather than counts so retiring a second test cannot restore the first test's retired marker. The active regression covers this swap and legitimate continued retirement. Verification: full harness 290 passed, 7 skipped, 40 strict xfailed; spine 24 pending/7 protected; make preflight 16 passed. Dart sources unchanged after the earlier UTC app 2020-pass run.
…rges

A squash can introduce a corrected contract and its review records in the same commit. Absorb only the revision prefix ending at that introducing file's exact digest, preserving immutable records and later marker-only edits. Active temp-repo regression covers multiple corrections in one squash and rejects restoring old or altered assertions. Verification: harness 291 passed, 7 skipped, 40 strict xfailed; B1 make preflight 20 passed; final B1 journeys 20/20. Dart unchanged after UTC app 41 opt-in and 2051 ordinary passed.
@Git-on-my-level
Git-on-my-level marked this pull request as ready for review September 17, 2026 16:37
@Git-on-my-level
Git-on-my-level merged commit b7c3186 into main Sep 17, 2026
39 checks passed
@Git-on-my-level
Git-on-my-level deleted the task/msd-spine-a-live-session branch September 17, 2026 17:06
Git-on-my-level added a commit that referenced this pull request Sep 18, 2026
Keep the current tree. This commit only makes the builder-review revision
reachable so the checker can resolve 003/004 after-digests that the #14310
squash omitted.
Git-on-my-level added a commit that referenced this pull request Sep 18, 2026
Keep the current tree. This commit only makes the builder-review revision
reachable so the checker can resolve 003/004 after-digests that the #14310
squash omitted.
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