hex-core
Shared reference library for the hex swarm-orchestration bundle - worker role registry, model capability matrix, swarm protocol vocabulary, and the .agents/memory/hex.md memory spec. Not invoked directly; the hex-plan, hex-execute, hex-review, hex-architect, and hex-init skills link into it.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 15
- Forks
- 1
01 前言 Front Matter
- name
- hex-core
- license
- Apache-2.0
- metadata
- { "summary": "Shared reference library for the hex swarm bundle", "keywords": "swarm,orchestration,workers,models,protocol,memory,library", "repository": "https://github.com/michael-herwig/arcana" }
- description
- Shared reference library for the hex swarm-orchestration bundle - worker role registry, model capability matrix, swarm protocol vocabulary, and the .agents/memory/hex.md memory spec. Not invoked directly; the hex-plan, hex-execute, hex-review, hex-architect, and hex-init skills link into it.
- disable-model-invocation
- true
02 资源文件 24
- 参考文档references/adversary.md11.9 KB
- 参考文档references/archive.md26.9 KB
- 参考文档references/checklist.md7.8 KB
- 参考文档references/config.md36.4 KB
- 参考文档references/decompose.md5.9 KB
- 参考文档references/finalize.md44.7 KB
- 参考文档references/loop.md12.2 KB
- 参考文档references/memory.md19.8 KB
- 参考文档references/models.md2.5 KB
- 参考文档references/protocol.md31.1 KB
- 参考文档references/resources.md4.5 KB
- 参考文档references/severity.md2.2 KB
- 参考文档references/verify.md5.5 KB
- 参考文档references/workers.md7.4 KB
- 参考文档references/workers/architect.md1.6 KB
- 参考文档references/workers/architecture-explorer.md1.3 KB
- 参考文档references/workers/builder.md1.9 KB
- 参考文档references/workers/doc-reviewer.md1.3 KB
- 参考文档references/workers/explorer.md753 B
- 参考文档references/workers/researcher.md2.3 KB
- 参考文档references/workers/reviewer.md3.6 KB
- 参考文档references/workers/simulator.md3.1 KB
- 参考文档references/workers/tester.md1.9 KB
- 参考文档references/worktree.md11.5 KB
03 SKILL.md 正文
hex-core — Shared Reference Library
hex-core is the library skill of the hex swarm bundle. It holds the
vocabulary and contracts every other hex skill builds on, kept in one
place so they never drift apart. It is never invoked directly — there
is no orchestration flow here and no $ARGUMENTS. The orchestrator skills
(/hex-plan, /hex-execute, /hex-review, /hex-architect) and
/hex-init link into these references.
References
| Reference | Holds |
|---|---|
references/protocol.md |
The bundle's spine — shared shape, tier and overlay grammar, the meta-plan approval gate, spawn-selection precedence, worker coordination (workers never wait, the build-job budget, event-driven completion, degraded modes), traceability IDs, untrusted-text echoes, the constitution gate, the handoff contract, and the per-run upkeep step: what every mode needs. Also carries the load map (which mode opens which sibling beyond the spine) and the what-moved-where pointer table into the six sibling files below, which now hold the per-topic contracts protocol.md used to carry directly. |
references/loop.md |
The canonical Review-Fix Loop (### The last-reviewed anchor, ### Anchor validation, ### Delta round scope, ### The diminishing-returns stop) and the Convergence contract. Conditional-load — see protocol.md's load map for which modes open it. |
references/decompose.md |
Parallel-by-default decomposition — pipelines of steps cut along contracts, the contract wave, the Parallelization table, the schedule log. Conditional-load — see protocol.md's load map for which modes open it. |
references/worktree.md |
Pipeline worktree mechanics. Conditional-load — see protocol.md's load map for which modes open it. |
references/verify.md |
Verification. Conditional-load — see protocol.md's load map for which modes open it. |
references/adversary.md |
The adversary contract. Conditional-load — opened only when adversary=on; see protocol.md's load map. |
references/severity.md |
Finding severity. Conditional-load — see protocol.md's load map for which modes open it. |
references/workers.md |
The worker role index plus the universal worker protocol; full personas (mission, spawn-prompt template, focus modes, output contract) live one file per role under references/workers/ — explorer, architecture-explorer, researcher, builder, tester, reviewer, doc-reviewer, architect, simulator. Orchestrators load only the personas in the resolved spawn set. Workers are prompt blocks the orchestrator copies into a subagent, not shipped agent files. |
references/models.md |
The one model matrix for the whole bundle: the four capability classes (light, standard, standard-high, deep) and the recommended class per role, plus the escalation and instantiation rules. No model guidance lives anywhere else in hex. |
references/memory.md |
The .agents/memory/hex.md memory spec: the three sections and their per-section ownership, resolution order, a complete example file, plus the editing, destination-choice, and staleness rules. |
references/config.md |
The hex.md › Preferences config vocabulary — keys, defaults, merge rules. Conditional-load — read only when hex.md › Preferences contains a fenced yaml block. |
references/archive.md |
The spec fold-back mechanics — delta grammar, destination resolution, the safety envelope and its four commands, halt semantics, idempotence and the fold receipt, revert, and the plan archive. Sole definition site; hex-execute, hex-review, and protocol.md link here. Conditional-load — read only when the plan under review carries a ## Spec Deltas block. |
references/finalize.md |
The remote-rights boundary — the act set and its branch scoping, the consent model, the literal force-push form, the backup-ref armed/inert lifecycle, remote verification and its ceilings, re-entry, the degrade ladder, the trust classes, the pre-flight halt texts, and the placeholder-substitution rule. Sole definition site; every bundle-wide remote-rights qualifier links here. Conditional-load — read only when finalizing a branch or resolving a remote-rights qualifier. |
references/resources.md |
The resource knob sheet — the job budget, gate-only tools, never-wait, worktree cleanup, and the per-ecosystem knob sheet. Sole definition site; hex never defines how to verify a project. Conditional-load — read only when a run will build or test. |
How sibling skills reference this
Every hex skill installs as a sibling under the client's skills directory, so references resolve by relative path:
See [`../hex-core/references/protocol.md`](../hex-core/references/protocol.md).
If hex-core is not installed, add it:
grim add ghcr.io/michael-herwig/arcana/hex-core:latest
Cross-skill mentions elsewhere use the command form: /hex-init,
/hex-discuss, /hex-loop, /hex-plan, /hex-execute, /hex-review,
/hex-architect, /hex-finalize.
04 同仓库更多 Skills
rca
Use when a bug ticket, GitHub issue or error report needs a root cause analysis before code is touched — "is this a bug", "why does this fail". Read-only. Gives a verdict (bug or not-a-bug kind), file:line evidence, ruled-out hypotheses, other affected sites, fix direction and size. A ticket, not a diff (hex-review).
fix
Use when a bug ticket or GitHub issue should go from report to an approved fix plan — "plan a fix", "fix this issue". Root-causes it via rca, then plans in plan mode with the failing regression test first. Routes to hex-plan instead when the fix is large or moves an interface contract.
p9-skill
Principle 9 differential fixture skill (v2).
p9-member
Bundle member skill for the Principle 9 fixture (v2).
p9-hookish
Hook-free skill carrying an ignored hook.toml (v2).
p9-skill
Principle 9 differential fixture skill (v1).