@nurix/etna 0.19.67 → 0.19.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/data/harness-index.json +1 -1
  2. package/data/harnesses/code/agents/bookkeeper.md +10 -1
  3. package/data/harnesses/code/agents/brainstorm.md +23 -24
  4. package/data/harnesses/code/agents/change-review.md +38 -49
  5. package/data/harnesses/code/agents/lld-mode.md +3 -5
  6. package/data/harnesses/code/agents/maintenance.md +43 -42
  7. package/data/harnesses/code/agents/performance-review.md +13 -21
  8. package/data/harnesses/code/agents/retro.md +1 -1
  9. package/data/harnesses/code/codex/agents/bookkeeper.toml +11 -1
  10. package/data/harnesses/code/codex/agents/brainstorm.toml +24 -24
  11. package/data/harnesses/code/codex/agents/change-review.toml +39 -49
  12. package/data/harnesses/code/codex/agents/lld-mode.toml +6 -5
  13. package/data/harnesses/code/codex/agents/maintenance.toml +51 -43
  14. package/data/harnesses/code/codex/agents/performance-review.toml +13 -21
  15. package/data/harnesses/code/codex/agents/retro.toml +1 -1
  16. package/data/harnesses/code/harness.json +2 -2
  17. package/data/harnesses/code/hooks/awareness.mjs +69 -0
  18. package/data/harnesses/code/hooks/compliance.mjs +1 -14
  19. package/data/harnesses/code/hooks/lib/approved.mjs +30 -0
  20. package/data/harnesses/code/skills/documentation/references/frontmatter.md +1 -1
  21. package/data/harnesses/code/skills/documentation/templates/Readme.md +2 -0
  22. package/data/harnesses/code/skills/documentation/templates/structure.md +1 -0
  23. package/data/harnesses/code/skills/schema-design/SKILL.md +58 -3
  24. package/data/harnesses/delivery/agents/brainstorm.md +23 -24
  25. package/data/harnesses/delivery/agents/lld-mode.md +3 -5
  26. package/data/harnesses/delivery/agents/maintenance.md +43 -42
  27. package/data/harnesses/delivery/agents/retro.md +1 -1
  28. package/data/harnesses/delivery/codex/agents/brainstorm.toml +24 -24
  29. package/data/harnesses/delivery/codex/agents/lld-mode.toml +6 -5
  30. package/data/harnesses/delivery/codex/agents/maintenance.toml +51 -43
  31. package/data/harnesses/delivery/codex/agents/retro.toml +1 -1
  32. package/data/harnesses/delivery/harness.json +2 -2
  33. package/data/harnesses/delivery/skills/documentation/references/frontmatter.md +1 -1
  34. package/data/harnesses/delivery/skills/documentation/templates/Readme.md +2 -0
  35. package/data/harnesses/delivery/skills/documentation/templates/structure.md +1 -0
  36. package/data/harnesses/etna/agents/brainstorm.md +23 -24
  37. package/data/harnesses/etna/agents/change-review.md +38 -49
  38. package/data/harnesses/etna/agents/lld-mode.md +3 -5
  39. package/data/harnesses/etna/agents/maintenance.md +43 -42
  40. package/data/harnesses/etna/agents/performance-review.md +13 -21
  41. package/data/harnesses/etna/agents/retro.md +1 -1
  42. package/data/harnesses/etna/codex/agents/brainstorm.toml +24 -24
  43. package/data/harnesses/etna/codex/agents/change-review.toml +39 -49
  44. package/data/harnesses/etna/codex/agents/lld-mode.toml +6 -5
  45. package/data/harnesses/etna/codex/agents/maintenance.toml +51 -43
  46. package/data/harnesses/etna/codex/agents/performance-review.toml +13 -21
  47. package/data/harnesses/etna/codex/agents/retro.toml +1 -1
  48. package/data/harnesses/etna/harness.json +2 -2
  49. package/data/harnesses/etna/skills/documentation/references/frontmatter.md +1 -1
  50. package/data/harnesses/etna/skills/documentation/templates/Readme.md +2 -0
  51. package/data/harnesses/etna/skills/documentation/templates/structure.md +1 -0
  52. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "harness": "etna",
3
3
  "name": "etna",
4
- "version": "1.4.4",
4
+ "version": "1.4.5",
5
5
  "files": [
6
6
  ".prettierignore",
7
7
  ".prettierrc.json",
8
8
  ".vscode/settings.json"
9
9
  ],
10
10
  "seeds": [],
11
- "digest": "dca4815bd3d5"
11
+ "digest": "8713f233f073"
12
12
  }
@@ -12,7 +12,7 @@ When creating or updating a feature doc, derive its **`owns:` frontmatter** —
12
12
 
13
13
  ## How to derive the frontmatter
14
14
 
15
- A feature doc's ownership frontmatter is `owns:` (required), `module:` (optional), `keywords:` (required), and `status:` (required). An optional `last-reviewed:` date (stamped whenever the doc is substantively reviewed or updated) gives the `maintenance` agent a staleness signal to rank its audits by — it is tooling metadata, never narrated in the body. `type:` (required — the genre, enum = the template names) and `rev:` (generator-written generation stamp) are the same class: external tooling reads them, sessions **preserve them on edits** and never narrate or inject them. The `maintenance` agent stamps `type:` on docs that predate the key.
15
+ A feature doc's ownership frontmatter is `owns:` (required), `module:` (optional), `keywords:` (required), and `status:` (required). An optional `last-reviewed:` date (stamped whenever the doc is substantively reviewed or updated) gives the `maintenance` agent a staleness signal to rank its audits by — it is tooling metadata, never narrated in the body. `type:` (required — the genre, enum = the template names) and `rev:` (generator-written generation stamp) are the same class: external tooling reads them, sessions **preserve them on edits** and never narrate or inject them. The `maintenance` agent stamps `type:` on docs that predate the key. `slug:` completes the set on generated docs: the identity key, minted once at creation and never re-derived from a display name — in the repo the filename is the slug, and the `maintenance` agent re-aligns the two when they diverge.
16
16
 
17
17
  **1. `owns:`** (the path scope)
18
18
 
@@ -30,6 +30,8 @@ One file per template. Every template is either a **truth document** (states cur
30
30
  | Backlog | [backlog.md](backlog.md) | Record (append-only) |
31
31
  | Memory (main agent) | [memory-main.md](memory-main.md) | Record (append-only ledger) |
32
32
 
33
+ **The `type:` enum lives here.** A doc's `type:` frontmatter takes its value from this table — one genre per template (`feature`, `architecture-decision`, `non-goals`, …). External generators consume this list rather than defining their own; a type this table does not name defaults to `docs/architecture/` placement and is never added to the protected-files list.
34
+
33
35
  **Baseline scaffolds** — files that must exist after every baseline; the `maintenance` agent (baseline mode) creates any that are missing: [docs-readme.md](docs-readme.md), [structure.md](structure.md), [changelog-index.md](changelog-index.md), [backlog.md](backlog.md), [memory-main.md](memory-main.md), and [root-readme.md](root-readme.md) (never overwriting an existing root README).
34
36
 
35
37
  **Ownership.** A feature doc is the canonical reference for the code paths in its **`owns:` frontmatter** — the only ownership key. To find what a doc owns, read its `owns:` globs; to find the doc for a path, match the path against the injected ownership index (the union of every feature's `owns:` globs), narrower glob wins. See [`../references/frontmatter.md`](../references/frontmatter.md) for turning code into `owns:` globs.
@@ -31,6 +31,7 @@ Each topic has one canonical location. Read from here, not from plans or changel
31
31
  | Historical plans | `docs/history/plans/` | YYYY-MM-DD-name.md |
32
32
  | Change records | `docs/history/changelog/` | `YYYY-MM-DD-{three-words}.md` — one per unit of work, written at commit time |
33
33
  | Migration runbooks | `docs/history/migrations/` | YYYY-MM-DD-name.md |
34
+ | Session gate logs | `docs/history/sessions/` | `YYYY-MM-DD-{sid}.md` — machinery-written; denials and their resolutions, appended, never edited down |
34
35
  | Deep-research artifacts | `docs/history/research/{topic}/` | README.md + findings.md + sources.md |
35
36
  | Brainstorm design records | `docs/research/{topic}-brainstorm/` (active; legacy `-brainstorming/`) → `docs/history/brainstorms/{topic}/` (harvested; user deletes or commits) | thesis.md + forks.md + ledger.md + state.md |
36
37
  | Backlog | `docs/history/` | backlog.md |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurix/etna",
3
- "version": "0.19.67",
3
+ "version": "0.19.69",
4
4
  "description": "Bootstrap a project with a Nurix harness — copies the harness's CLAUDE.md, skills, agents, rules, and hooks directly into the project from a bundled payload (no marketplace fetch, no network).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,5 +42,5 @@
42
42
  "agent",
43
43
  "plugin"
44
44
  ],
45
- "etnaFingerprint": "546f4bccb873"
45
+ "etnaFingerprint": "67265cb7e0bf"
46
46
  }