feat: persist trustworthy-transition continuity v0.1 - #770
Conversation
LS multi-model PR review
Model executions
Confirmed findingsNo finding reached independent two-model confirmation. Candidate findingsNo structured candidate finding was produced. Incomplete lanes
Authority boundaryThis output is evidence for human review. It cannot approve or merge the PR, and a single-model finding remains a candidate rather than a gate decision. |
|
PR #766 is landed and this stack is now retargeted to @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 13b44574b9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Fresh Codex findings are addressed on exact head
Local replay remains local evidence only; continuity stays non-authorizing and does not claim to observe execution, issue authority, or verify response truth. @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fff5118cb1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Exact-head follow-up: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7dc14b9df8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Exact-head follow-up published at @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 90de52f1d9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Exact-head update: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b7c33e1332
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Exact-head follow-up published at @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b22fce39d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Exact-head follow-up published at @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0bf7ef8c4d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Exact head: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f3aab934b0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Please review exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2586d4ddc9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Please review exact head |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Implements LS #768 as a follow-up to the landed Continuity Store PR #766.
This PR adds a provider-neutral continuity adapter that persists exact trustworthy-transition record references and derives safe resume posture across pause, restart, retry, and context drift.
Landed base
PR #766 landed on
mainas9c7fc7c3c73ec0107615af3051e78639405301e7.This PR is retargeted to
mainand exact head71164c7bdf53d940d410e1120b5f858ac36598efmerges that landed base without rewriting history. The PR diff is again limited to seven transition-adapter files.Added
src/trustworthy-transition.tssrc/transition-demo.tstests/fixtures/trustworthy-transition-continuity-v0.1.jsontests/trustworthy-transition.test.tsdocs/TRUSTWORTHY_TRANSITION_CONTINUITY_V0_1.mddemo:transitionpackage scriptSnapshot model
Each transition snapshot is stored as an immutable
verification_receiptand binds:Resume postures
CONTINUE_SIDE_EFFECTRETRY_SIDE_EFFECTREPORT_ONLYREMEDIATE_RESPONSEREVALIDATEBLOCKEDALREADY_CONSUMEDSafety rules
VALIDcausal state requires an immutable causal-audit reference;UNKNOWNorNOT_EVALUATEDneeds a fresh causal record beforeVALID.VERIFIEDresponse-integrity state requires an immutable response-integrity reference.Snapshot-chain monotonicity
The chain assessment rejects:
previous_ref;VERIFIEDuse of a response ref already classifiedFAILEDorPARTIAL, even after an intervening successful recovery;FAILED/PARTIALnorVERIFIEDwith fresh evidence.OBSERVED_ERROREDtransition without fresh observation evidence;UNKNOWNorNOT_EVALUATEDusing absent or reused evidence.Reopening terminal authority requires a different authorization reference plus an explicit matching
reauthorization_ref.Validation
Local replay on exact tree
4179823cec7261b99877ee7ebb381e60cc8a8dcc:node dist/...;git diff --checkpassed.The
tsxCLI wrapper itself cannot open its IPC socket in this sandbox (EPERM); the same sources were executed through Node's loader. Hosted exact-head workflows are the authoritative wrapper replay.Review status
71164c7bdf53d940d410e1120b5f858ac36598ef.OBSERVED_BLOCKED → OBSERVED_ERROREDchain is blocked before side-effect retry, while an explicit new authorization epoch permits retry.FAILED → UNKNOWN → VERIFIEDsequence with fresh unique verification evidence recovers cleanly; a fresh return toFAILED/PARTIALpreserves remediation while an outstanding unknown recovery remains blocked.BLOCKED(auth A) → BLOCKED(auth B, reauth B) → ERRORED(auth B)sequence honors the prepared epoch; any later fresh blocked observation consumes that clearance and requires another epoch.NOT_OBSERVED → OBSERVED_ERROREDwith a reused observation andNOT_EVALUATED/UNKNOWN → VALIDwith a reused causal ref are rejected.VALIDauthority now requires a non-null immutable authorization record, including at creation and stored verification.OBSERVED_ERROREDsnapshot, including the first, requires observation evidence; later entry still requires a fresh observation.VALIDpermission.VALIDcausal andVERIFIEDresponse states require non-null immutable evidence at creation and stored verification.FAILEDorPARTIALremain permanently ineligible for laterVERIFIED, includingFAILED(A) → VERIFIED(C) → VERIFIED(A).Boundary
LS persists continuity and derives continuation posture only. It does not issue authorization, observe execution, verify response claims, or decide causal validity.
Merge gate
Keep this PR draft. Do not merge until:
71164c7bdf53d940d410e1120b5f858ac36598ef;Relates to #768 and safal207/Liminal#108.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation