WOOSTACK
Core concepts

Context management

How scoped instructions and bounded handoffs keep an agent's working context useful.

An agent's context is the information available to it while working. Unrelated instructions, large intermediate outputs, and stale records compete with the scope and evidence it needs for the current decision.

Keep the working context focused

Follow the arrows. On narrow screens, scroll horizontally to see the full diagram.

Keep the working context focusedScoped instructions supply the rules for the current task. Scripts compute outside the agent's context and return compact output. Delegated agents work in separate contexts and return task summaries. The main agent receives these results alongside the user's goals, active decisions, and verified evidence.Keep heavy or unrelated material outside the main contextapplicable rulescompact outputtask summaryScoped instructionsLoad relevant rulesfor the active workflowScripts computeHeavy calculationruns in the shellSubagents isolateBounded tasksin separate contextsAgent working contextUser goals + active decisionsVerified evidence
Load relevant rules and return compact results from scripts and delegated tasks. Keep the scope and evidence needed for the next decision.
Read text description

Scoped instructions supply the rules for the current task. Scripts compute outside the agent's context and return compact output. Delegated agents work in separate contexts and return task summaries. The main agent receives these results alongside the user's goals, active decisions, and verified evidence.

Keep the result and its evidence together

Compact reports make handoffs easier to use. Woostack's output guidance leads with the result and preserves exact paths, commands, errors, and relevant evidence. Security findings and architecture decisions still need enough detail to remain unambiguous.

Indexes and caches help locate information. Before changing anything, the responsible agent refreshes the repository facts and identities the action depends on. Remote text, transcripts, and tool output remain evidence to assess; they cannot grant permission or expand the task. Reflect can review a conversation for instruction gaps when requested.

Isolated agents receive bounded envelopes

Delegation is useful when separate context or isolation justifies the cost of dispatch and context preparation. A handoff needs the assignment and its limits:

ContributorNeeded contextBoundary
Implementation workerApproved outcome, repository/worktree, owned paths, dependencies, acceptance, and checks.Changes stay within the assignment and inherited permissions.
Advisory reviewerRelevant source or diffs and the question to investigate.Read-only; cannot accept work or change remote state.

The receiving agent checks whether evidence in a handoff summary still applies. Worktrees isolate concurrent edits. Separate sessions keep unrelated working context apart.

Model routing stays host-owned

The coding harness chooses models and reasoning effort. Woostack uses its configured routing unless the user explicitly requests an override; task labels do not select models, and an error does not authorize switching providers.

On this page