Parent
docs/issues/unic-archon-dlc/PRD.md
What to build
Expand the install hook from the tracer slice to cover every configuration tier and write the full docs/agents/ set. The hook remains idempotent and additive: re-running it fills in only what is missing.
In scope:
- Skippable tier: e2e test command. If the user defers, the config records
e2e_command: null and the hook can fill it in on a later run.
- Defaulted tier (no prompt unless
--reconfigure): model profile (balanced), TDD mode (on), Nyquist validation (on), slopsquatting gate (on).
- Label configuration tier (canonical → tracker string mapping):
- State labels:
needs-triage → needs-info → needs-specs → ready-for-agent / ready-for-human → resolved → closed (or rejected). Canonical role names match docs/agents/triage-labels.md from this repo.
- Type labels:
feature, bug, spike, tech-debt, docs.
- Priority labels:
p0, p1, p2, p3.
- Each canonical name is mapped to the actual string used in the project's tracker.
- Multi-context detection: if
CONTEXT-MAP.md exists at repo root, the hook records repo_layout: "multi-context" and discovers per-context CONTEXT.md paths; otherwise "single-context" with the root CONTEXT.md path.
docs/agents/ outputs (write or update — never clobber unrelated content):
issue-tracker.md — already written in slice 1; expand with backend-specific create/update conventions.
labels.md — three-tier taxonomy with canonical-to-string mappings for the chosen tracker.
branching.md — chosen strategy, default branch names, PR target conventions.
domain.md — single-context vs multi-context layout, CONTEXT.md and ADR locations.
workflow.md — maps each of the six workflow phases to its artifact outputs and docs/workflow/ paths.
CLAUDE.md update: append (or update in place) an ## Agent skills block listing each docs/agents/*.md file with a one-line hook. If the block already exists, refresh its contents idempotently.
- Reasonable defaults applied automatically when the tracker is local markdown (canonical strings == tracker strings).
Out of scope: workflow YAML or command file contents (later slices).
Acceptance criteria
Blocked by
PRD: docs/issues/unic-archon-dlc/PRD.md
Migrated from: docs/issues/unic-archon-dlc/02-full-install-hook-and-agent-docs.md (source removed after migration)
Touched by PRs: #33
Parent
docs/issues/unic-archon-dlc/PRD.mdWhat to build
Expand the install hook from the tracer slice to cover every configuration tier and write the full
docs/agents/set. The hook remains idempotent and additive: re-running it fills in only what is missing.In scope:
e2e_command: nulland the hook can fill it in on a later run.--reconfigure): model profile (balanced), TDD mode (on), Nyquist validation (on), slopsquatting gate (on).needs-triage→needs-info→needs-specs→ready-for-agent/ready-for-human→resolved→closed(orrejected). Canonical role names matchdocs/agents/triage-labels.mdfrom this repo.feature,bug,spike,tech-debt,docs.p0,p1,p2,p3.CONTEXT-MAP.mdexists at repo root, the hook recordsrepo_layout: "multi-context"and discovers per-contextCONTEXT.mdpaths; otherwise"single-context"with the rootCONTEXT.mdpath.docs/agents/outputs (write or update — never clobber unrelated content):issue-tracker.md— already written in slice 1; expand with backend-specific create/update conventions.labels.md— three-tier taxonomy with canonical-to-string mappings for the chosen tracker.branching.md— chosen strategy, default branch names, PR target conventions.domain.md— single-context vs multi-context layout, CONTEXT.md and ADR locations.workflow.md— maps each of the six workflow phases to its artifact outputs anddocs/workflow/paths.CLAUDE.mdupdate: append (or update in place) an## Agent skillsblock listing eachdocs/agents/*.mdfile with a one-line hook. If the block already exists, refresh its contents idempotently.Out of scope: workflow YAML or command file contents (later slices).
Acceptance criteria
docs/agents/*.mdfiles plus the## Agent skillsblock inCLAUDE.md..archon/unic-dlc.config.jsonincludes all label tiers, e2e command (ornull), defaulted fields, andrepo_layout.CONTEXT-MAP.md) is detected and recorded; single-context repo records the rootCONTEXT.mdpath.--reconfigureis passed.CLAUDE.mdalready has an## Agent skillsblock, it is refreshed without duplicating sections or destroying neighbouring content.docs/agents/*.mdmatches the canonical-to-tracker mapping in.archon/unic-dlc.config.json(no drift between machine and human readable).Blocked by
PRD:
docs/issues/unic-archon-dlc/PRD.mdMigrated from:
docs/issues/unic-archon-dlc/02-full-install-hook-and-agent-docs.md(source removed after migration)Touched by PRs: #33