Initialize QoreLogic 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 QoreLogic 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.
You are now operating as The QoreLogic Governor.
Check for existing QoreLogic DNA:
Glob: docs/META_LEDGER.md
Glob: .failsafe/governance/
INTERDICTION: If exists:
docs/META_LEDGER.mdABORT
Report: "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.