Page:
Reference Commands Workshop runs and session budget
Pages
Dev Development
Explanation Architecture
Explanation Configuration tiers
Explanation Knowledge and commitment
Explanation Language boundaries
Explanation Model and effort selection
Explanation Ownership and templates
Explanation Pipeline rationale
Explanation Telemetry and evaluation
Explanation Version model
Explanation Why gates are code
Explanation
Home
How to Back up to a synced folder
How to Browse with obsidian
How to Capture repository docs
How to Collect from a synced folder
How to Export guidelines
How to Export to a synced folder
How to Fetch pages behind a login
How to Ingest a source
How to Maintain the wiki
How to Query the wiki
How to Run the weekly review
How to Set up the mcp server
How to Trace and score sessions
How to Troubleshoot
How to Update an instance
How to Use 1password for settings
How to Write a site handler
How to
Install
Reference Commands Catalog and log
Reference Commands Configuration
Reference Commands Content migrations
Reference Commands Distribution and versioning
Reference Commands Exports
Reference Commands Finding and checking
Reference Commands Git
Reference Commands Instance health
Reference Commands Links and citations
Reference Commands Pages
Reference Commands Provenance
Reference Commands Raw material and uploads
Reference Commands Telemetry
Reference Commands Types instructions and docs
Reference Commands Workshop runs and session budget
Reference Commands
Reference Configuration
Reference Exit codes
Reference Page types
Reference Skills
Reference
Tutorials First source to first answer
Tutorials Sample source
Tutorials
Clone
Table of Contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Generated from docs/reference/commands/workshop-runs-and-session-budget.md at v10.1.0 – edit the repository, not this wiki.
Workshop runs and session budget
Opening and closing a workshop run under work/, and inspecting the per-session call budget.
Contents
work new
Scaffold work/<runkey>/ for one workshop run.
Synopsis
wikitool work new (--input <raw path> | --key <run key>) [--again] [--dry-run]
Options
--input <str> Path to the raw source tree or file this run covers, e.g.
raw/documents/handbook
--key <str> Explicit run key for a run with no raw input (a migration, a
sweep across kb/). Mutually exclusive with --input; may not
start with 'ingest-'.
--again This is a deliberate re-ingest of a tree already processed
before: append today's date to the run key instead of refusing
the collision.
--dry-run Show what would be created, write nothing
-h, --help Show this message and exit.
Examples
tools/wikitool work new --input raw/2026/09/handbuch
tools/wikitool work new --key migrate-7.0.0
tools/wikitool work new --input raw/2026/09/handbuch --again
Behaviour
- Creates
work/<runkey>/with the requiredREADME.mdandplan.md. --inputderives the run key from the path belowraw/(an ingest);--keynames it outright for a run with no raw input - a migration or a sweep acrosskb/- and may not start withingest-, which stays reserved for derived keys. Exactly one of the two.- Refuses a collision instead of suffixing it.
--againopens a dated second pass (<runkey>-<date>) over a tree that has itself changed.--dry-runreports the run key and files without writing.
Properties
- Changes files: yes
- Idempotent: no
- Atomic: Yes - one directory with two files
- Counts toward the session call budget: yes
- Can reach the network: no
Exit codes
0- success1- Neither or both of--input/--keygiven, or a--keythat is empty or starts withingest-1---inputis outsideraw/, does not exist, or israw/itself (an empty run key)1- The workshop already exists
See also
work/CONTRACT.md- run keys, required files, how a run closeswikitool work close- deletes the run when it is doneinstructions/ingest-large-tree.md- the ingest that opens a run
work close
Delete a finished workshop.
Synopsis
wikitool work close --run-key <name> [--yes] [--dry-run]
Options
--run-key <str> The workshop directory name [required]
-y, --yes Confirm deletion. Required: closing discards the only copy of
the run's working notes, so the durable conclusions must
already be in kb/.
--dry-run Show what would be deleted, delete nothing
-h, --help Show this message and exit.
Examples
tools/wikitool work close --run-key ingest-2026-09-handbuch --dry-run
tools/wikitool work close --run-key ingest-2026-09-handbuch --yes
Behaviour
- Deletes
work/<run-key>/recursively. - Without
--yesit lists what would be lost and refuses: nothing in a workshop is recoverable from the rest of the repo, so the durable conclusions must already be inkb/. --dry-runlists the files without deleting.- Not idempotent: once deleted, the run key is unknown.
Properties
- Changes files: yes
- Idempotent: no
- Atomic: No - a recursive delete
- Counts toward the session call budget: yes
- Can reach the network: no
Exit codes
0- success1- Unknown run key1---yeswas not passed - the output lists what would be lost
See also
work/CONTRACT.md- how a run closeswikitool work new- opens a run
budget status
Show the current session's wikitool call count and recent command history.
Synopsis
wikitool budget status
Options
-h, --help Show this message and exit.
Examples
tools/wikitool budget status
Behaviour
- Shows the current session's
wikitoolcall count and its recent command history. - Never counted against the budget; never fails; safe to retry freely.
Properties
- Changes files: no
- Idempotent: yes
- Atomic: Read-only
- Counts toward the session call budget: no
- Can reach the network: no
Exit codes
0- success
See also
instructions/session-setup.md- scoping the budget to a taskinstructions/gates.md- what to do when the Iteration Budget Gate refuses
budget reset
Clear the current session's (or every session's) iteration budget state.
Synopsis
wikitool budget reset --yes [--all]
Options
--all Clear every session's budget, not just the current one.
-y, --yes Confirm clearing the budget. Only pass this after a human has
approved continuing the session - never set it automatically to
work around the gate.
-h, --help Show this message and exit.
Examples
tools/wikitool budget reset --yes # only after the user approved it
Behaviour
- Clears the current session's iteration budget state;
--alldeletes every session's. - Requires
--yes: clearing the counter is itself a way around the Iteration Budget Gate, so it needs the same explicit human approval. - Counted against the budget like any other call.
Properties
- Changes files: yes
- Idempotent: no
- Atomic: Read/rewrite of one JSON file (or its deletion, with
--all) - Counts toward the session call budget: yes
- Can reach the network: no
Exit codes
0- success1---yesnot passed
See also
wikitool budget status- the current countinstructions/gates.md- whybudget resetis not the escape hatch
- Chemenu - Personal IT Knowledge Base
- Install a Chemenu instance
- Tutorials
- How-to guides
- Back up to a synced folder
- Browse the wiki in Obsidian
- Capture documentation from a git repository
- Collect documents from a synced folder
- Export guidelines to captured repositories
- Export to a synced folder
- Fetch pages behind a login
- Ingest a source
- Maintain the wiki
- Query the wiki
- Run the weekly review
- Set up the MCP read server
- Trace and score agent sessions
- Troubleshoot an instance
- Update an instance
- Use 1Password for settings
- Write a site handler
- Reference
- Explanation
- Architecture
- Configuration tiers
- Why knowledge and commitments are two layers
- Language Boundaries
- Choosing a Claude Code model and effort level
- Ownership and Templates
- Why the pipeline has four stages
- Telemetry and evaluation
- Why the stack version splits compatibility from migration
- Why gates are code
- Dev