Repository navigation
Incorporate governed agents from internal research framing - #3
Merged
Merged
Conversation
Promotes the runtime to a dual binary + `chartered_runtime::Agent`
library surface so embedders, the dashboard, and the verification
harness share one execution path. Restraint becomes a first-class
outcome: `AgentOutcome::Quiet` is what a governed loop produces
when it observes and chooses not to externalize.
Spec adds §The Chartered Boundary: governance is a per-invocation
property, not a layer. The Runtime is the surface across which the
property is asserted; agents compose freely above and below it.
The Subagents section is rewritten to accommodate ungoverned
helpers alongside recursive Stewards. The dashboard mirrors the
internal-vs-external Tool distinction in the Receipts UI.
Adds the verification pipeline as runnable code:
- `examples/charters/synthetic-data` (generator)
- `examples/charters/gold-labeler` (oracle, blinded from generator)
- `examples/charters/same-context-baseline` (strawman the harness
contrasts against the separated Charter)
- `examples/scenarios/{smoke,m-and-a}/` seed corpora with
technique + failure-class tagging
- `runtime/src/scenario_suite.rs` + `--scenario-suite <dir>` CLI
for in-process per-config runs
- `scripts/compare-mode.sh` fans one corpus across four
governance configurations (naked / same-context-judge /
separated-judge / separated-grounded) and emits a side-by-side
summary
- `scripts/passive-mode.sh` + `run.sh --mode passive|both`
demonstrates the environment-embedded agent pattern; restraint
is the load-bearing behavioral property
Tooling: `ci-checks.sh` now runs `cargo clippy --all-targets` so
examples cannot rot. Replaces deprecated `examples/policies/`
directory; renames `findings.jsonl` to `records.jsonl` across the
demo plumbing for consistency with the dispatch crate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes the runtime to a dual binary +
chartered_runtime::Agentlibrary surface so embedders, the dashboard, and the verification harness share one execution path. Restraint becomes a first-class outcome:AgentOutcome::Quietis what a governed loop produces when it observes and chooses not to externalize.Spec adds §The Chartered Boundary: governance is a per-invocation property, not a layer. The Runtime is the surface across which the property is asserted; agents compose freely above and below it. The Subagents section is rewritten to accommodate ungoverned helpers alongside recursive Stewards. The dashboard mirrors the internal-vs-external Tool distinction in the Receipts UI.
Adds the verification pipeline as runnable code:
examples/charters/synthetic-data(generator)examples/charters/gold-labeler(oracle, blinded from generator)examples/charters/same-context-baseline(strawman the harness contrasts against the separated Charter)examples/scenarios/{smoke,m-and-a}/seed corpora with technique + failure-class taggingruntime/src/scenario_suite.rs+--scenario-suite <dir>CLI for in-process per-config runsscripts/compare-mode.shfans one corpus across four governance configurations (naked / same-context-judge / separated-judge / separated-grounded) and emits a side-by-side summaryscripts/passive-mode.sh+run.sh --mode passive|bothdemonstrates the environment-embedded agent pattern; restraint is the load-bearing behavioral propertyTooling:
ci-checks.shnow runscargo clippy --all-targetsso examples cannot rot. Replaces deprecatedexamples/policies/directory; renamesfindings.jsonltorecords.jsonlacross the demo plumbing for consistency with the dispatch crate.