Skip to content

Commit cf074c2

Browse files
tbitcsoz-agent
andcommitted
chore: specsmith upgrade --full to 0.11.3; switch to develop branch
Regenerated AGENTS.md with Session Bootstrap section, updated CI configs, and governance files to specsmith 0.11.3. Establishing develop as the default working branch for all governed projects. Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 1ead262 commit cf074c2

39 files changed

Lines changed: 1495 additions & 15 deletions

.editorconfig

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# EditorConfig — https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
indent_style = space
10+
indent_size = 4
11+
12+
[*.py]
13+
indent_size = 4
14+
max_line_length = 100
15+
16+
[*.{yml,yaml}]
17+
indent_size = 2
18+
19+
[*.md]
20+
trim_trailing_whitespace = false
21+
22+
[Makefile]
23+
indent_style = tab
24+
25+
[*.{cmd,bat}]
26+
end_of_line = crlf
27+
28+
[*.{ps1,psm1}]
29+
end_of_line = crlf
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug in west-env
4+
title: "bug: "
5+
labels: bug
6+
---
7+
8+
## Description
9+
10+
<!-- Clear description of the bug -->
11+
12+
## Steps to Reproduce
13+
14+
1.
15+
2.
16+
3.
17+
18+
## Expected Behavior
19+
20+
<!-- What should happen -->
21+
22+
## Actual Behavior
23+
24+
<!-- What actually happens -->
25+
26+
## Environment
27+
28+
- OS:
29+
- Python version:
30+
- west-env version:
31+
32+
## Additional Context
33+
34+
<!-- Logs, screenshots, or other relevant information -->
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an enhancement for west-env
4+
title: "feat: "
5+
labels: enhancement
6+
---
7+
8+
## Summary
9+
10+
<!-- Brief description of the feature -->
11+
12+
## Motivation
13+
14+
<!-- Why is this needed? What problem does it solve? -->
15+
16+
## Proposed Solution
17+
18+
<!-- How should this work? -->
19+
20+
## Alternatives Considered
21+
22+
<!-- Other approaches you've thought about -->
23+
24+
## Additional Context
25+
26+
<!-- Mockups, references, or related issues -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Description
2+
3+
<!-- Brief description of what this PR does -->
4+
5+
Closes #
6+
7+
## Changes
8+
9+
-
10+
11+
## Governance Checklist
12+
13+
- [ ] Read `AGENTS.md` and followed the workflow
14+
- [ ] Changes proposed in `LEDGER.md` before implementation
15+
- [ ] `docs/REQUIREMENTS.md` updated (if new/changed requirements)
16+
- [ ] `docs/TESTS.md` updated (if new/changed tests)
17+
- [ ] Lint passes: `ruff check`
18+
- [ ] Type check passes: `mypy`
19+
- [ ] Tests pass: `pytest`
20+
- [ ] Security scan passes: `pip-audit`
21+
- [ ] `LEDGER.md` entry recorded

.specsmith/agent-tools.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"schema_version": 1,
3+
"primary_governance_command": "specsmith_run",
4+
"slash_prefix": "/specsmith",
5+
"verb_shortcuts": [
6+
"audit",
7+
"commit",
8+
"doctor",
9+
"load",
10+
"pull",
11+
"push",
12+
"run",
13+
"save",
14+
"status",
15+
"sync",
16+
"validate",
17+
"watch"
18+
],
19+
"description": "Use specsmith_run() or /specsmith <args> in the Nexus REPL for all governance operations (save, load, push, pull, audit, status, \u2026). REQ-SM-001: agents must not invoke the specsmith binary directly via run_shell when specsmith_run is available."
20+
}

.specsmith/agents.md.m005.bak

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# west-env — Agent Governance
2+
3+
This project was imported by specsmith. The governance files contain detected structure. Review and enrich with your agent.
4+
5+
## Project Summary
6+
- **Languages**: python, markdown, yaml
7+
- **Build system**: pyproject
8+
- **Test framework**: pytest
9+
- **Files detected**: 75
10+
- **Modules**: west_commands, west_env
11+
12+
## Workflow Rules
13+
1. Read AGENTS.md fully before starting any task.
14+
2. Log all changes in LEDGER.md.
15+
3. Map changes to requirements in docs/REQUIREMENTS.md.
16+
4. Verify against docs/TESTS.md.

.specsmith/compliance/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# .specsmith/compliance/
2+
3+
Project-specific compliance overlays for AI regulation.
4+
5+
## Structure
6+
7+
Each file overrides the built-in regulation status for this project:
8+
eu-ai-act.yaml — EU AI Act (Regulation 2024/1689)
9+
nist-rmf.yaml — NIST AI RMF 1.0 + AI 600-1
10+
omb-m-24-10.yaml — OMB M-24-10
11+
colorado-sb24-205.yaml — Colorado AI Act (effective Feb 2026)
12+
texas-hb1709.yaml — Texas AI Transparency Act
13+
etc.
14+
15+
## Usage
16+
17+
# Check compliance for all regulations
18+
specsmith compliance check
19+
20+
# Generate compliance report
21+
specsmith compliance report --format html --output compliance-report.html
22+
23+
# Store results to ESDB audit trail
24+
specsmith compliance audit
25+
26+
See: https://specsmith.readthedocs.io/en/stable/compliance/
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# EU AI Act (Regulation 2024/1689) — project overlay
2+
#
3+
# This file allows overriding compliance status for this specific project.
4+
# Leave fields empty to use specsmith's auto-detection.
5+
#
6+
# regulation_id: eu-ai-act
7+
# project notes:
8+
9+
risk_tier: minimal_risk # prohibited | high_risk | gpai | minimal_risk
10+
is_gpai: false # true if this is a General Purpose AI model
11+
gpai_systemic_risk: false # true if > 10^25 FLOP training compute
12+
13+
# Override specific article status (auto-detected if absent):
14+
# article_overrides:
15+
# Art.9:
16+
# status: compliant
17+
# notes: "Risk management system via specsmith AEE pipeline"
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# Generated by specsmith migrate m001
2+
# Edit this file; original MD kept as view.
3+
4+
content: '# Context Window Management and Credit Optimization
5+
6+
7+
## Core principle
8+
9+
Treat unnecessary credit consumption as a process defect.
10+
11+
12+
## Session load protocol (lazy loading)
13+
14+
On session start, load only:
15+
16+
- `AGENTS.md` (in full)
17+
18+
- `docs/governance/RULES.md`
19+
20+
- `docs/governance/CONTEXT-BUDGET.md`
21+
22+
- Last ~300 lines of `LEDGER.md`
23+
24+
25+
Load on demand:
26+
27+
- `docs/governance/SESSION-PROTOCOL.md` — when preparing proposals or ledger entries
28+
29+
- `docs/governance/LIFECYCLE.md` — when checking phase readiness or advancing
30+
31+
- `docs/governance/ROLES.md` — when role boundaries are relevant
32+
33+
- `docs/governance/VERIFICATION.md` — when testing or accepting work
34+
35+
- `docs/governance/DRIFT-METRICS.md` — when running `audit`
36+
37+
- `docs/REQUIREMENTS.md` — first ~200 lines, expand by section
38+
39+
- `docs/TESTS.md` — first ~200 lines, expand by section
40+
41+
- `docs/ARCHITECTURE.md` — first ~40 lines, expand by section
42+
43+
44+
## During a session
45+
46+
- NEVER re-read a file already in context unless modified since last read
47+
48+
- Use line ranges for files > ~200 lines
49+
50+
- Prefer grep/semantic search over reading entire files
51+
52+
- Batch file reads into a single call
53+
54+
- Summarize rather than echo file contents
55+
56+
- Do not repeat proposals after creating them
57+
58+
59+
## Conversation summarization recovery
60+
61+
If the conversation is summarized or truncated, re-read AGENTS.md in full before
62+
any further actions.
63+
64+
65+
## Response economy
66+
67+
- No echoing file contents back
68+
69+
- No repeating proposal content after creation
70+
71+
- No "status theater" messages that add no information
72+
73+
- Provide only evidence needed to support conclusions
74+
75+
76+
## Efficient verification order
77+
78+
1. Static validation / lint / syntax (cheapest)
79+
80+
2. Type checks / unit tests
81+
82+
3. Integration tests
83+
84+
4. Expensive builds / hardware flows (most expensive)
85+
86+
87+
If a cheaper check fails, fix that before running more expensive checks.
88+
89+
90+
## Cost tiers
91+
92+
- **low** — docs-only, single-file edits, small scaffolds
93+
94+
- **medium** — multi-file implementation, routine refactors, standard test runs
95+
96+
- **high** — architecture changes, large builds, broad audits
97+
98+
99+
## Credit tracking
100+
101+
102+
This project tracks AI credit spend automatically. At the end of each session:
103+
104+
105+
1. Record usage: `specsmith credits record --model <model> --provider <provider>
106+
--tokens-in <N> --tokens-out <N> --task "<description>"`
107+
108+
2. Check budget: `specsmith credits summary`
109+
110+
3. If budget alerts appear, review with: `specsmith credits analyze`
111+
112+
113+
Budget configuration: `specsmith credits budget --cap <USD> --alert-pct 80`
114+
115+
Credit data stored in `.specsmith/credits.json` (gitignored).
116+
117+
'
118+
generated_by: specsmith migrate (m001)
119+
kind: context-budget
120+
source_md: docs/governance/CONTEXT-BUDGET.md

0 commit comments

Comments
 (0)