Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4cd9a73
Implement O09 result-link inspection (runner.js)
andrewperis Nov 10, 2026
2b3f4c1
Implement O09 result-link inspection (runner.test.js)
andrewperis Nov 10, 2026
d3d572a
Implement O09 result-link inspection (resume-candidate.test.js)
andrewperis Nov 10, 2026
7173716
Implement O09 result-link inspection (local-file-store.test.js)
andrewperis Nov 10, 2026
5ad0668
Implement O09 result-link inspection (offline-orchestration-prototype…
andrewperis Nov 10, 2026
bcc6160
Fix O09 documentation section spacing
andrewperis Nov 10, 2026
e88d663
fix: reconcile complete O09 result chains
andrewperis Nov 10, 2026
2513d3c
test: cover O09 local result corruption
andrewperis Nov 10, 2026
2219e6b
test: cover O09 retry-chain corruption
andrewperis Nov 10, 2026
f23476e
fix: fail closed on unlinked O09 records
andrewperis Nov 10, 2026
3fa2c15
fix: write canonical O09 event fixtures
andrewperis Nov 10, 2026
d03a28e
fix: write canonical O09 retry fixtures
andrewperis Nov 10, 2026
b1bcba5
test: verify O09 closed-stop diagnostics
andrewperis Nov 10, 2026
38c490b
docs: clarify O09 reconciliation limits
andrewperis Nov 10, 2026
f03f4f2
test: cover malformed O09 production links
andrewperis Nov 10, 2026
4b4ff78
test: cover reopened no-result stop links
andrewperis Nov 10, 2026
9fab76a
fix: verify closed stop and retry window links
andrewperis Nov 10, 2026
b2a1f79
fix: preserve canonical in-process retry chains
andrewperis Nov 10, 2026
268628c
test: clone local recovery fixtures before mutation
andrewperis Nov 10, 2026
94f6539
test: clone retry logs before corruption
andrewperis Nov 10, 2026
190a31b
test: assert safe resultless recovery statuses
andrewperis Nov 10, 2026
d2a3f71
Validate contradictory and job-scoped retry stops
andrewperis Nov 10, 2026
6bd743f
Keep retry stop diagnostic in inspection scope
andrewperis Nov 10, 2026
ab15448
Test contradictory stops and retry budget expiry
andrewperis Nov 10, 2026
4ee9006
Assert valid reopened retry remains terminal
andrewperis Nov 10, 2026
c70b57c
Validate budget stop event ordering and closure
andrewperis Nov 10, 2026
ac8b92b
Cover stop corruption and deadline-observed results
andrewperis Nov 10, 2026
7b0d5c9
Reject competing stops after retry budget closure
andrewperis Nov 10, 2026
7f2fe4a
Verify deadline stop ordering for resultless flows
andrewperis Nov 10, 2026
5698392
Test reopened initial and retry deadline stops
andrewperis Nov 10, 2026
7395256
Fail closed on unfinished retry mappings
andrewperis Nov 10, 2026
b2af35f
Cover unfinished orphan mapping guard
andrewperis Nov 10, 2026
52e42fb
Align close-append inspection with fail-closed state
andrewperis Nov 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 43 additions & 2 deletions docs/offline-orchestration-prototype.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,5 +355,46 @@ O07 receive bounded prerequisite passes only for the synthetic path described
in the [durable-resume decision packet](o08-durable-resume-decision-packet.md);
their Studio issues remain open and no broader production readiness is implied.
O08 receives a scoped pass for its accepted synthetic, no-context,
local-filesystem behavior, while issue #109 remains open and O09 remains
separately gated.
local-filesystem behavior, while issue #109 remains open. The bounded O09
result-link inspection slice and its remaining limits are recorded below; this
does not close Studio issue #110 or claim broader acceptance.

## O09 result-link inspection slice (2026-11-10)

The opt-in local-file-store inspection validates the canonical result lifecycle
links for every result-bearing attempt before classifying recovery. Each chain
must contain one matching `prepared`, `dispatch-started`, `provider-outcome`,
`result-prepared`, `persisting`, and `terminal` event. Their job, attempt,
execution, result ID, status, byte size, and digest references must agree, and
the events must occur in order. A retry's prepared event must follow the prior
attempt's terminal and its unique resume-window; the window must refer to the
prior terminal result and match its recorded retry delay and deadline. Unmatched
or interleaved attempt records, missing or duplicate windows, and contradictory
links fail closed.

The result and provider-outcome bytes are canonical and match their lifecycle
references. The result must link to the admitted synthetic production. Version
1.0.0 results also pass output compatibility checks against that production;
version 1.1.0 is accepted only for the pinned no-output eligible rate-limit
mapping. Every output artifact URI, byte size, and digest must resolve to the
matching local bytes. When no result chain exists, inspection validates the
single attempt's lifecycle and explicit stop markers before reporting a
closed-without-result state. A final resultless retry can follow a verified
chain only when its stop is explicit and consistently linked. Inspection
performs no writes or provider calls.

The public `inspectRecovery()` projection contains only fixed allowlisted
status, stage, and code values with boolean fields. It never returns job,
attempt, execution, result, or artifact identifiers; lifecycle event names;
local paths; hashes; protected content; exception text; or fingerprints.
Result, outcome, and artifact bytes remain in the caller-owned private local
store.

Coverage is limited to the pinned synthetic no-context local path, including
successful and no-output rate-limit results, reopened inspection, retry and
reopen, and corruption cases for orphan/interleaved attempts, malformed
production links, inconsistent result outcomes, resume-window links, and
schema-valid output compatibility tampering. This does not authenticate
same-account edits to the local store, establish power-loss durability or
support for other filesystems, add providers or infrastructure, use production
data, or close Studio issue #110.
Loading
Loading