Toolkit source for WorkBundle skills, rules, references, and deterministic helper code.
WorkBundle owns orchestration contracts, workspace authority, durable knowledge, and acceptance flow. Execution Flow is a separate, optional TypeScript repository that supplies provider-neutral executor selection and ACP delegation without taking over WorkBundle orchestration.
The recommended local layout for developing both repositories is a multi-repository workspace:
work-bundle-workspace/
├── .work-bundle/ # portable workspace authority and runtime artifacts
├── work-bundle-main/ # this toolkit repository
└── execution-flow/ # the independent Execution Flow repository
WorkBundle distinguishes four roots:
work_bundle_root— this installed toolkit source.work_bundle_config_root— user runtime state under~/.work-bundle/.workspace_root— authority for.work-bundle/, rootAGENTS.md, reusablescript/, protectedcredentials/, and managed repository members.project_root— one concrete repository checkout. It equalsworkspace_rootin single-repository mode and is a workspace child in multi-repository mode.
skills/- migrated work-bundle skill packagesscripts/- toolkit helper code; this is never the workspace utility directoryreferences/- shared design and runtime references.work-bundle/- local agent knowledge and orchestration bundle
A multi-repository workspace uses singular script/ with script/index.yaml for reusable utilities. Discovery does not authorize execution. Its local-only credentials/credentials.yaml store is Git-ignored and must never be opened, printed, indexed, or transmitted through agent-visible surfaces; credential-backed work goes through wb-credential-use with redacted evidence only. Single-repository workspaces contain neither runtime folder; the mechanism templates remain under references/assets/template/.
Both single- and multi-repository workspaces are current. Multi-repository members use workspace-local Git control stores and named worktrees; registered origin paths remain locators rather than normal writable checkouts.
Portable control-plane v4 keeps the single-repository layout flat: the source repository owns <workspace-root>/.git, while the independently publishable WorkBundle control plane owns <workspace-root>/.work-bundle/.git. Its source entry uses workspace_binding.type: root; multi-repository entries use workspace_binding.type: member plus a member name. A fresh device clones the control plane into .work-bundle/, then attach-workspace --materialize missing --apply reconstructs the source checkout directly in the existing workspace root. It never requires converting a single repository into a child of a non-Git container.
Install bootstrap/registry and symlink all work-bundle skills into the shared agent skill root:
bin/install.shInstall or refresh skill symlinks only:
bin/install-work-bundle-skillsUseful checks:
bin/work-bundle-skill list
bin/work-bundle-skill validate
bin/install-work-bundle-skills --dry-runRun the deterministic repository gate with isolated dependencies:
uvx --python 3.13 --from pytest==9.1.1 --with pyyaml==6.0.3 --with sqlite-vec==0.1.9 pytest -q
bin/work-bundle-skill validate