refactor(doctrine): C2 coherence — 30 doctrine/skill tensions resolved, doctrine wins (BDR-099)
One ask policy; mandated executors exempt from the delegation rule; skill plan satisfies the planning rule; journal line exempt from the approval gate; chore = maintenance without new behaviour; small fix on develop = bugfix; BDR-068 written as the one auto-finish exception; deploy routes to /deploy. Skills and agents follow: hotfix types by base + skips the design gate on trivial; capitalize/close create missing registries; commit-change asks the branch type; doc/seo/web-validate/refactor branch through the aiguillage; tour reports BREAKING fixes as needs-decision and runs doc-syncer two-mode; client-handover applies audit bundles from its main loop behind one gate; init-project/onboard use the 200-file graphify signal and bootstrap memory; release-candidate gates the tag push only; push wording aligned with the BDR-095 hooks; stale pointers fixed (§ Language, .gsd/ROADMAP.md, handover script path, design-gate lists).
This commit is contained in:
@@ -28,14 +28,17 @@ digraph pipeline {
|
||||
|
||||
## STEP 0: Dependencies
|
||||
|
||||
Check before starting. Install what's missing.
|
||||
Check before starting. If something is missing, print the install
|
||||
command(s) and STOP until the user has run them — `sudo` / `apt` is the
|
||||
user's to run, never Claude's. The one exception: `pip install pymupdf`
|
||||
inside the project's own venv may be run by Claude.
|
||||
|
||||
```bash
|
||||
# Option A: poppler (lighter)
|
||||
command -v pdftoppm && echo "OK" || echo "INSTALL: sudo apt install poppler-utils"
|
||||
# Option A: poppler (lighter) — USER runs the install
|
||||
command -v pdftoppm && echo "OK" || echo "USER RUNS: sudo apt install poppler-utils"
|
||||
|
||||
# Option B: PyMuPDF (more powerful — extracts embedded images with coordinates)
|
||||
python3 -c "import fitz; print('OK')" 2>/dev/null || echo "INSTALL: pip install pymupdf"
|
||||
python3 -c "import fitz; print('OK')" 2>/dev/null || echo "INSTALL: pip install pymupdf (project venv only — otherwise USER RUNS)"
|
||||
```
|
||||
|
||||
Prefer PyMuPDF if both available — it extracts embedded images + gives page dimensions.
|
||||
|
||||
Reference in New Issue
Block a user