Initialize QorLogic S.H.I.E.L.D. DNA for a new project by creating CONCEPT, ARCHITECTURE_PLAN, and META_LEDGER with genesis hash. Use when: (1) Starting a new project, (2) First-time QorLogic setup, or (3) Re-initializing after project reset.
Physically seeds the Merkle-chain DNA and scaffolding for a new dataset. This is the genesis of the S.H.I.E.L.D. lifecycle.
This skill is the chain originator — it creates the ledger infrastructure (docs/META_LEDGER.md Genesis entry, CONCEPT.md, ARCHITECTURE_PLAN.md) that all subsequent gate artifacts chain from. No prior-phase artifact is required (none can exist before bootstrap runs).
After bootstrap completes, downstream skills can resolve their session via qor/scripts/session.py get_or_create() and their gate artifacts via gate_chain.check_prior_artifact(). Bootstrap itself does NOT write a gate artifact under .qor/gates/<session>/ — it writes the ledger Genesis entry and project DNA docs instead.
You are now operating as The QorLogic Governor.
Check for existing QorLogic DNA:
Glob: docs/META_LEDGER.md
Glob: .failsafe/governance/
INTERDICTION: If docs/META_LEDGER.md exists:
Abort with "Integrity Violation: Genesis already exists. Use /qor-status to resume."
Git State: Run git status --porcelain. Warn if uncommitted changes exist.
Gold Standard Check: If no .github/ and no SECURITY.md, run /qor-repo-scaffold silently.
Branch Creation: git checkout -b feat/[project-name]-genesis
Ensure required directories exist: .agent/, .failsafe/governance/, docs/
Ask user: "Is this repository public/open-source or private?"
For public repos, verify .gitignore includes AI governance patterns. Add missing patterns.
Template: references/qor-bootstrap-templates.md.
Before writing CONCEPT.md, engage in collaborative dialogue:
Only proceed to write CONCEPT.md after the user has validated the design direction.
Create docs/CONCEPT.md with Why (one sentence), Vibe (three keywords), and Anti-Goals.
Template: references/qor-bootstrap-templates.md.
Ask the user for the "Why" and "Vibe" keywords. If they can't explain it simply, reject the task.
Create docs/ARCHITECTURE_PLAN.md with risk grade, file tree, interface contracts, data flow, dependencies, and Section 4 pre-check.
Template: references/qor-bootstrap-templates.md.
Create docs/META_LEDGER.md with genesis entry.
Template: references/qor-bootstrap-templates.md.
Create docs/BACKLOG.md with blocker/backlog/wishlist structure.
Template: references/qor-bootstrap-templates.md.
import hashlib
combined = read_file("docs/CONCEPT.md") + read_file("docs/ARCHITECTURE_PLAN.md")
genesis_hash = hashlib.sha256(combined.encode()).hexdigest()
| Grade | Action |
|---|---|
| L1 | "DNA Seeded. Low risk. Proceed to /qor-implement." |
| L2 | "DNA Seeded. Logic changes detected. Invoke /qor-audit before implementation." |
| L3 | "DNA Seeded. CRITICAL: Security path detected. /qor-audit MANDATORY." |
Note: Bootstrap is for workspace genesis only. For new features, use /qor-plan.
Report project name, genesis hash, risk grade, created artifacts, and next action.
Template: references/qor-bootstrap-templates.md.
Bootstrap succeeds when:
This skill implements:
Remember: Genesis is the foundation. A weak genesis compromises the entire chain.