docs(claude): rewrite agent context for Veect
Project overview and Read First now describe the Veect control plane (hosted design-to-code SaaS, ADR-027/028/029, docs/product/ as the authoritative spec bundle, glossary Veect-domain vocabulary). The versioning bullet reflects the root-only release-please policy, the Quick Start conformance-rule miscount reads sixteen, and the Read First qualifiers acknowledge events/realtime/audit cores are scaffolded. Also retargets .claude/hooks/prompt-context.sh's Releases pointer from the retired hybrid per-package scheme to the root-only policy and prunes its deleted-feature tag examples (story 02 follow-up flag). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016j8z4VHjedXDTjEDNg7qHK
This commit is contained in:
@@ -41,7 +41,7 @@ if echo "$prompt" | grep -qE 'commit|message|changelog|conventional'; then
|
||||
inject+=('Conventional Commits (non-negotiable): <type>(<scope>): <imperative subject> (≤72 chars). Types: feat|fix|docs|style|refactor|test|chore|perf|ci|build|revert. Use `!` for breaking changes. Body explains WHY if non-obvious. Examples: feat(auth): hash password before persisting; refactor(docs)!: consolidate scaffolding into guides. See CLAUDE.md Key Conventions.')
|
||||
fi
|
||||
if echo "$prompt" | grep -qE 'release|version|bump|semver|tag\b'; then
|
||||
inject+=('Releases: ADR-021 + docs/guides/releasing.md. Hybrid versioning — root template (template-v...) + 5 feature packages (auth-v..., blog-v..., etc.) version independently from 0.1.0. release-please reads Conventional Commits and opens a rolling release PR on every push to main; merging cuts per-package tags. Bump targeting is by commit-path, not (scope). Pre-1.0 policy: feat: -> patch, feat!: -> minor.')
|
||||
inject+=('Releases: ADR-021 + docs/guides/releasing.md. Root-only versioning (the ADR-027 retrofit superseded the hybrid scheme) — release-please tracks a single root product version from 0.1.0 with plain v* tags. It reads Conventional Commits and opens a rolling release PR on every push to main; merging cuts the tag (v0.2.0) + GitHub release. Every commit path bumps the root; no per-package versions. Pre-1.0 policy: feat: -> patch, feat!: -> minor.')
|
||||
fi
|
||||
if echo "$prompt" | grep -qE 'refactor|deepening|shallow|architecture|seam|adapter|interface design|design it twice'; then
|
||||
inject+=('Architecture refactors: invoke the improve-codebase-architecture skill (.claude/skills/improve-codebase-architecture/SKILL.md). Vocabulary: module (= feature by default in this repo) / interface / seam / adapter / depth / leverage / locality. Process: Explore -> Present numbered candidates -> Grilling loop. Hard constraints: respect ADRs 001-021 (factory-function shape, per-feature DI, manifest-first, generator-first, boundary tags, vendor isolation). Companion files: DEEPENING.md (dependency categories), INTERFACE-DESIGN.md (parallel sub-agent design pattern), LANGUAGE.md (vocab + this-repo identifier mapping).')
|
||||
|
||||
Reference in New Issue
Block a user