CI / build (push) Has been cancelled
- Archive 79 completed framework-dev tasks from tasks/ -> tasks/complete/ - status.py: add --cleanup-done and --install-cleanup-schedule commands - Add scripts/automaton-cleanup.sh for periodic task archiving - Dashboard: rename 'Background' tab -> 'Agent', 'Cleanup' agent -> 'Completed Task Archiver', remove redundant group headers and pill badges, dim inactive agent placeholders - .rules.md: add Self-Documenting UI Names rule - New tests: test_cleanup_done.py, expanded test_app.py and test_task.py
1.3 KiB
1.3 KiB
Harden Enforcement Layers Implementation
Summary
Added pre-push hook, install-hooks.sh, plugin auto-registration, and prompt pre-edit checks to harden all enforcement layers.
Changes
New Files
scripts/git-hooks/pre-push— Blocks pushes when no task is in edit-allowed phase; catches--no-verifybypassesscripts/install-hooks.sh— Installs pre-commit + pre-push hooks into a projectscripts/register-guards.sh— Auto-detects opencode/pi dev harnesses and registers guard plugins
Modified Files
contracts/harness-integration.md— Updated to 4-layer enforcement model (added pre-push)prompts/doc_review.md— Added pre-edit check section (MANDATORY)prompts/implement.md— Added pre-edit check section (MANDATORY)prompts/orchestrate.md— Added task creation section with clock-touch instructionsscripts/install.sh— Calls register-guards.sh post-install; updated hook installation docsscripts/update.sh— Calls register-guards.sh; auto-installs hooks in current projectscripts/upgrade.sh— Installs both pre-commit and pre-push hooks (previously pre-commit only)system-prompt.md— Added hook verification step and task-required-before-edits rulescripts/git-hooks/pre-commit— Cleaned up error messages (removed bypass/upgrade instructions)