Cadre

Search Cadre docs

Find guides, workflow references, and architecture pages.

Project Artifact Reference

Current project, track, execution, operation, styleguide, pattern, and derived artifacts.

On this page

Cadre 3.0 configuration and state are distributed across explicit approved artifacts. There is no current cadre/config.json.

Project Artifacts

PathOwnership and content
.cadre/project.jsonRuntime/template versions, project identity/context, setup checkpoint/operation/commit, last refresh, and project history.
.cadre/product.mdProduct problem, users, behavior, scope, constraints, and success context.
.cadre/guidelines.mdEngineering principles, trust boundaries, non-goals, decision rules, and review expectations.
.cadre/tech-stack.mdLanguages, frameworks, platforms, package/build tools, and verification commands.
.cadre/workflow.mdLifecycle, approval, testing, review, commit, and delivery rules read by every stateful skill.
.cadre/tracks.mdGenerated project-level index derived from track-local state.
.cadre/patterns/index.mdDurable, evidenced patterns and provenance.
.cadre/styleguides/*.mdApproved general and technology-specific conventions.

project.json includes schemaVersion, runtimeVersion, and templateSetVersion. Setup state contains status, checkpoint, commit, artifact progress, and an operation with repository root and Git disposition.

Track State

Each active track lives under .cadre/tracks/<track-id>/; each archived track lives under .cadre/archive/<track-id>/.

Track state.json includes:

FieldMeaning
schemaVersionState schema version.
trackId, title, typeStable identity; type is feature or bug.
statusLifecycle state.
checkpointDurable workflow checkpoint.
revisionTrack baseline revision.
dependenciesOther track IDs required before implementation.
commits.spec, commits.planApproved artifact commit provenance.
artifactProgressCompleted writes in the pending operation.
operationCurrent journaled mutation or null.
lastExecutionLast execution identity and review-bound evidence.
reviewCyclesFinding/clean-review history and accepted risks.
historyLifecycle and operation history.

Paths and active phase/task are derived; they are not duplicated in state.

Track Documents

PathMeaning
spec.mdGoal, scope, functional/non-functional requirements, acceptance criteria, dependencies, additional information, and impact.
plan.mdRevisioned phase/task DAG, manual barriers, completion markers, and commit SHAs.
learning.mdMarked Pattern Seed plus phase/task learning and provenance.
bugs/Approved review finding artifacts.
revisions/Approved semantic revision records.
executions/Immutable/resumable execution journals.

Execution Journal

executions/execution-<id>.json contains:

  • execution and track identity;
  • status and checkpoint;
  • requestedMode and effectiveMode (parallel or sequential);
  • approvalMode (governed, phase, or autonomous), defaulting to phase for new executions; legacy journals without it retain governed behavior;
  • maxWorkers, an approved delegated-worker bound from 1 through 32 (the generated workflow defaults to 3, and host capacity may reduce it);
  • plan revision, plan commit, and graph digest;
  • base/head commits and start/completion timestamps;
  • one entry per phase/task node.

Node entries record status, dependencies, the active worker and retained worker history, worktree/branch identity, worker and merge commits, verification, approval, and blockers. Phase-worker release and reassignment preserve that history across clean execution-mode handoffs. Legal statuses are pending, running, awaiting_approval, committed, integrating, conflicted, integrated, awaiting_manual_verification, completed, and blocked.

Operation Journals

  • .cadre/operations/refresh-<id>.json records a project refresh.
  • .cadre/operations/archive-<id>.json records an archive batch.
  • Track state.json.operation records specification, planning, revision, review remediation, or revert work.

All record approved artifact membership, durable progress, expected Git provenance, and the resulting commit when known.

Ignored Runtime Paths

.cadre/.gitignore excludes:

  • .worktrees/ — temporary Cadre-managed execution worktrees;
  • wisps/ — disposable untracked exploration output.

Neither path is durable delivery state.