Skip to content

Add se-trace recursive (RFC-0002 evidence chain walking) - #4

Merged
emmanuel-a-otchere merged 1 commit into
mainfrom
vibe/rfc0002-recursive-8eb746
Oct 31, 2026
Merged

emmanuel-a-otchere merged 1 commit into
mainfrom
vibe/rfc0002-recursive-8eb746

Conversation

@emmanuel-a-otchere

Copy link
Copy Markdown
Contributor

Summary

  • Add the se-trace recursive subcommand (RFC-0002): walks every evidence chain, prints the declared chain_termination policy (and max_levels for bounded recursion), and surfaces each model-generated evidence item with its claim and source. Clean chains report "all chains terminate at their declared sources"; a model-generated item under the terminal (or default) policy exits 1 with an explicit policy-violation message
  • Add the RFC-0002 types (SourceType, ChainTermination) to src/cots.ts
  • Two new end-to-end CLI tests; README updated

Verification

  • npx vitest run: 9/9 tests pass
  • npx tsc --noEmit: clean

…s (RFC-0002)

Co-authored-by: emmanuel-a-otchere <emmanuel-a-otchere@users.noreply.github.com>
@emmanuel-a-otchere
emmanuel-a-otchere marked this pull request as ready for review October 31, 2026 00:59
@emmanuel-a-otchere
emmanuel-a-otchere merged commit ab5a3ff into main Oct 31, 2026
1 check passed
@emmanuel-a-otchere
emmanuel-a-otchere deleted the vibe/rfc0002-recursive-8eb746 branch October 31, 2026 00:59
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.

2 participants