Skip to content

Commit 4e98e31

Browse files
authored
chore: bump fw-4.12.0 / cli-3.12.0 — Charter discoverability + path alignment (#123)
Combined bump for the changes landed in #121 (Charter path alignment to .straymark/charters/) and #122 (Charter as top-level concept across governance docs, skills, status command, and SPECKIT-CHARTER-BRIDGE guide). See CHANGELOG.md for the full description. - cli: 3.11.0 → 3.12.0 (minor: bug fix + new status block feature) - fw: 4.11.0 → 4.12.0 (minor: new skill, new section in STRAYMARK.md, new SPECKIT-CHARTER-BRIDGE doc, templates reorganized, directive triggers) Updated: cli/Cargo.toml + Cargo.lock, dist/dist-manifest.yml, CHANGELOG.md (new section), README.md + i18n versioning tables, CLI-REFERENCE.md + i18n, ADOPTION-GUIDE.md + i18n, governance footers (QUICK-REFERENCE, AGENT-RULES, DOCUMENTATION-POLICY, C4-DIAGRAM-GUIDE, FOLLOW-UPS-BACKLOG-PATTERN — 4+1 docs × 3 langs).
1 parent 346a950 commit 4e98e31

29 files changed

Lines changed: 95 additions & 54 deletions

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,47 @@ and this project uses [independent versioning](README.md#versioning) for Framewo
77

88
---
99

10+
## Framework 4.12.0 / CLI 3.12.0 — Charter discoverability + path alignment
11+
12+
Closes the two Charter-related gaps surfaced by real adopters in the issue tracker: **Charter were structurally invisible to the CLI** ([#119](https://github.com/StrangeDaysTech/straymark/issues/119)`straymark charter list/audit/close` hardcoded `docs/charters/` while the framework already validated `.straymark/charters/`) and **Charter were conceptually invisible to onboarding agents** ([#113](https://github.com/StrangeDaysTech/straymark/issues/113) — agents following the canonical entry points could not discover Charter as a workflow concept).
13+
14+
### Added (Framework)
15+
16+
- **`STRAYMARK.md` §15 — Charter as bounded units of work.** Dedicated section explaining what a Charter is, when to declare one, the lifecycle (`declared``in-progress``closed`), and how it relates to AILOG / ADR / SpecKit. Charter trigger row added to §6 (When to Document); Charter row added to §9 (Autonomy Limits), §10 (folder map), §11 (When to Load), §13 (Quick Type Reference).
17+
- **`SPECKIT-CHARTER-BRIDGE.md`** in `dist/.straymark/00-governance/` (EN + ES + zh-CN). Documents *when* a SpecKit feature yields a Charter (4 yes-conditions, 3 no-conditions), 4 granularity heuristics ("one Charter per shippable cut, NOT per User Story"), creation timing within the SpecKit pipeline, frontmatter linkage in both directions (`originating_spec` / `originating_charter`), 5 anti-patterns, 5 non-fit cases.
18+
- **Skill `/straymark-charter-new`** across the three skill surfaces (`.claude/skills/`, `.gemini/skills/`, `.agent/workflows/`). Drives `straymark charter new` with the right flags (`--from-spec` vs `--from-ailog` vs none, effort estimate). Skill explicitly does *not* flip status, run drift, or run audit — those have their own surfaces.
19+
- **Charter trigger** in the directive templates (`dist/dist-templates/directives/{CLAUDE.md,GEMINI.md,copilot-instructions.md}`) — agents see Charter alongside AILOG / AIDEC / ADR / ETH triggers in the pre-commit checklist.
20+
- **`Charters` block in `straymark status`** — declared / in-progress / closed counts (or a friendly hint when empty); colorized status keyed on lifecycle stage; surfaces unparseable Charter files as a warning row.
21+
22+
### Changed (Framework)
23+
24+
- **Charter templates moved to `dist/.straymark/templates/charter/`** subdirectory (with `i18n/es/` co-located inside). Visually distinguishable from auxiliary doc templates, addresses one of the contributing factors of #113 (templates indistinguishable from auxiliary).
25+
- **`QUICK-REFERENCE.md` (EN + ES + zh-CN)** — adds "Bounded Units of Work — Charter" subsection alongside the doc-type tables, `charters/` entry in the folder tree, Charter trigger row in When-to-Document, `/straymark-charter-new` in the skills table.
26+
- **`/straymark-status` and `/straymark-new` skills (×3 surfaces)**`/straymark-status` now scans `.straymark/charters/` and surfaces gaps; `/straymark-new` recognizes Charter intent and *redirects* to `/straymark-charter-new` (Charter is not a `straymark new` doc type).
27+
28+
### Fixed (CLI)
29+
30+
- **`straymark charter list/audit/close/drift/new` honor `.straymark/charters/`** as the canonical Charter location, matching what `straymark init` and `straymark status` already validate. Eliminates 5 hardcoded `docs/charters/` references through a new `charter::charters_dir(project_root)` single source of truth.
31+
- **Improved error messages** in `audit/close/drift`: instead of opaque `Charter X not found in docs/charters/`, the CLI now reports the searched path and hints at `straymark charter list`:
32+
33+
```
34+
error: Charter CHARTER-02 not found in .straymark/charters/.
35+
hint: run `straymark charter list` to see discovered Charters.
36+
```
37+
38+
- **`dist/.straymark/scripts/check-charter-drift.sh`** matches against `.straymark/charters/*` instead of `docs/charters/*`.
39+
40+
### Breaking change (CLI, pre-1.0)
41+
42+
- Projects with charters under the legacy `docs/charters/` (Sentinel pre-rebrand layout) need to relocate them. Migration is one command: `git mv docs/charters .straymark/charters`. Pre-1.0 SemVer permits the change; the improved error message points operators at it.
43+
44+
### Adopter guidance
45+
46+
- Existing projects on `fw-4.11.0` get the new framework files (skills, templates, governance docs, directive triggers) via `straymark update-framework`.
47+
- Charter telemetry sidecars (`*.telemetry.yaml`) now share `.straymark/charters/` with the declarative `.md` files by design — no migration needed; `straymark charter close` already wrote them there in 4.11.0.
48+
49+
---
50+
1051
## Framework 4.11.0 / CLI 3.11.0 — StrayMark rebranding
1152

1253
The project formerly known as DevTrail is now **StrayMark**. The decision was made on 2026-05-08 by the operator after external trademark conflict research, motivated by **legal certainty over the project's mark**. See [`ADR-2026-05-08-001`](docs/decisions/ADR-2026-05-08-rebranding-straymark.md) for the full record.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ StrayMark uses independent version tags for each component:
272272

273273
| Component | Tag prefix | Example | Includes |
274274
|-----------|-----------|---------|----------|
275-
| Framework | `fw-` | `fw-4.11.0` | Templates (12 types), governance, directives, Charter template + schema |
276-
| CLI | `cli-` | `cli-3.11.0` | The `straymark` binary |
275+
| Framework | `fw-` | `fw-4.12.0` | Templates (12 types), governance, directives, Charter template + schema |
276+
| CLI | `cli-` | `cli-3.12.0` | The `straymark` binary |
277277

278278
Check installed versions with `straymark status` or `straymark about`.
279279

@@ -305,7 +305,7 @@ See [CLI Reference](https://github.com/StrangeDaysTech/straymark/blob/main/docs/
305305
```bash
306306
# Download the latest framework release ZIP from GitHub
307307
# Go to https://github.com/StrangeDaysTech/straymark/releases
308-
# and download the latest fw-* release (e.g., fw-4.11.0)
308+
# and download the latest fw-* release (e.g., fw-4.12.0)
309309
310310
# Extract and copy to your project
311311
unzip straymark-fw-*.zip -d your-project/

cli/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "straymark-cli"
3-
version = "3.11.0"
3+
version = "3.12.0"
44
edition = "2021"
55
description = "CLI for StrayMark — the cognitive discipline your AI-assisted projects need"
66
license = "MIT"

dist/.straymark/00-governance/AGENT-RULES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,4 +357,4 @@ When a project accumulates a high volume of AILOGs across multiple Charters and
357357
358358
---
359359
360-
*StrayMark v4.11.0 | [Strange Days Tech](https://strangedays.tech)*
360+
*StrayMark v4.12.0 | [Strange Days Tech](https://strangedays.tech)*

dist/.straymark/00-governance/C4-DIAGRAM-GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,4 @@ Use a Level 1 (Context) diagram to illustrate:
234234

235235
---
236236

237-
*StrayMark v4.11.0 | [Strange Days Tech](https://strangedays.tech)*
237+
*StrayMark v4.12.0 | [Strange Days Tech](https://strangedays.tech)*

dist/.straymark/00-governance/DOCUMENTATION-POLICY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,4 +307,4 @@ See also [ADR-2025-01-20-001] for architectural context.
307307
308308
---
309309

310-
*StrayMark v4.11.0 | [Strange Days Tech](https://strangedays.tech)*
310+
*StrayMark v4.12.0 | [Strange Days Tech](https://strangedays.tech)*

dist/.straymark/00-governance/FOLLOW-UPS-BACKLOG-PATTERN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,4 @@ Contributed via [issue #111](https://github.com/StrangeDaysTech/straymark/issues
186186

187187
---
188188

189-
*StrayMark v4.11.0 | [Strange Days Tech](https://strangedays.tech)*
189+
*StrayMark v4.12.0 | [Strange Days Tech](https://strangedays.tech)*

dist/.straymark/00-governance/QUICK-REFERENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,4 @@ Mark `review_required: true` when:
240240

241241
---
242242

243-
*StrayMark v4.11.0 | [Strange Days Tech](https://strangedays.tech)*
243+
*StrayMark v4.12.0 | [Strange Days Tech](https://strangedays.tech)*

dist/.straymark/00-governance/i18n/es/AGENT-RULES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,4 +357,4 @@ Cuando un proyecto acumula un volumen alto de AILOGs a lo largo de múltiples Ch
357357
358358
---
359359
360-
*StrayMark v4.11.0 | [Strange Days Tech](https://strangedays.tech)*
360+
*StrayMark v4.12.0 | [Strange Days Tech](https://strangedays.tech)*

0 commit comments

Comments
 (0)