Skip to content

canon: rename audit-gate constraint + add substrate-options catalog#185

Closed
klappy wants to merge 1 commit into
mainfrom
claude/spawned-agent-substrate-canon-5593
Closed

canon: rename audit-gate constraint + add substrate-options catalog#185
klappy wants to merge 1 commit into
mainfrom
claude/spawned-agent-substrate-canon-5593

Conversation

@klappy
Copy link
Copy Markdown
Owner

@klappy klappy commented May 10, 2026

What this PR does

Renames the Tier-1 audit-gate constraint from vendor-specific (Anthropic Managed Agents) to abstract pattern (spawned-agent-session), and adds a sibling Tier-1 method doc cataloguing current substrate options.

Framed as delayed correction to the original PR #177 review, not retraction. The substantive arguments are unchanged; only the abstraction layer of the naming changes.

Files

  • canon/constraints/audit-gates-are-managed-agents.mdcanon/constraints/audit-gates-are-spawned-agent-sessions.md (rename + body rewrite, no supersession chain)
  • canon/methods/spawned-agent-session-substrate-options.md (new — Tier-1 method doc)

URI changes from klappy://canon/constraints/audit-gates-are-managed-agents to klappy://canon/constraints/audit-gates-are-spawned-agent-sessions.

Cross-reference inventory

git grep -n "audit-gates-are-managed-agents"

Expected matches after rename:

  • odd/ledger/2026-05-07-pr177-validation-review.md (historical, intentionally untouched)
  • §Naming History sections in the new docs themselves

Sibling docs flagged for follow-up (not in this PR scope)

  • canon/methods/governance-validation-via-agents.md — title and body use the proper noun ~6 times
  • canon/constraints/release-validation-gate.md — references managed-agents skill operationally (still valid as operational reference)

Substrate-options method doc highlights

Catalog characterizes three substrates with billing dimensions and worked cost examples (Anthropic Managed Agents — token + session-hour; Cloudflare Sandboxes — vCPU-second + memory + disk + egress; self-hosted — operator-defined). Includes §Mixing Tools Across Vendors articulating the cost-optimal pattern (Anthropic model + Anthropic Claude Code harness + Cloudflare Sandbox substrate) and §Subscription Inclusion Lever (Claude Code via CLAUDE_CODE_OAUTH_TOKEN against Max plan headlines ~70% reduction vs Managed Agents at 100 audits/day).

Forward references

This PR's docs reference URIs that land in subsequent PRs:

  • klappy://canon/methods/persona-shaped-agent-runtime — PR D (forthcoming)
  • ams://canon/constraints/canon-code-sync-via-spawned-agent-session — PR B (forthcoming, depends on this PR merging)

Confidence

Working belief. Substrate cost characterizations are grounded in vendor documentation as of 2026-05-10. Catalog framing is pre-production reasoning; expect tuning when the first deployment ships.


Note

Low Risk
Low risk: canon documentation-only change that renames/clarifies a governance constraint and adds a new method doc; no runtime code or enforcement logic is modified.

Overview
Reframes the Tier-1 audit-gate constraint from a vendor-specific requirement (Anthropic Managed Agents) to the vendor-agnostic concept of a spawned agent session, updating the URI/title/tags and tightening language around substrate-independence and the required session properties.

Adds a new Tier-1 method, klappy://canon/methods/spawned-agent-session-substrate-options, cataloguing current substrate/harness options (Managed Agents, Cloudflare Sandboxes, self-hosted) and comparing billing dimensions/cost shapes, including guidance on mixed-vendor deployments and subscription-vs-API inference tradeoffs.

Reviewed by Cursor Bugbot for commit ef8ae38. Bugbot is set up for automated code reviews on this repo. Configure here.

… pattern; add substrate-options method doc

Renames Tier-1 audit-gate constraint from vendor-specific (Anthropic Managed Agents) to abstract pattern (spawned-agent-session). Treated as delayed correction to original PR #177 review, not retraction.

Adds sibling Tier-1 method doc cataloguing substrate options: Anthropic Managed Agents, Cloudflare Sandboxes, self-hosted. Includes mixing-tools-across-vendors framing and the Subscription Inclusion Lever (Claude Code via CLAUDE_CODE_OAUTH_TOKEN against Max plan).

Cross-reference inventory: only ledger and writings reference old URI by string, both historical/operational and intentionally untouched.

Sibling rename for governance-validation-via-agents.md is flagged for follow-up scope decision; not in this PR.

Refs: klappy://canon/methods/persona-shaped-agent-runtime (forthcoming), ams://canon/constraints/canon-code-sync-via-spawned-agent-session (forthcoming PR B)
@github-actions
Copy link
Copy Markdown

Canon Quality — oddkit_audit

No dead klappy:// references or legacy link patterns found in writings/. 39 files scanned.

Spec: klappy://docs/oddkit/specs/oddkit-audit · Workflow: .github/workflows/canon-quality.yml · Run: #78

@klappy
Copy link
Copy Markdown
Owner Author

klappy commented May 10, 2026

Superseded by #184, which has now merged.

PR #184 carried the same constraint rename + substrate-options method doc, plus a Cursor Bugbot prior-art section added during review. The diff between current main and this PR's head is exactly the absence of that Bugbot section (22 lines, one file).

$ git diff origin/main..pr185 --stat
 .../spawned-agent-session-substrate-options.md | 22 ----------------------
 1 file changed, 22 deletions(-)

Rebasing onto current main would produce an empty diff; merging as-is would regress the Bugbot section. Closing without merge.

@klappy klappy closed this May 10, 2026
klappy pushed a commit that referenced this pull request May 10, 2026
…ntract draft) + journals

Two runtime method docs preserved here for operator review and reconciliation:

DOC 1 (recommended canonical): canon/methods/persona-shaped-agent-runtime.md
Tier 1, proposed. Reflects operator's session-per-mode guidance from 2026-05-10 conversation. Five mode-bound roles (explorer, planner, builder, validator, resolver) plus general escape hatch and observer carve-out. Derives from sessions-mirror-modes principle and mode-transitions-require-encoded-handoff constraint (PR C).

DOC 2 (prior iteration, draft): canon/methods/spawned-agent-session-runtime-contract.md
Tier 2, draft. Five-orthogonal-dimensions framing (persona, mode, role, surface, engagement) from prior compacted session. Introduces 'engagement' dimension (assistant vs agent — turn-based dialogue vs autonomous run-to-completion) that is genuinely orthogonal and missing from doc 1. Worth folding forward, or keeping as sibling, per operator decision.

JOURNALS:
- 2026-05-10-spawned-agent-runtime-and-five-dimension-contract.tsv (prior session's DOLCHEO entries)
- 2026-05-10-runtime-canon-divergence.tsv (this PR's entries — flags the two-doc situation, names engagement as the worth-preserving insight, recommends persona-shaped as canonical)

DEPENDS ON:
- PR #185 (substrate canon) — references klappy://canon/methods/spawned-agent-session-substrate-options
- PR #186 (mode-discipline canon) — references klappy://canon/principles/sessions-mirror-modes and klappy://canon/constraints/mode-transitions-require-encoded-handoff

OPERATOR ACTION REQUIRED:
Pick one runtime doc as canonical, OR reconcile the two before merge. Recommend persona-shaped as canonical with engagement dimension folded in.
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