Create AGENTS.md at repo root and core/AGENTS.md as provider-agnostic sources of always-on rules. Slim both CLAUDE.md files to thin adapters. Deploy core/AGENTS.md → ~/.agents/AGENTS.md via deploy-manifest.sh. Update three test suites to check correct locations post-refactor. All automated tests pass (57 instructions, 106 install, 25 governance). HITL behavioral test plan in test-instructions-and-docs.sh scenarios 9–12. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
27 lines
871 B
Bash
27 lines
871 B
Bash
#!/usr/bin/env bash
|
|
# Deployment manifest — sourced by install.sh and sync.sh (Chunk 6).
|
|
# All paths: src relative to REPO_ROOT, dest relative to HOME.
|
|
# Format: "src:dest"
|
|
|
|
# Individual files — copied verbatim
|
|
DEPLOY_FILES=(
|
|
"providers/claude-code/CLAUDE.md:.claude/CLAUDE.md"
|
|
"providers/claude-code/settings.json:.claude/settings.json"
|
|
"core/AGENTS.md:.agents/AGENTS.md"
|
|
)
|
|
|
|
# Files that also need the executable bit set
|
|
DEPLOY_EXECUTABLES=(
|
|
"providers/claude-code/statusline-command.sh:.claude/statusline-command.sh"
|
|
)
|
|
|
|
# Directories — destination is fully replaced on each deploy (rm -rf + cp -r)
|
|
DEPLOY_DIRS=(
|
|
"core:.claude/core"
|
|
)
|
|
|
|
# Skills — merged per-skill into canonical location (parent not wiped, user skills preserved)
|
|
DEPLOY_SKILLS_SRC=".agents/skills"
|
|
|
|
# Provider skill adapters are declared in providers/*/provider-manifest.sh, not here.
|