feat(profiles): registry + provisioning ×3
CI / ci (push) Canceled after 0s

Profiles S1 (#134, ADR-0014): one gate pass provisions all three
surface profiles — museion adopted in place (never reconfigured; its
glm-5.3-max stays the user's), museion-pass1/-pass2 created fresh with
the #132 sonnet defaults + 24k budget via the hermes 'config set' CLI
rail, marker-gated so a re-pass is a no-op and Settings changes
survive; a failed provision names the profile on the #48 card.

Skills move to ONE master copy under Application Support, symlinked
per profile per the #133 allocation (P1 9 · P2 8 · Chat 10); copy-era
dirs migrate on byte-match (.DS_Store-tolerant, symlink-refusing),
diverged dirs stay copies, user skills untouched (G3a). Backup widens
to one three-subdir stamp, any-live-skip-all; RESTORE.md names the
three folders.

Two review rounds (standards+spec, then finish-audit ponytail/
security/general) caught and fixed: the dead .DS_Store leniency in
treesByteMatch, exit-code-only config-set trust, the swallowed marker
write (defaults-stomp re-arm), symlink-following in the untrusted
tree, and a fixture-skewed count pin. Suite: 412 passed / 414 (fork
flake green in isolation 16/16; UI launch = pre-existing testmanagerd
flake, failed identically pre-change). DOX: Museion/AGENTS.md,
MuseionTests/AGENTS.md, ref/writing skills/AGENTS.md rewritten.

Closes #134
This commit is contained in:
AlexKucera committed 2026-10-27 09:23:56 +01:00
1 parent 2032534305
commit 610f8789bd
15 files changed
+1292 -232

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
## Purpose
The bundled writing-skill set — the mentor's mind as markdown skills. This is the G3a payload: shipped as app resources and seeded additively into `~/.hermes/profiles/museion/skills/` at first run. Spec and member list: PRD.md, "The bundled skill set".
The bundled writing-skill set — the mentor's mind as markdown skills. This is the G3a payload: shipped as app resources, seeded additively into the ONE master copy at `~/Library/Application Support/Museion/skills/` at first run, and symlinked from there into each surface profile per the #133 allocation (Pass 1: 9 · Pass 2: 8 · Chat: 10 — the persona pair never co-occurs). Spec and member list: PRD.md, "The bundled skill set".
## Ownership
@@ -12,7 +12,7 @@ Owned by the root AGENTS.md contract. Vocabulary is bound by CONTEXT.md (Mentor,
- One skill per kebab-case directory holding a `SKILL.md`.
- Frontmatter: `name`, `description` (quoted string), `license: GNU GPLv3`, `metadata` (author, email, version).
- Seeding is additive-only: bundled skills land in the profile if absent; existing profile skills are never overwritten.
- Seeding is additive-only: bundled skills land in the master if absent; existing master skills and profile skills are never overwritten. Copy-era real dirs in a profile migrate to master symlinks only on byte-match (a diverged dir stays a copy); untracked/user skills are never touched.
- `seed-manifest.txt` lists the shipped set — update it when adding or removing a mentor skill. `ste-writing` and `writing-for-agents` stay in ref/ as authoring tools, never seeded.
- Deslop owns the single subtractive rule set; serif-writing owns the method. Other skills reference both; none restates them.
- The persona pair shares three sections verbatim by design (Knife floor, silent learnings, voice anchor) — edit them together or not at all.