Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed .beads/.jsonl.lock
Empty file.
8 changes: 8 additions & 0 deletions .claude/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@
"description": "Codebase analysis",
"phase": "analysis"
},
"strataudit": {
"file": "skills/strataudit.md",
"cli": "sdp-strataudit run",
"mode": "hybrid",
"llm_subagents": ["analyst", "architect"],
"description": "Evidence-backed strategy traceability audit",
"phase": "analysis"
},
"feature": {
"file": "skills/feature.md",
"cli": "sdp plan",
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,15 @@ archive/
!.sdp/evidence/
!.sdp/checkpoints/
.sdp/log/events.jsonl
.sdp/log/events.jsonl.lock
.sdp/state.json
.sdp/review_verdict.json
.sdp/tier_metrics.json
sdp-plugin/.sdp/log/events.jsonl
**/events.jsonl
**/events.jsonl.lock
.beads/.jsonl.lock
sdp-plugin/.beads/.jsonl.lock

# Build output
bin/
Expand Down
35 changes: 35 additions & 0 deletions .opencode/commands/strataudit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
description: Evidence-backed strategy traceability audit over a document corpus; use when the user needs document-grounded alignment analysis across strategy, architecture, design, or implementation materials. Prefer an injected host-native runtime when available, otherwise use a configured OpenAI-compatible runtime; OpenRouter is the default network accelerator, not the only path.
agent: architect
---

# /strataudit — StratAudit

## Overview

This command implements the `strataudit` skill from the SDP workflow.

See `/prompts/skills/strataudit/SKILL.md` for complete documentation.

## Usage

```bash
/strataudit [arguments]
```

## Implementation

The command delegates to the `strataudit` skill, which provides:

- mode-based document-backed audit flow
- explicit runtime selection order
- structured artifact output
- trust-oriented failure and refusal behavior

## Related

- Skills: `prompts/skills/strataudit/SKILL.md`
- Reference: `docs/reference/strataudit-evidence-policy.md`
- Reference: `docs/reference/strataudit-runtime-policy.md`
- Reference: `docs/reference/strataudit-output-modes.md`
- Agents: `prompts/agents/architect.md`
50 changes: 0 additions & 50 deletions .sdp/checkpoints/F050-checkpoint.json

This file was deleted.

14 changes: 0 additions & 14 deletions .sdp/review_verdict.json

This file was deleted.

5 changes: 0 additions & 5 deletions .sdp/state.json

This file was deleted.

10 changes: 0 additions & 10 deletions .sdp/tier_metrics.json

This file was deleted.

17 changes: 9 additions & 8 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Quick reference for using SDP CLI v0.9.8 with Claude Code.
@vision "AI-powered task manager" # Strategic planning
@reality --quick # Codebase analysis
@feature "Add user authentication" # Plan feature
@build 00-001-01 # Execute workstream
@build 00-001-01 # Execute executable leaf workstream
@review <feature-id> # Quality check
```

Expand Down Expand Up @@ -83,9 +83,9 @@ New project?

**@ux** — UX research for user-facing features (standalone or auto-triggered by @feature)

**@oneshot** — Workstreams exist, want autonomous execution with checkpoint/resume
**@oneshot** — Workstream tree exists, want autonomous execution of ready leaf workstreams with checkpoint/resume

**@build** — Execute a single workstream (use instead of @oneshot for 1-2 WS)
**@build** — Execute a single executable leaf workstream (use instead of @oneshot for 1-2 leaf WS)

---

Expand All @@ -103,7 +103,7 @@ New project?
| `@ux` | UX research (mental model elicitation) | Planning |
| `@design` | Workstream design (EnterPlanMode) | Planning |
| `@oneshot` | Execution orchestrator (autonomous) | Execution |
| `@build` | Execute single workstream (TDD) | Execution |
| `@build` | Execute single executable leaf workstream (TDD) | Execution |
| `@review` | Multi-agent quality review | Execution |
| `@deploy` | Merge feature branch to main | Execution |

Expand Down Expand Up @@ -166,14 +166,14 @@ New project?
# 1. Plan feature
@feature "Add payment processing"

# 2. Execute all workstreams
# 2. Execute all ready leaf workstreams
@oneshot <feature-id>
```

### Manual Flow (learning or debugging)

```bash
@build 00-050-01 # Execute one at a time
@build 00-050-01 # Execute one leaf at a time
@build 00-050-02
@review <feature-id> # Review when done
@deploy <feature-id> # Deploy
Expand All @@ -188,8 +188,9 @@ New project?
- [PROTOCOL.md](docs/PROTOCOL.md)

2. **Key concepts:**
- **Workstream (WS)**: Atomic task, one-shot execution
- **Feature**: 5-30 workstreams
- **Aggregate Workstream**: non-executable container or roll-up over 2+ leaf workstreams
- **Leaf Workstream**: atomic executable unit
- **Feature**: 5-30 workstreams total, but only leaves are directly executable
- **Release**: 10-30 features

3. **Install Beads CLI** (task tracking):
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Canonical prompt sources live in `prompts/`. Tool-specific directories such as `
| [QUICKSTART.md](docs/QUICKSTART.md) | Recommended first-success path |
| [CLI_REFERENCE.md](docs/CLI_REFERENCE.md) | Current `sdp` command surfaces |
| [PROTOCOL.md](docs/PROTOCOL.md) | Current protocol overview |
| [PRODUCT_CONTRACT.md](docs/PRODUCT_CONTRACT.md) | Product definition and mode policy |
| [reference/README.md](docs/reference/README.md) | Reference index and legacy-doc status |
| [.codex/INSTALL.md](.codex/INSTALL.md) | Codex-specific install notes |
| [MANIFESTO.md](docs/MANIFESTO.md) | Vision and rationale |
Expand Down
Loading
Loading