
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@topogram/extractor-xstate-workflows
Advanced tools
Package-backed Topogram extractor for XState workflow state machines.
Package-backed Topogram extractor for review-only XState workflow candidates.
Status: current Audience: extractor authors and maintainers Use when: you need to implement, verify, or package this Topogram extractor.
This extractor reads JavaScript and TypeScript source that defines XState
machines with createMachine(...) and emits review-only workflow candidates:
workflow definitions, states, and transitions. Topogram core owns persistence,
extract reports, reconcile/adoption, and canonical topo/** writes.
npm install
npm test
npm run docs:rag:check
npm run check
npm run release:preflight
npm run check uses TOPOGRAM_CLI, then TOPOGRAM_BIN, then the locally installed @topogram/cli.
Use TOPOGRAM_CLI=/path/to/topogram/engine/src/cli.js npm run check while
developing against a local Topogram checkout.
npm run check runs:
npm testnpm run docs:rag:checktopogram extractor check .topogram extract ./fixtures/basic-source --out <tmp> --from workflows --extractor .topogram extract plan <tmp>topogram query extract-plan <tmp>/topotopogram adopt --list <tmp>The adapter in index.cjs is intentionally static and read-only. It scans source
text; it does not evaluate the app, import user modules, mutate source files,
write canonical topo/**, install packages, perform network access, or define
adoption semantics.
Keep llms.txt curated and regenerate llms-full.txt after README or agent guidance changes:
npm run docs:rag:build
npm run docs:rag:check
The docs scripts resolve this package root from their own file location and refuse links or writes that escape the package root.
npm run release:preflight runs the author checks, npm pack --dry-run, and
the package-local Gitleaks secret scan. If CI already ran Gitleaks, it may set
TOPOGRAM_SECRET_SCAN_ALREADY_RAN=1 for this script; do not use that skip in
local release prep.
Shared or published extractor packs should adopt SDLC so rules, tasks, and proof
history are queryable by agents. Private one-off extractors may stay lightweight,
but they should still follow the generated AGENTS.md rules.
Candidate output is validated by track. This package returns only
workflow_definitions, workflow_states, and workflow_transitions, with
stable IDs and project-relative evidence. It never returns files, patches,
adoption plans, or write instructions.
FAQs
Package-backed Topogram extractor for XState workflow state machines.
We found that @topogram/extractor-xstate-workflows demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.