check
Run `steepy-formula graph validate` on the canonical Stable Knowledge Graph and report any violations.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-27
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- name
- check
- description
- Run `steepy-formula graph validate` on the canonical Stable Knowledge Graph and report any violations.
- user-invocable
- true
03 SKILL.md 正文
check
Declare the repo's hub mode, validate the canonical Stable Knowledge Graph from the repo root, and report any violations.
Engine root: this skill's base directory is
<engine-root>/skills/check/; engine scripts live two levels up, at<engine-root>/scripts/. Resolve them relative to the base directory your harness reports for this skill.
Procedure
-
Declare the hub mode first. Run
steepy-formula hub-modeand quote itsmode:line —graph,migrate, ornone, each printed with oneevidence:line. The command always exits 0: it is a declaration, not a gate, and this prose never re-implements its detection — the command is the single authority. The declared mode picks the gate:Declared mode Coherence gate graphsteepy-formula graph validate(step 2)migrateStop and tell the user to run the graph-migrateskill (invoke it the way your harness invokes skills) before any other workflow.noneNo hub — nothing to validate. Stop and tell the user to run the initskill (invoke it the way your harness invokes skills) to create one, instead of reporting a coherent hub. -
Validate the graph
First run the model-mapping freshness verifier (before the coherence gate):
node <engine-root>/scripts/verify-model-mappings.mjs- Include the per-row verdicts (
OK | STALE | UNKNOWN) in the check report. STALEmeans the live source shows drift: a human-ratified table patch is needed — the script prints the prepared patch, so surface it in the report as a finding for a human to ratify and apply.UNKNOWNis informational (source unreachable — offline degradation): report it as declared, never as a failure.
Then validate the canonical graph:
steepy-formula graph validate- Exit 0 (
violations: 0, chainclean): report that the canonical graph is coherent — the portable graph invariants and the revision-chain replay both came back clean. - Exit non-zero: list each printed
[CODE] messageviolation clearly and suggest how to fix it (broken structural invariants, nodes unreachable from the Project root, replay findings such as out-of-band writes). - If the user asked about a specific area, optionally spot-check the resolver too —
target-based:
steepy-formula context resolve --target apex:<projectId>:surface:<slug(name)>should still answer for the area's owning surface (surface names from.claude/agents/<name>-agent.md, with CLAUDE.md's Surfaces section as the fallback listing; the project id from the hub-mode declaration'shub-mode '<projectId>'echo;slug(name)lowercase with non-alphanumeric runs collapsed to-).steepy-formula context resolve --path <p>answers only where a topology bridge exists (e.g. a hub migrated throughgraph-migrate); on a freshly graph-first-initialized repo it exits 10 UNRESOLVED — expected, not a violation.
- Include the per-row verdicts (
-
Report — name the declared hub mode, confirm
steepy-formula graph validateran, and whether it is green.
04 同仓库更多 Skills
web-check
Run the web surface checks.
review
Verify implemented work against its spec with real evidence before any "done" claim. Checks the spec's success criteria, runs the surface test command, and runs `steepy-formula graph validate` through the deterministic inline evidence capture.
plan
Turn a local working spec into a step-by-step implementation plan. Each step names the owning surface and specialist agent and the surface test command; the plan is written into .formula/work/plans/ as a gitignored work artifact.
new-surface
Add a surface: render the graph sub-agent and promote Surface + verification Rule + Check into the graph.
loop-engineer
Validate and authorize a gear-4 goal contract, invoke the packaged deterministic loop controller, report its result, and hand off terminal evidence to review.
init
Graph-first init — gate on a provisioned Stable Knowledge Graph before writing anything, interview the governed structure, scaffold the disk-minimal harness assets, and land the initial graph through a promotion scenario. Never invents Rules from stack detection.