Skip to content

feat(context): add evidence-aware execution and runtime contracts - #983

Merged
tcconnally merged 1 commit into
mainfrom
feat/perseus-979-982
Aug 17, 2026
Merged

feat(context): add evidence-aware execution and runtime contracts#983
tcconnally merged 1 commit into
mainfrom
feat/perseus-979-982

Conversation

@tcconnally

Copy link
Copy Markdown
Collaborator

Summary

This PR resolves the four linked context/runtime issues as one compatible contract wave:

  • Adds a canonical capability evidence matrix with claim ceilings and generated public surfaces.
  • Adds versioned resource-aware execution profiles with deterministic resolution, hard context limits, and degraded-plan diagnostics.
  • Adds a portable, digest-only runtime adapter seam with sanitized capability/request/result envelopes and an offline reference adapter.
  • Adds deterministic evidence/uncertainty/abstention projections to compiled context contracts.

The implementation remains provider-neutral: Vault remains the memory/retrieval authority, Ledger remains the evidence/provenance authority, and Perseus only consumes normalized references and commitments. No credentials, raw prompts, private memory bodies, inference engine, vendor accelerator, or neuromorphic implementation is introduced.

Verification

  • python3 scripts/build.py --check
  • python3 scripts/render_claims.py --check
  • ./.venv/bin/python -m pytest tests/ -q — 2464 passed, 6 skipped
  • git diff --cached --check

Linked issues

Closes #979
Closes #980
Closes #981
Closes #982

Implements the capability evidence matrix, resource-aware execution profiles, portable runtime adapter envelopes, and deterministic evidence/abstention projections.

Closes #979
Closes #980
Closes #981
Closes #982
@tcconnally
tcconnally merged commit c2afee9 into main Aug 17, 2026
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant