Skip to content

agentic-workflow-kit/jig

Repository files navigation

Jig

License: MIT Status: implementation-ready / greenfield

Jig is the deterministic execution engine for approved software plans: it runs work under policy, records evidence, and stops in inspectable states when autonomy is not allowed.

Status

The approved product and redesign documents passed the final empty-repository implementation- readiness gate on 2026-07-18. This local Phase 0 implementation candidate contains four private, pure packages: the canonical identity and boundary codec; the runtime topology and semantic port contracts; the private conformance harness; and the pure authority kernel. It does not establish landing, acceptance, activation, or release. No provider, adapter, storage or ledger implementation, controller process, transport, CLI, MCP surface, credential, real external effect, or public package is authorized or implemented. The greenfield delivery track remains authoritative, while archive material remains non-governing.

The retired implementation generation is preserved at archive/jig-v0-pre-greenfield-2026-07-18, which resolves to commit 1731251d866b15b63131a0c3c580e7b563226cf3. Its recovery and story-scoped lookup rules are in the generation archive manifest. It is historical reference only and does not govern the next implementation.

Governing documents

Area Purpose
Product Audience, promise, workflows, guarantees, and boundaries.
Approved redesign Authorities, runtime units, ports, lifecycle, data, failure, operations, and conformance contracts.
Greenfield delivery track Documentation-only sequencing, story contracts, fixed inventories, and independent review expectations.
Readiness gate Exact reviewed subject, review coverage, findings, delegated choices, checks, and archive authorization.
Archive Historical provenance and the retired-generation recovery manifest.

Repository checks

Requires Node >=22 and pnpm >=11.9.0.

pnpm install --frozen-lockfile
pnpm check

The check runs lint, formatting, documentation-link, delivery-track, repository-structure, typecheck, package-boundary, runtime-topology, and test validation. Run pnpm delivery:check for the focused delivery validator and its mutation tests.

Next implementation prerequisite

The next owner-authorized implementation session must use the active greenfield delivery track and:

  1. resolve the approved delivery package P = Q + durable R identifier + PASS and verify that package's landing on the target ref; when landing produced a different commit, verify the authoritative landing-equivalence record without treating the landed commit as the reviewed subject;
  2. resolve the target ref's then-current commit/tree as the story execution base rather than treating immutable planning provenance as a rolling base;
  3. independently verify the exact external owner-ratification/activation record binding P, planning/authority provenance, target scope, selected realization tuple, and expiry/revocation;
  4. freeze the final-verification posture, policy-selected required check-class set, verification configuration/environment, and candidate binding for independent implementation review; after Accepted, deterministic requires a passing, subject-matching EV-CHECK-OBSERVATION for every required class and the complete set inside Finalizing before any target-changing Operation, while none is an explicit no-op. Those unchanged-binding observations are authorized continuation evidence, not a new review subject; drift requires a fresh tuple and review;
  5. treat docs/product/ and docs/redesign/design/ as governing;
  6. use the readiness gate's 44 commitment routes, R1–R7 obligations, and constrained-choice register as planning inputs; and
  7. avoid the retired generation unless an already-specified active story needs a bounded lookup.

The four private packages above are local-candidate implementation only; they do not establish a landed or activated story and do not authorize downstream implementation. The active track remains a planning stop line until a story's merged predecessors, exact evidence, delegated-choice gate, external activation, and independent review requirements are met.

License

MIT License. See LICENSE.

About

Productized face of the agentic-workflow-kit suite: packages, supporting products, and learning loop.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages