13 manual scenarios run across instructions and governance layers (two rounds for failures). Fixed four rules that lost to RLHF defaults: - Exploratory question format: tightened with boundary framing; added @import CONTEXT.md to repo CLAUDE.md and a standing rule to check docs/adr/ and ROADMAP resolved entries before answering design questions (3-round iteration to resolve) - File-edit intent: added counter-example to stop clarification-seeking - Push confirmation: reframed as "do not call the tool" not "ask first" - Secrets rule: extended to cover credential reproduction in response text and usage examples, with explicit placeholder requirement Scenario 4 (push confirmation) inconclusive — no remote configured. Governance scenario 3 (HITL on real infra) untestable — Nginx not installed. Both share the same root cause: agent delegates to permission system. Also corrects stale skill list in docs/spec/overview.md (12 actual deployed skills vs 16 names previously listed). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3.3 KiB
Warning
This is the repo meta-config. It tells Claude how to work inside this repository itself — structure, conventions, how to add skills/workflows/providers.
It is NOT the global config deployed to
~/.claude/. That file lives atproviders/claude-code/CLAUDE.md. Do not conflate the two.
Working in this repo
This repo is the global AI development configuration repository — the authoritative source for agent definitions, skills, workflows, and prompts across all projects.
Structure
core/— provider-agnostic source of truth (plain language, no tool-specific references).agents/skills/— canonical skills location (Agent Skills standard); deployed to~/.agents/skills/viainstall.shproviders/claude-code/— Claude Code adapter (deployed to~/.claude/viainstall.sh)docs/— project documentation, PRDs, and issuesscripts/— install.sh (sync.sh and init-project.sh come in Chunk 6)tests/— test scripts
Key documents
@CONTEXT.md
Read these on demand:
docs/VISION.md— purpose, goals, and long-term Management Application visiondocs/spec/overview.md— current deployed state; what works todaydocs/spec/architecture.md— current directory structure, install pipeline, provider modeldocs/ROADMAP.md— chunk status table and open questions; read this to orient on where work standsdocs/adr/— architectural decisions; read before answering design questions or proposing structural changesdocs/ai-constitution.md— full governance evidence base; read when a governance decision needs justificationdocs/HUMANS.md— human practitioner checklist; applies when working with AI tools in this repo- Governance workstream —
core/instructions/governance.md(agent rules), loaded via@importinproviders/claude-code/CLAUDE.md;docs/research/governance_principles/CONTROLS.md(Phase 2 enforcement spec, Chunk 6)
Key rules
core/content must use plain imperative language — no tool names, provider APIs, or format assumptions- Never edit files deployed by
sync.shdirectly in a project; put customizations in override files providers/claude-code/CLAUDE.mdis the deployed global config — edit it there, not here- Governance constraints from
core/instructions/governance.mdapply when building content in this repo — hard prohibitions on secrets and data, HITL requirements before irreversible actions, sycophancy resistance, and deterministic execution preference are always in effect
Chunk development workflow
Each chunk follows this sequence:
/grill-with-docs— grill vision/context before writing anything/to-prd— write the PRD from the grilling output/to-issues— break PRD into issues (docs/issues/until Gitea is set up)/tdd— implement each issue using TDD/improve-codebase-architecture— architecture review after implementation- Start a new session before the next chunk
Don't skip /tdd — it's the easy one to forget.
Working context
This repo is built by a junior developer as a homelab tool intended to scale to professional environments. Challenge ideas and reference industry standards rather than validate assumptions. Explain the why behind decisions — assume the user is learning, not just executing. Flag significant actions before taking them.