Skip to content

feat: AGT-inspired governance improvements — severity registry, trust tiers, limitations doc, conformance manifest - #48

Merged
markhazleton merged 5 commits into
mainfrom
001-agt-governance-improvements
Jun 4, 2026
Merged

feat: AGT-inspired governance improvements — severity registry, trust tiers, limitations doc, conformance manifest#48
markhazleton merged 5 commits into
mainfrom
001-agt-governance-improvements

Conversation

@markhazleton

Copy link
Copy Markdown
Owner

Summary

Adds four governance improvements to DevSpark inspired by Microsoft's Agent Governance Toolkit philosophy — structured severity codes, trust-tiered review depth, explicit limitations documentation, and prompt conformance checking — all as additive Markdown artifacts with no new tool dependencies.

  • Severity registry (severity-registry.md): maps §I–§VIII constitution sections to §{section}.{LEVEL} finding codes; pr-review now loads and emits these codes
  • Trust-tiered review depth: new step 1b in pr-review classifies branches as full/partial/no-compliance and emits a MEDIUM finding + reviewer alert for no-spec branches
  • Known limitations (known-limitations.md): six honest scope boundaries (L-001–L-006) alongside the constitution
  • Prompt conformance manifest (prompt-conformance-manifest.md): deterministic string-match rules for validating command templates via /devspark.checklist
  • evolve-constitution.md updated: two new Review Checklist items enforce registry and limitations sync on every amendment (FR-006, FR-009)

Changes

13 files changed, 1644 insertions(+)

Status File
Added .documentation/memory/severity-registry.md
Added .documentation/memory/known-limitations.md
Added .documentation/memory/prompt-conformance-manifest.md
Modified .documentation/memory/constitution.md
Modified templates/commands/pr-review.md
Modified templates/commands/evolve-constitution.md
Modified CLAUDE.md (pre-existing lint fix)
Added .documentation/specs/001-agt-governance-improvements/spec.md
Added .documentation/specs/001-agt-governance-improvements/plan.md
Added .documentation/specs/001-agt-governance-improvements/tasks.md
Added .documentation/specs/001-agt-governance-improvements/research.md
Added .documentation/specs/001-agt-governance-improvements/gates/analyze.md
Added .documentation/specs/001-agt-governance-improvements/gates/critic.md

Task Completion

16/16 tasks complete | Checklist: 25/25

Quality Gates

Gate Status Summary
checklist pass 25/25 items complete
analyze pass All 8 findings resolved (FR-006 coverage gap, ambiguity fixes, LOW cleanups)
critic pass All 6 findings resolved (frontmatter, conformance anchors, insertion points, L-006)

Spec Reference

.documentation/specs/001-agt-governance-improvements/spec.mdfull-spec | medium risk | Status: Complete

Notes

  • All changes are additive — no existing specs, plans, tasks, or PRs invalidated (SC-005)
  • markdownlint: 381 files, 0 errors
  • Reviewer: verify severity registry entries match constitution §I–§VIII exactly; trust-tier insertion in pr-review.md is additive only (no content removed)
  • CLAUDE.md fix: corrected pre-existing H1 heading and trailing blank line introduced by agent context update script

🤖 Generated with Claude Code

DevSpark Test and others added 3 commits June 3, 2026 18:43
Adds three new governance companion documents and updates the constitution:
- severity-registry.md: maps §I–§VIII to §{section}.{LEVEL} finding codes
- known-limitations.md: six honest governance scope boundaries (L-001–L-006)
- prompt-conformance-manifest.md: deterministic conformance rules for command templates
- constitution.md: Companion Documents section linking all three artifacts

Part of spec 001-agt-governance-improvements (FR-001, FR-005, FR-007).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Updates to pr-review.md:
- Step 1b: trust-tier classification (full/partial/no-compliance detection)
- Step 2: load severity-registry.md for finding code validation
- Guidelines: severity code format §{section}.{LEVEL} mandate

Updates to evolve-constitution.md:
- Review Checklist: severity-registry co-update item (FR-009)
- Review Checklist: known-limitations check item (FR-006)

CLAUDE.md: fix pre-existing markdownlint errors from agent context update.

Part of spec 001-agt-governance-improvements (FR-002, FR-003, FR-004, FR-006, FR-009).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Full spec-driven development artifacts for AGT-inspired governance improvements:
- spec.md (Complete), plan.md, tasks.md (16/16 done), research.md
- checklists/requirements.md
- gates/analyze.md (pass), gates/critic.md (pass)

All 16 tasks complete, both pre-implement gates resolved,
markdownlint 0 errors across 381 files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@markhazleton
markhazleton force-pushed the 001-agt-governance-improvements branch from 9bdf318 to 1cfd3c0 Compare June 3, 2026 23:44
DevSpark Test and others added 2 commits June 3, 2026 18:52
H-01: Move trust-tier ⚠️ alert blockquote inside the no-compliance
conditional (step 5) and add explicit partial-compliance inline note.
Fixes §II Explicit Over Implied violation — alert no longer fires
unconditionally for partial-compliance branches.

M-01: Remove blank lines inside HTML comment block in
prompt-conformance-manifest.md baseline section.

L-01: Use relative path 'constitution.md' (not '.documentation/memory/constitution.md')
in severity-registry.md Companion Documents section.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
H-01 resolved: trust-tier alert now conditional on no-compliance only.
M-01 resolved: HTML comment blank lines removed.
L-01 resolved: relative path in severity-registry companion links.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@markhazleton
markhazleton merged commit 74f7dd1 into main Jun 4, 2026
14 checks passed
@markhazleton
markhazleton deleted the 001-agt-governance-improvements branch June 4, 2026 00:05
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.

1 participant