agentleFS
DemchaAVDemchaAV/graphcompose-ai-flow/CLAUDE.md

graphcompose-ai-flow

CLAUDE.md4 starsChanged 3 months agoMITView on GitHub

Read AGENTS.md first, end-to-end. It is the canonical onboarding file: which skill owns the task, the seven invariants, the commands, and where each contract is declared. This file is a thin pointer so Claude Code loads the same contract; if the two ever differ, AGENTS.md wins. - The workflow is four skills under skills/workflows/ — create-template, revise-template, review-template, approve-template. Routing, gates and loop bounds are declared once in config/pipeline.json. - Work lands in the user's Java project, under <their project>/graphcompose-flow/projects/<id>/revisions/…

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every change opens a new revision (graphcompose-flow new-revision, which carries the parent's sources forward).

    line 18
  2. Distinctive:

    Never invent GraphCompose API: the pinned pack's allow-list is closed.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md — GraphCompose AI Flow

Read AGENTS.md first, end-to-end. It is the canonical onboarding file: which skill owns the task, the seven invariants, the commands, and where each contract is declared. This file is a thin pointer so Claude Code loads the same contract; if the two ever differ, AGENTS.md wins.

The shape of the work

  • The workflow is four skills under skills/workflows/ — create-template, revise-template, review-template, approve-template. Routing, gates and loop bounds are declared once in config/pipeline.json.
  • Work lands in the user's Java project, under <their project>/graphcompose-flow/projects/<id>/revisions/ — never in this repository's examples/, which is the workspace only when developing the harness itself.
  • Every change opens a new revision (graphcompose-flow new-revision, which carries the parent's sources forward). Never overwrite an APPROVED revision; statuses are owned by tools/revision-manager.

Non-negotiables (details in AGENTS.md)

  • Never invent GraphCompose API: the pinned pack's allow-list is closed.
  • Semantic primitives, relational geometry, anchors — never raw coordinates or hand-computed offsets.
  • Content lives in <doc-kind>-data.json behind a typed spec.
  • Prove parity: render-and-diff --against parent reporting mismatchPx: 0 is a gate result; "looks identical" is not.
  • One loop pass is one render-and-diff call; a bare render.mjs leaves the revision unmeasured.

Entry points

  • node scripts/preflight.mjs --project-dir <java-project> [--project <id>] — start here.
  • node scripts/render-and-diff.mjs --project <id> --revision <id> — render, diff, regions, evidence, gates.
  • node scripts/iterate-status.mjs <id> — may the loop continue (after visual-review.json is written).
  • npm run setup — build the tools that ship as source; npm run verify — every gate CI runs.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.