core/skills/core-bootstrap.md
Shay 717c6a334a
CGA Substrate Migration & Pack Registry Consolidation (#929)
* fix: final cleanups for CGA substrate migration PR

- Update UI test fixtures to packs/data paths
- Clean CLAUDE.md/GEMINI.md to minimal per AGENTS.md
- Refactor fraction geometric construction into dedicated helper in problem_frame_contracts.py
- No TODOs left in code; notes in PR description

This completes the mechanical readiness for the CGA substrate + registry consolidation work.

* docs: include PR description for review

* chore: enforce forgejo tooling in AGENTS.md

* docs: update bootstrap skill and add git-forgejo config doc per new rules

* docs: remove deprecated git-forgejo wrapper docs

* chore: ignore local .mcp.json configuration file

* fix(ui): remove unsupported assessment.bindings usage to fix TS2339/TS7006 in constructionEvidencePanelModel
2026-07-05 15:36:11 -07:00

40 lines
2.2 KiB
Markdown

---
name: core-bootstrap
description: Mandatory statelessness compensation, workspace hygiene, clean-baseline setup, smoke test, and recent handoff check for CORE. Auto-invoked on session/subagent start.
triggers: ["session_start", "new_subagent", "arena_spawn"]
auto_invoke: true
---
Execute the full **Session Start Checklist** from GROK.md in strict order, including the **Workspace Hygiene + Branch/Worktree Protocol**.
**Important:** We use plain `git` (with insteadOf forwarding to Forgejo) and never `gh`. See AGENTS.md and `docs/dev/git-forgejo.md` for the required global config and setup.
1. Read GROK.md in full.
2. Read AGENTS.md in full.
3. Read docs/specs/runtime_contracts.md in full.
4. Confirm project root:
- `pwd`
- `git rev-parse --show-toplevel`
- verify `GROK.md` and `AGENTS.md` exist.
5. Inspect local state before any branch movement:
- `git status --short --branch`
- `git diff --stat`
- `git diff --name-status`
- `git diff --cached --name-status`
- `git stash list`
- `git worktree list`
6. If dirty, classify every changed or untracked file before switching branches. Unknown work must be preserved with a descriptive stash, not destroyed.
7. Fetch current repository state:
- `git fetch origin --prune`
8. If starting new work, establish clean current main:
- `git switch main`
- `git pull --ff-only origin main`
9. For non-trivial implementation, create a fresh worktree from `origin/main` unless the user explicitly requests same-worktree work.
10. Run `core test --suite smoke -q` and report pass/fail. If unavailable, report the exact failure and use repo-native pytest lanes.
11. Check for and read any `HANDOFF-*-YYYY-MM-DD.md` from the last 3 days.
12. Check recent open PRs if local changes or task continuity are ambiguous:
- Use the Forgejo web UI: https://core-gitquarters.acbcontent.org/forgejo_admin/core/pulls
- Or `git fetch origin --prune && git branch -r | head -20` for remote branches.
13. State task scope in one clear sentence before any further action.
This skill must complete successfully before any editing, proposal, or subagent work. It is non-bypassable for Grok 4.3 / Grok Build sessions on CORE.