diff --git a/.compound-engineering/config.yaml b/.compound-engineering/config.yaml new file mode 100644 index 0000000..e7c9ecd --- /dev/null +++ b/.compound-engineering/config.yaml @@ -0,0 +1,13 @@ +# Compound Engineering -- repo config (CE program stage 3, written by ce-bootstrap-repo.sh) +# Plan: ~/.claude/plans/ce-program/PLAN.md +docs_root: docs/ce +cross_model_review_mode: off +plan_model: fable +brainstorm_model: fable +plan_skip_scoping_confirm: true +packs: + - source: ~/ai-wiki/compound-packs/floor-decisions + - source: ~/ai-wiki/compound-packs/claude-rules + - source: ~/ai-wiki/compound-packs/lessons + - source: ~/ai-wiki/compound-packs/hook-authoring + - source: ~/ai-wiki/compound-packs/officer-standards diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..22673d7 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,10 @@ +# writ-core + + +## Compound Engineering loop + +Work here runs the CE loop: `/ce-plan → /ce-work → /ce-code-review → /ce-commit-push-pr`. +PRs are merged by `~/.claude/scripts/ce-merge-pr.sh -R `, not by hand. +CE artifacts (plans, solutions, brainstorms) live under `docs/ce` (`.compound-engineering/config.yaml`). +Review criteria: `CODING_STANDARDS.md`. New repo? `ce-bootstrap-repo.sh --kind `. + diff --git a/CODING_STANDARDS.md b/CODING_STANDARDS.md new file mode 100644 index 0000000..6254215 --- /dev/null +++ b/CODING_STANDARDS.md @@ -0,0 +1,10 @@ +# Coding Standards + +Review criteria for every change in this repository (`ce-code-review` grades diffs against this file; +`ce-plan` and `ce-work` read it as project instructions). Floor-wide rules come from the Compound +Packs in `.compound-engineering/config.yaml`. Repo kind: go. Stub: extend it as the repo's rules are written down. + +- Conventional commit subjects typed by intent; one unit of work per commit. +- No secrets, tokens, private keys or `.env` content in any commit or doc; reference a credential by its SOPS key. +- No hard-coded homelab addresses (`192.168.1.x` is temporary); name hosts by SSH alias or inventory name. +- A PR is not done until CI has decided.