Add frontmatter registry doc + thin frontmatter CRUD skill #293
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#293
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
From the 2026-08-06 file_locked grill session (follow-on to #292). cc-os has accumulated ad-hoc frontmatter metadata keys with no canonical registry: lint-style (os-sdlc), file_locked (#292 hook), hygiene: frozen (os-doc-hygiene), plus cc-architect's skill/agent frontmatter conventions. Decision: a canonical registry REFERENCE DOC plus ONE thin skill, not per-key skills.
Deliverable 1: registry doc
Co-located with the hook's owner: plugins/os-status/references/frontmatter-registry.md (or the 'os' successor plugin if the merge ticket has landed). Contents: every recognized metadata key, which file types it applies to (per-type attribute tables + global keys), exact format, and copy formulas (paste-ready examples). Documents at minimum: file_locked, lint-style, hygiene. cc-architect's references/conventions docs gain a cross-reference pointing here — cc-architect and other plugins defer to this registry when creating/editing markdown frontmatter, they do not duplicate it.
Deliverable 2: thin CRUD skill
One skill for all frontmatter CRUD; its body is mostly 'Read the registry, then apply it'. The skill DESCRIPTION must be written so plain phrases trigger it without the user remembering the word frontmatter — include triggers like 'lock this file', 'unlock this file', 'add/edit frontmatter', 'set lint-style'. The user should never need to memorize the skill name; the description does the remembering.
Constraints
Work started on main: adding plugins/os/references/frontmatter-registry.md + /os:frontmatter skill per ticket spec.
Resolution
Done: Registry doc plugins/os/references/frontmatter-registry.md (file_locked, hygiene, lint-style) + thin /os:frontmatter-edit skill; cc-architect layout docs cross-reference the registry.
Evidence: Commit
cd5e4f3on main; both os test suites green; every registry claim verified against its reader (pre_tool_use.py, scanner.py _is_frozen, config.rb metadata_value).Follow-ups: Symmetric registry cross-refs from os-doc-hygiene/os-aidd-lint docs considered and dropped — ticket scoped cross-refs to cc-architect only.