You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`pyproject.toml.j2` sets the initial version; all other code reads it dynamically
31
+
- CI dev-release workflows calculate dev versions from git tags, not source files
32
+
33
+
## Release Process
34
+
35
+
When bumping versions, `specsmith release` updates `pyproject.toml` (the source of truth). The releaser also updates `config.py` spec_version default so new scaffolds use the current version. No other files need version string changes.
-**Type-specific templates**: .gitattributes (#39) for 15 language types, .gitignore (#40) expanded for all 30 types, .editorconfig (#43) with per-language indent settings.
24
+
-**Yocto/bitbake/devicetree/markdown**: `.bbclass`, `.inc`, `.dts`, `.dtsi` in language detection; `kas.yml` build system; enhanced CI metadata.
25
+
-**No-hardcoded-versions rule** (H10): governance template and WARP rule.
26
+
-**Agent credit instructions**: Warp and Claude adapters include credit recording commands.
27
+
-**Session-end credit summary**: `session-end` shows total spend and budget alerts.
specsmith doctor --project-dir ./my-project # Tool check
39
+
# Install
40
+
pip install specsmith
41
+
42
+
# New project (interactive)
43
+
specsmith init
44
+
45
+
# Adopt an existing project
46
+
specsmith import --project-dir ./my-project
47
+
48
+
# Check governance health
49
+
specsmith audit --project-dir ./my-project
50
+
51
+
# Generate architecture docs interactively
52
+
specsmith architect --project-dir ./my-project
53
+
54
+
# Start an AI agent session (universal pattern)
55
+
# From any governed repo root:
56
+
/agent AGENTS.md
44
57
```
45
58
59
+
### Starting an AI Agent Session
60
+
61
+
The universal pattern for any specsmith-governed project:
62
+
63
+
```
64
+
/agent AGENTS.md
65
+
```
66
+
67
+
This works in Warp, Claude Code, Cursor, and any agent that reads markdown context files. The agent loads AGENTS.md (the governance hub), reads LEDGER.md for session state, and picks up from the last recorded action.
Each type gets: tool-aware CI (correct lint/test/security/build tools), domain-specific directory structure, governance rules in AGENTS.md, and pre-populated requirements and test stubs.
57
80
58
-
## 11 CLI Commands
81
+
## 40+ CLI Commands
59
82
60
83
| Command | Purpose |
61
84
|---------|---------|
62
85
|`init`| Scaffold a new governed project |
63
86
|`import`| Adopt an existing project (merge mode) |
64
87
|`audit`| Drift detection and health checks (`--fix` to auto-repair) |
0 commit comments