Deterministic requirements, specification and acceptance governance for AI-native software engineering.
Status: 0.2.0 implements AGENTS.md organization-convention checks and native OpenSpec / Spec Kit structural checks, artifact SHA256 drift verification, CLI/MCP and plugin skills. Declared native requirement/source/test linkage with signed current execution is implemented; business semantic correctness and protected approved-baseline checks remain outside this claim. See trace evidence.
Use specguard specs check --project ABSOLUTE_DIRECTORY --source openspec|speckit and specs verify ... --baseline ABSOLUTE_REPORT for repeatable native-artifact checks. See native scope, repair/recheck workflow and baseline trust. Successful snapshots are untrusted observations and never approval or implementation evidence.
Use specguard specs sources --project ABSOLUTE_DIRECTORY (MCP specguard_spec_sources) for read-only OpenSpec / Spec Kit / Superpowers source observations and scoped stable requirement IDs. Unknown or competing sources remain unresolved; plans alone are not another requirement authority. See supported formats, ID stability and trust boundaries. This observation cannot generate an approved baseline.
Use specguard agents check --project ABSOLUTE_DIRECTORY to check six Guard instruction blocks and optional additive project conventions; agents template returns a review draft without writing files. See scope and usage and plugin. Required blocks are organization conventions, not official AGENTS.md fields. Document ALLOW never proves agent execution or approval.
AI can generate requirements and coding tasks quickly but cannot independently prove that the requirement scope is correct. SpecGuard validates traceability, approved baselines and well-defined obligations, while sending ambiguous business intent to human review.
Original request / OpenSpec / Spec Kit / Superpowers
↓
Source adapters
↓
Requirement → Acceptance → Design / Task → Test obligation
↓
Structural rules + Baseline diff
↓
Findings / GuardFacts / Coverage
↓
GuardEngine
↓
CLI feedback / Trusted CI / FlowGuard
SpecGuard owns stable requirement IDs, specification references, completeness checks, acceptance obligations, and approved baseline diffs. It does not approve product decisions, design software architecture, run full behavioral tests, or merge Git changes.
ENFORCE applies only to deterministic constraints such as duplicate IDs, broken links and unauthorized removal of approved criteria. REVIEW handles ambiguous wording, missing business scenarios and design trade-offs. Missing source coverage is INDETERMINATE, not PASS.
The planned specification graph integrates with GuardEngine Guard Protocol. Implemented checkers return their own versioned reports; these are not delivery authorization reports. Exact-byte observation drift is implemented; approved-baseline enforcement and full traceability remain planned.
- Architecture and ADRs: system boundary, specification graph, baselines, provenance, trust model, cross-Guard interfaces and acceptance scenarios.
- Technical design: Rust modules, schemas, adapter behavior, rule DSL, CLI/MCP/CI interfaces, security, Wave delivery and tests.
specguard doctor --project .
specguard scan --project . --source openspec --format json
specguard trace --requirement REQ-017
specguard diff --base <approved-ref> --head HEADCurrent native CLI/MCP checks cover supported structure, scoped IDs and exact artifact drift. Later stages will add complete trace graphs, protected baseline enforcement and cross-Guard evidence. Source files remain the project's existing truth; there is no implicit initialization, installation or approval issuance.
See all Partme Guard repositories. Source builds and managed installation are available; no hosted service or signed attestation is claimed.
The shared installer provides install, uninstall, context, instructions render|sync, doctor --integration, and serve --mcp for Codex, Claude Code, and Gemini CLI. Each tool renders its own managed block.
cargo build --locked
specguard install --agents codex,claude,gemini --project /absolute/project --bin-dir /absolute/bin --dry-run
specguard context --project /absolute/projectAfter building, invoke the executable under target/debug/ (with .exe on Windows); short commands above assume PATH is configured. --bin-dir copies the current executable; PATH is not changed automatically. Remove --dry-run to apply. A sibling ../guardengine/crates/guard-install source checkout is required.
Shared design, host mapping, update/uninstall and verification. Configuration success does not prove host loading or quality approval.