refactor: reinforce harness to prevent contract violations

- verify.sh: validate prohibited dirs, gate nomenclature, feature schema, runtime consistency
- orquestra-status: block direct writes to backlog/features.json
- install.sh: add build artifacts to .gitignore template
- AGENTS.md: document prohibited dirs, gate nomenclature, feature schema
- Reset runtime-status to idle state
This commit is contained in:
rikrdo
2026-08-17 18:59:39 +02:00
parent 634525fa21
commit 70ff54cfa3
5 changed files with 103 additions and 138 deletions

View File

@@ -79,16 +79,39 @@ append_gitignore_block() {
local gitignore=$1
touch "$gitignore"
if ! grep -q '^# BEGIN ORQUESTRA$' "$gitignore"; then
cat >>"$gitignore" <<'EOF'
cat >>"$gitignore" <<'INNEREOF'
# BEGIN ORQUESTRA
__pycache__/
*.pyc
.pytest_cache/
.codegraph/
.atl/
# Build artifacts
.next/
dist/
build/
*.log
# Dependencies
node_modules/
# Environment
.env
.env.local
.env.*.local
# IDE
.vscode/
.idea/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# END ORQUESTRA
EOF
INNEREOF
fi
}