reconcile
Skill13 starsChanged 4 months agoApache-2.0View on GitHub
Check that an Arcgram diagram's @spec values still match the code that implements it. Reads each node's desc "@spec key=value" line, finds the same-named code constant (hold_ms <-> HOLD_MS / holdMs), diffs the literals. Typed findings: drift, missing constant, non-literal, ambiguous. Reads only the @spec line + named constants, never geometry; marks, never blocks. Run after editing a diagram or its code. Agent-neutral. Sibling to Checkpoint (Checkpoint = structure; Reconcile = values).
11 other projects use a version of this.
Adopted by
Most recently taken up by
- localoy-ai/localstacktheir own version, first seen Oct 2, 2026
- hazlijohar95/skillstheir own version, first seen Sep 25, 2026
- AlexCunliffe/helmtheir own version, first seen Sep 10, 2026
- jbaruch/nanoclaw-hosttheir own version, first seen Aug 28, 2026
- conorbronsdon/agent-skillstheir own version, first seen Aug 3, 2026
- wrg32786/aigent-ostheir own version, first seen Jul 19, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- wrg32786/aigent-os★ 19same name
- evist0/okf-matt-skills★ 13same name
- conorbronsdon/agent-skills★ 10same name
- EvildoerXiaoyy/reasonix-skills★ 4same name
- conorbronsdon/agent-workspace★ 2same name
- localoy-ai/localstack★ 2same name
- hazlijohar95/skills★ 1same name
- jbaruch/nanoclaw-host★ 1same name
- AlexCunliffe/helm★ 0same name
- ForeverAProgrammer/claude-devflow★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- arcgramSkill
- checkpointSkill
- validateSkill
The file
Files
Reconcile - code<->diagram @spec bijection validator
Two inputs: a diagram + the code it describes.
One question: do the diagram's @spec values still equal the same-named code constants?
Returns typed findings; marks, never blocks.
Sibling to Checkpoint: Checkpoint checks structure from the diagram alone; Reconcile checks values across diagram + code. Run both -> the diagram is a faithful, current spec.
Input: the @spec line
A node pins values on one line at the top of desc:
@spec hold_ms=800 fade_ms=200 <- Reconcile reads ONLY this line- Prefix
@spec(ASCII).key=value, key = the code constant name. - Match is case/separator-insensitive:
hold_ms=HOLD_MS=holdMs=hold-ms. - Value: a number (
800,0x320) or a quoted string ("left"). - Free prose and a
~ tune: <range>line are for humans - never read.
Reconcile reads only the @spec line + named code constants. No geometry, no prose,
no program behavior.
Findings
| finding | severity | means |
spec-drift | defect | @spec value != the code constant |
spec-no-constant | defect | no same-named constant in the code |
malformed-spec | defect | @spec line is not key=value |
value-uncovered | uncovered | constant is computed, not a literal - no verdict |
ambiguous-constant | uncovered | two constants normalize to one name |
no-spec-lines | uncovered | nothing pinned - never a false "clean" |
Anchored on the @spec line (not the code): drift is caught both ways, but a code constant
on no @spec line is normal, not a finding. The extractor is a tolerant, dependency-free scan of
const/let/var =, NAME =, NAME:, #define, :=, [modifiers] const|readonly TYPE NAME =, and
C#/Unity bare field initializers [attr] public|private|static TYPE NAME = value (ScriptableObject
tuning fields, no const/readonly) (JS/TS/Python/C/Go/C#/Java); numbers normalize (800 == 800.0 ==
0x320, and a C#/Java numeric suffix is dropped so 0.2f == 0.2, 800L == 800). A Unity bare
field is matched only with a field-only marker (an access modifier, [Attribute], or static), so a
method-body local (int x = 5;) is never captured.
Output (same contract as Checkpoint)
{ findings:[{id,type,severity,note}], summary, attestation, clean }
self-check ran HH:MM:SS | N findings | M uncheckedclean only when N=0 AND M=0 - "checked & clean" never looks like "never checked".
Human reads the marker; agent reads the type.
Use
node reconcile.mjs diagram.html code.js [more.js ...] [--json]import { reconcile } from './reconcile.mjs';
reconcile({ nodes }, codeText);Exit 1 on any defect (advisory - never blocks).
Verify: node reconcile-selftest.mjs (48 checks).
Example: ../../examples/example-workflow.html vs example-workflow.config.cs (clean, reconciles 0 findings).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

