@pithos-kit/guild0.16.0
Bounded software-development and writing Guild roles with technical discovery, delivery planning, content craft, architecture, review, comments, Conventional Commit, and TDD guidance.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
guild
A standalone bounded Guild with stable exploration, architecture, implementation, review, and writing roles; reusable general, front-end, Angular, TypeScript, .NET, Rust, and Go profiles; and technical discovery, delivery planning, content-craft, repository-aware Go engineering, Clean Architecture, CQRS, code-review, code-comments, Conventional Commit, and test-driven development guidance for pi.
The extension adds agent-callable guild_handover and guild_review_phase tools and the controlled create_commit tool, plus interactive /guild and /commit commands. Every handover names a canonical role/profile, starts an isolated ephemeral pi process with package-controlled prompts and a role-owned hard tool allowlist, and inherits the parent session's active provider, model, thinking level, working directory, and project-trust decision.
At a glance
Guild hands one focused task to an isolated child: choose a role for its permissions and a supported profile for its guidance. Explorer and architect investigate or plan, coder can edit and run tests, reviewer inspects changes without writing, and writer creates scoped prose artifacts without shell access. Guild queues handovers, returns a bounded structured report, and leaves verification and final decisions to the main agent. It does not run an automatic multi-agent pipeline or prove a child's claims.
On a qualified host, use guild_start for normal delegation across all roles, including writer/general: three occupied slots and eight pending starts, in the parent's working directory. Admission returns immediately rather than waiting for child completion. The main agent can continue independent work or finish its turn and handle another user request while children keep running. Children can ask the parent for clarification and continue in the same process after an answer. Background controls and automatic parent notices remain subject to runtime qualification, Plan protection, and explicit result collection.
guild_handover remains an explicitly blocking alternative: it waits for completion and serializes children. It is also available on hosts without background capabilities, but is not a background fallback. A live dashboard or a separate child process does not mean the parent is free.
Ask the main agent, “Use explorer/typescript to find the validation path and report the evidence.” The child can inspect but not edit; for an implementation, delegate a separate coder task with scope and acceptance criteria. See Usage for coder, reviewer, and required-TDD examples.
Install
The blocking path requires Pi 1.0.0 or newer, unchanged. Installing Guild alone does not add background support to stock Pi. Background tools are conditional on the host runtime. They require live-qualified semanticInterrupt (pi-semantic-interrupt-v1) and atomicOwnedTools (pi-atomic-owned-tools-v1), plus safe Plan policy and owner. Optional qualified parentContinuation (pi-parent-continuation-v1) additionally enables automatic idle-parent delivery. Package tool metadata describes conditional inventory, not availability on every supported version. Qualification requires the exact protocol, lifetime capability and successful live binding—not semver, function presence or an environment override. The provider-free development harness remains pinned to 0.99.0; it does not certify Pi 1.x or real-provider behavior.
Background support in Pithos
Previous Guild releases have been verified with the Pithos runtime overlays for Pi 1.5.0, 1.5.2, and 1.7.0. These installed-runtime results predate the parent-controlled TDD changes in 0.16.0; native deployment qualification has not yet been rerun for those changes. To use 1.7.0, set pi.version to "1.7.0" in .pithos and rebuild the project image with a Pithos build that ships the 1.7.0 overlay. The image build checks the installed Pi files before applying the overlay. The launcher selects the patched Node runtime at startup; no manual activation is needed. An unsupported version or mismatched installation stays on stock Pi.
Guild still checks the live capabilities and Plan state. By default, background admission requires a compatible inactive Plan extension; an intentionally Plan-free setup must explicitly assert PITHOS_GUILD_PLAN_MODE=standalone. These checks are not bypassed by Pithos startup. Existing blocking handovers remain available without the background capabilities.
The supported Pithos launcher can select the stock runtime instead when ~/.pi/agent/pithos-stock-runtime exists. Removing that marker restores the normal selection on the next process start. /reload does not replace the running Pi core. These are Pithos launcher behaviors, not changes made by the Guild npm package.
Install Guild
Install the current release:
pi install npm:@pithos-kit/guild@0.16.0
For local development from this repository:
pi install ./pithos.guild
pi install ./pithos.guild -l # project-local
Temporary test run:
pi -e ./pithos.guild
Pithos .pithos config
pi:
extensions:
"@pithos-kit/guild": "npm:0.16.0"
Roles and profiles
Roles own responsibility and the repository tool ceiling. Every child additionally receives guild_submit_result, a child-only reporting tool with no repository or delegation capability. Background children of every role also receive guild_ask_parent for correlated clarification; it does not expand repository permissions or enable delegation:
| Role | Responsibility | Tools |
|---|---|---|
explorer |
Inspect repository structure, behavior, versions, conventions, dependencies, and relevant paths | read, grep, find, ls, git_read |
architect |
Compare designs and define contracts, invariants, test strategy, and an implementation handoff | read, grep, find, ls, git_read |
coder |
Implement one coherent scope, own relevant tests, and verify it | read, grep, find, ls, edit, write, bash |
reviewer |
Independently inspect a focused change and return severity-ranked evidence and a verdict | read, grep, find, ls, git_read |
writer |
Create or revise articles, tutorials, stories, and scripts from a supplied brief and evidence; general only |
read, grep, find, ls, git_read, edit, write |
Profiles select package-owned guidance and never add tools:
| Profile | Focus |
|---|---|
general |
Task-grounded general guidance; software engineering only when relevant |
frontend |
Browser UI, components, state, rendering, accessibility, and performance |
angular |
Angular applications, templates, reactivity, forms, and tests |
typescript |
TypeScript, JavaScript, Node.js, modules, runtime boundaries, and async behavior |
dotnet |
.NET, C#, projects, persistence, dependency injection, async behavior, and tests |
rust |
Rust, Cargo, ownership, errors, concurrency, unsafe boundaries, and tests |
go |
Go modules, packages, APIs, errors, concurrency, resource ownership, tests, and conditional domain modeling |
There are 29 supported role/profile pairs: all 28 engineering pairs plus writer/general. Unsupported writer pairs are rejected, not silently mapped to general. Writer can edit or write assigned artifacts; only coder can invoke shell commands. Explorer, architect, and reviewer remain mechanically read-only. Their git_read tool, also available to writer, runs only status, diff, log, show, ls-files, and blame without a shell, accepts an exact allowlist of read-only options (no --output, external diff, textconv, or signature checks), disables fsmonitor and optional index locks, and caps output at 50 KiB. It never changes staged content, refs, or the working tree; like any plain git diff, diff may refresh the index stat cache, and repository-configured clean filters still run. researcher is intentionally unavailable until Guild has controlled read-only web tools.
Writer and content-craft skill
Use writer/general for technical or nontechnical writing. General does not mean nontechnical: put domain and topic requirements in the brief rather than selecting a technology profile. Supply the audience, purpose, format, voice/tone, length, source material, explicit output path, and acceptance criteria. For example:
Ask the main agent to use writer/general: Write a 900-word article for junior developers about database indexes. Use docs/index-notes.md as the factual source. Save to docs/articles/indexes.md. Use an approachable tone, explain the limits of analogies, and flag gaps rather than inventing evidence.
Writer requires an explicit destination in the task. If it is absent, unsafe, outside scope, or would overwrite conflicting content without authorization, the child should report blocked instead of choosing a path. Existing assigned documents may be revised when authorized; preserve unrelated edits. This is prompt guidance, not host-enforced path confinement or a filesystem sandbox. The host validates the report, not the existence, accuracy, or ownership of reported artifacts.
Clarify requirements and research in the parent before handing over. Writer has no shell, web, direct user-question, publishing, or delegation tools. A background writer can ask the parent for missing context through guild_ask_parent; a blocking writer cannot. Supply local source paths or source contents; URLs alone are not read evidence. A writer should report missing essential information, unverified claims, and checks it could not perform honestly. Fiction may invent within its stated frame but must not fabricate factual sourcing or endorsements. Shell-based content builds and executable tutorial checks remain parent/coder responsibilities.
The package-owned content-craft skill covers audience-first writing, structure and voice, analogies and concrete examples, factual grounding, revision, and proportionate guidance for articles, tutorials, stories, podcasts, videos, screenplays, and documentary scripts. Load it in the parent with optional context:
/skill:content-craft [writing brief]
Pi-native discovery exposes the skill to the parent when enabled. Every writer child receives the fixed content-craft core through both handover entry paths, independent of that toggle; no other role receives it automatically. Writer does not receive code-comments, review, or TDD cores, and required TDD remains coder-only. A missing or invalid craft core fails writer setup before launch. Receipts attest selected bytes, not editorial quality or factual verification. Use pi config or pi config -l, then /reload, to toggle parent discovery.
Long-form prose goes into the assigned files, not bounded report strings. The report contains artifacts (path/description), sources (reference/usage), and checks (check/outcome), with common blockers and limitations. A succeeded writer report requires at least one artifact; blocked work may have none. Both are child-reported claims. A parent can read the artifact to present or verify it. No automatic publication or reviewer pipeline is installed.
Technical discovery and delivery planning skills
Two independent, parent-discoverable skills connect ideas and evidence to technical documents and safe delivery increments. Use either at the point you need it; neither starts implementation or requires a full document pipeline.
| Skill | Use it for | Possible outputs |
|---|---|---|
technical-discovery |
Clarify an idea, inspect a repository, research constraints, define requirements, compare designs, or draft/review an artifact | Brief, spec/SRS, RFC/design proposal, ADR, contract, operational document |
delivery-planning |
Split existing scope into outcomes, sequence dependencies and learning, prepare bounded assignments | Release slices, optional user stories, acceptance criteria, agent handoffs |
/skill:technical-discovery Explore this idea using the repo and relevant sources. Ask focused questions and propose the smallest useful document set. Do not implement.
/skill:technical-discovery Record the supplied decision as an ADR using our existing format; do not reopen discovery.
/skill:delivery-planning Split docs/features/invoice-export/spec.md into shippable user stories. Make only the first increment implementation-ready.
Each compact core links references loaded only when needed and optional templates. A standalone ADR need not produce an SRS; a small slice can be its own handoff. Follow existing document locations and formats rather than creating a parallel hierarchy. User stories remain supported, not mandatory: story maps, job stories, integrated scopes, and plain outcomes can help identify useful boundaries. Spikes, migrations, and enablers keep honest labels rather than pretending to be user-facing features.
The skills keep observed facts, confirmed requirements, assumptions, proposals, and accepted decisions distinct. They link requirements, decisions, slices, and checks instead of duplicating canonical content. Material unknowns block the affected implementation readiness, not all drafting. Mergeable is not releasable; security and data integrity needed for safe release cannot be deferred as polish. Plans do not authorize source changes, issue/task synchronization, commits, or publication.
Pi-native discovery exposes these skills to the parent when enabled. Use pi config or pi config -l, then /reload, to select resources. No new role, tool, automatic pipeline, or fixed child injection is added. Guild children do not inherit these skills or the conversation: give a self-contained task with explicit local source, repository-instruction, and reference paths. Keep questions and web research in the parent; writer/general drafts from supplied evidence without shell or web access. Reuse content-craft and relevant domain skills rather than duplicating them.
Active Plan mode still blocks ordinary artifact writes and delegation. Use its controlled checkpoints and ask the user to exit before writing documentation files or delegating; exiting is not implementation approval. These skill instructions do not expand permissions or enforce a sandbox.
Packaging tests cover discovery, metadata, and local links—not requirements quality. The repository-only scenario checks describe representative dry runs and their limits separately from automated tests.
Code-review standards skill
Guild owns the language-neutral code-review-standards skill for focused, evidence-based reviews with impact-calibrated severity and deterministic Request changes, Comment, or Approve decisions. When Guild is installed and this resource is enabled, Pi-native discovery lets the main agent load it proactively without requiring explicit invocation. Guild children start with general skill discovery disabled. Every reviewer child receives the fixed package-owned review core in its prompt, independent of profile or parent discovery toggle; this does not add tools or grant shell access. The skill can also be loaded directly in the parent session when desired:
/skill:code-review-standards [review scope]
The methodology honors explicit commits and ranges or inspects staged, unstaged, and relevant untracked changes; detects supported languages, frameworks, and runtimes from repository evidence; and complements the canonical reviewer role's findings-first report. It never treats an inspected scope as proof of perfect code or claims verification that was not run.
Use pi config or pi config -l to disable this resource, then run /reload. The canonical reviewer role remains self-contained without the skill: its package role prompt retains a hard read-only boundary, findings-first evidence, and a deterministic verdict.
Independent review workflow
Review is independent scrutiny of original needs, plan/design, and implementation, not a plan-conformance stamp. A plan is optional. Parent callers supply a self-contained brief in the existing task field; children do not inherit the conversation or ambient context files. Preserve material requirements rather than substituting an author's checklist. Use explicit local file paths for longer context and instruct the child to read those files; disclose inaccessible references, omit unrelated context and secrets.
Reusable review brief:
Original requirement (preferably verbatim): "..."
User constraints and decisions, with provenance: ...
Implementer assumptions (not user decisions): ...
Exact scope and comparison: paths, commit/range/base or staged/unstaged/untracked state; exclusions ...
Plan/rationale (optional): none, or explicit local paths; read those files.
Actual verification evidence and limitations: commands, observed outcomes, evidence paths;
not-run checks and inaccessible references ...
Independently challenge plan/design and implementation from the original needs.
Assess context sufficiency; retain supported findings and disclose unassessed dimensions.
No-plan existing-code example:
Ask the main agent to use reviewer/typescript: Review src/cache.ts at HEAD for resource cleanup against its public contract; no feature request or written plan exists. Read src/cache.ts and test/cache.test.ts. Objective: identify leaks on cancellation. User decision: preserve the public API. Implementer assumption: cancellation always follows initialization. Scope is these paths at HEAD, not working-tree changes. Verification: no commands run; inspect tests, do not claim execution. Report missing essential context rather than inventing intent.
For a change review, replace the scope with the exact comparison and include the original request, for example: Original requirement: "Cancellation must release the worker even before startup completes." Read docs/cancellation-contract.md and review src/worker.ts and test/worker.test.ts against HEAD, including staged and unstaged changes. Plan: none. User constraint: preserve the API. Author assumption: startup cannot fail. Verification: npm test passed per supplied author log docs/review/test-output.txt; read it, treat it as supplied evidence, not your own execution. Use real scoped paths and evidence, not these illustrative names.
Reviewers distinguish planning/design gaps from implementation bugs and assess whether tests merely mirror implementation assumptions. They respect explicit decisions unless consequential evidence warrants challenge; independent review is not opposition for sport. Missing essentials preventing the assigned review produce taskOutcome: blocked with precise blockers, while independently supported findings remain. Partial context can support an explicitly limited review, never silent narrowing or approval of material unassessed scope. Missing context is not itself a severity finding.
Task outcome and verdict are separate: Request changes for unresolved Critical/High/Medium findings; Comment for Low findings or material unresolved limitations; Approve only with neither in the fully inspected assigned scope. A completed review requesting changes is not itself blocked. Isolated reviewers cannot ask questions or run shell/tests and must always submit the structured report, even when blocked. Parent skill use may ask focused questions. The parent closes gaps by supplying evidence and requesting another review, asking the user only if information is genuinely unavailable. Never present a limited review as complete. These are instruction contracts, not mechanical guarantees of independent reasoning; no automatic review pipeline or new schema is introduced.
Code-comments skill
Guild's language-neutral code-comments skill guides accurate, concise comments that prevent misunderstandings and plausible wrong edits. It preserves intent, contracts, constraints, and non-obvious mechanisms rather than imposing comment-count targets or a why-only rule. Load it directly with optional task context:
/skill:code-comments [task or scope]
Pi-native discovery exposes the skill to the main agent when enabled. Every coder child, across all profiles and both handover entry paths, automatically receives the same fixed package-owned core. Required-TDD coders receive TDD followed by code-comments; explorer, architect, reviewer, and writer children do not receive code-comments. Guidance stays within the assigned task and does not authorize unrelated cleanup or behavior changes.
Use pi config or pi config -l, then /reload, to toggle the parent-session resource. That toggle does not disable fixed coder injection. Children retain disabled ambient discovery and unchanged tool permissions. A missing or invalid code-comments core fails coder setup before launch; other roles do not load it. Core receipts record selection, not proof that a child followed the recommendations.
Test-driven development skill
Guild owns the language-agnostic tdd skill used for explicit or proactive test-driven development. Load it directly with optional task context:
/skill:tdd [task context]
The skill drives behavioral changes through a test list and small red-green-refactor cycles while allowing pragmatic exceptions for spikes, trivial declarations, generated output, and other work that does not benefit from test-first ceremony. Pi exposes the skill to the main agent through native discovery; Guild children do not receive ambient skills. A coder child receives the fixed package-owned TDD core only when the caller explicitly requests required TDD, independent of parent discovery toggles.
Use pi config for global settings or pi config -l for a project override to toggle Guild's tdd resource, then run /reload in an active session. The enableSkillCommands setting controls native /skill:tdd registration and autocomplete; disabling the resource also removes its model-visible description after reload.
TDD previously shipped with the retired @pithos-kit/skills package and then Atlas. Remove the retired package at every scope.
Go profile and engineering skill
Use explorer/go, architect/go, coder/go, or reviewer/go for delegated Go work. These targets have the same role-owned tools and isolation as other engineering profiles; writer/go is not supported. The compact profile inspects actual module, workspace, toolchain, dependency, and build evidence rather than assuming newer Go APIs or a framework.
Ask the main agent to use coder/go: Reproduce the cancellation bug in internal/worker with a focused test, fix it, and run the relevant checks. Preserve the public API.
/skill:go-engineering [task context]
The parent-discoverable go-engineering skill supplies a common baseline for services, CLIs/tooling, and reusable libraries. It links four references, read only when relevant: testing, design and domain boundaries, concurrency, and workload-specific risks. It covers error contracts, module/workspace compatibility, goroutine ownership and shutdown, bounded verification, security, and measured performance. It preserves appropriate existing frameworks and dependencies; it does not mandate a project template or authorize upgrades.
TDD applies directly to Go. The skill reuses Guild's language-neutral tdd methodology and adds Go test idioms and version-aware tooling. To require TDD for a delegated coder, use the existing explicit practice option:
guild_handover({ role: "coder", profile: "go", task: "Write and run one failing test for the scoped behavior; stop at RED", practices: [{ id: "tdd", policy: "required", phase: "red" }] })
DDD is conditional on meaningful domain complexity. Guidance uses idiomatic Go types, package boundaries, and invariant ownership, with explicit zero-value and aliasing contracts. It does not require repositories for every entity, CQRS, event sourcing, microservices, or .NET-style layers.
The profile and skill are separate entry points. Guild children disable ambient skill discovery: selecting go does not automatically inject go-engineering or its references. Give children a self-contained task and explicit local reading paths when deeper guidance is needed. Existing coder comments, reviewer standards, and explicitly required coder TDD cores remain unchanged. Use pi config or pi config -l, then /reload, to toggle parent discovery; that toggle does not disable the Go profile.
.NET Clean Architecture skill
Guild's dotnet-clean-architecture skill helps inspect and evolve repository-connected .NET boundaries without assuming a target framework, language version, package, mediator, ORM, or four-project template. Load it directly with optional task context:
/skill:dotnet-clean-architecture [task context]
The skill first verifies substantive .NET relevance and detects solution, project, framework, language, package, persistence, hosting, test, and deployment capabilities. It then selects the smallest justified clean, layered, vertical-slice, or hybrid structure; preserves healthy existing boundaries; and makes dependency direction, domain invariants, consistency, security, migration, and verification explicit. Its examples are conditional guidance rather than migration authority, and architect and coder tool boundaries continue to apply.
.NET CQRS skill
Guild's dotnet-cqrs skill complements the Clean Architecture baseline with focused guidance for deciding whether CQRS earns its cost and for designing command/query contracts, read models, projections, asynchronous consistency, and optional event sourcing. Load it directly with optional task context:
/skill:dotnet-cqrs [task context]
The skill verifies substantive repository-connected .NET relevance and inspects the actual framework, language, provider, package, messaging, deployment, test, and operational capabilities before recommending a shape. It treats direct CRUD, in-process command/query paths, separate read shapes, asynchronous read stores, and event sourcing as bounded-context options rather than a maturity contest. Authorization and tenancy, transaction boundaries, outbox/inbox and idempotency behavior, ordering, compatibility, lag UX, observability, rebuilds, rollout, and recovery stay explicit.
EF Core, Dapper, mediators, brokers, Wolverine, Marten, and other package APIs are conditional examples only. Existing versions and repository usage must support them, time-sensitive license or support decisions require current authoritative verification, and adding or changing dependencies still requires authorization. Pi-native discovery exposes the skill to the main agent when the Guild resource is enabled; Guild children do not receive ambient skills. dotnet-clean-architecture remains the broader source for solution and domain boundaries.
Conventional Commit support also moved from Atlas to Guild. Guild 0.3.0 and later must be paired with Atlas 0.6.0 or later so exactly one active package owns /commit, create_commit, and the conventional-commit skill. Do not load them beside an older Atlas release that still registers these resources.
Confirmed commits
Guild alone declares /commit, create_commit, and the conventional-commit skill in its package metadata, and ships the skill file. This ownership does not reserve internal helper filenames such as src/commit.ts across packages.
/commit [instructions]
/commit --help
/skill:conventional-commit [instructions]
/skill:conventional-commit --help
/commit uses existing staged changes when present. Otherwise it narrows the staging set from explicit instructions, named paths or packages, and the active task context. Ambiguous scopes require confirmation before staging, and unrelated untracked, generated, editor, session, and local-configuration files are excluded unless explicitly requested.
The controlled create_commit tool shows the final message and staged file set for mandatory interactive confirmation. Declining leaves the index intact, missing UI fails closed, and a changed staged snapshot invalidates approval. Guild blocks direct model-issued git commit shell commands so the workflow cannot bypass the dialog; normal Git hooks still run. /commit is unavailable while @pithos-kit/plan Plan mode is active or indeterminate.
Usage
Ask the main agent to choose a role and profile for one self-contained task:
Use explorer/typescript to locate the package and runtime contracts involved.
Use architect/dotnet to design the order cancellation workflow.
Use architect/frontend to define state ownership for checkout.
Use coder/angular to add checkout loading and error states.
Use coder/rust to resolve the parser ownership defect.
Use coder/go to fix worker cancellation with bounded concurrency tests.
Use reviewer/general to review the focused change for merge-blocking defects.
Use writer/general to draft an article from supplied notes at an explicit output path.
On a qualified host, the main agent normally invokes guild_start:
guild_start({ role: "explorer", profile: "typescript", taskSummary: "Locate input validation.", task: "Locate input validation and cite relevant files" })
guild_start({ role: "writer", profile: "general", task: "Revise docs/guide.md for senior engineers using docs/accepted-design.md. Keep the existing format and length; cover the accepted API changes without inventing claims. Edit only docs/guide.md." })
Both guild_start and guild_handover accept an optional parent-written taskSummary: one short objective sentence for display, without an extra model call. The full task remains authoritative and reaches the child unchanged; taskSummary never enters the strict child task envelope. Summaries must be nonblank, NUL-free strings of at most 512 UTF-8 bytes (oversized or invalid values are rejected). Multiline summaries are accepted but whitespace is collapsed for display; terminal controls are removed and the sentence is capped at 80 terminal columns. If omitted, or empty after sanitization, the display falls back to a shortened task preview—not a semantic summary. The summary is optional, including for phase assignments.
After admission, continue independent work or finish the parent turn. Do not immediately poll or wait merely because a child is running. Keep parent/child edits in separate scopes; there are no file locks or worktrees. On a qualified continuation host, a question or terminal notice brings the parent back when safe, with user input taking priority. A terminal notice is not a collected or verified report: call guild_wait with timeoutMs: 0 to collect it, then verify the claims. Without automatic continuation, use /guild status or a fresh user request to inspect and collect work; do not promise an automatic follow-up.
For explicitly blocking delegation, or on hosts without background tools, use the canonical handover API. Most tasks need no practice option; required TDD is an explicit coder-only choice:
guild_handover({ role: "explorer", profile: "typescript", task: "Locate input validation and cite relevant files" })
guild_handover({ role: "coder", profile: "typescript", task: "Write one failing test for the accepted behavior and stop", practices: [{ id: "tdd", policy: "required", phase: "red" }] })
The direct /guild-handover command has been removed. Ask the main agent to delegate. Only coder can request required TDD; omission and [] mean no requirement. Tool arguments share strict validation: exact keys, nonblank/NUL-free task, task <=32 KiB UTF-8, canonical input <=40 KiB, host envelope <=48 KiB. Accepted practices are copied before queue admission.
Parent-reviewed delegated TDD
Required TDD has one workflow: one behavior, RED, parent review, GREEN (including optional small production refactoring), parent review. One slice can be open per live Guild owner. The old phase-less required practice is no longer supported. The parent can do small fixes locally instead of delegating.
- Start a fresh coder with
phase: "red". For runtime behavior it writes one focused test, compiles and runs the named case, and stops at its intended failure. Add minimal declarations or throw-only stubs if needed to run the test (in .NET,throw new NotImplementedException()); no implementation logic. Compile-only RED is acceptable only for a deliberate compile-time contract. If the runtime test cannot run, report blocked. - Collect the actual report (
guild_waitfor background work). Compare the changes with the phase's starting state, including staged, unstaged and untracked files, inspect the assertions and stubs, and independently reproduce the intended failure. Verify the runner actually selected the named test. If any evidence is missing or the test is wrong, request changes or stop. - Call
guild_review_phase({runId, decision: {verdict: "accept", evidence, check}})with the returned host run ID, the parent's verification evidence and the exact reviewed check. The check containsbehavior,test(named case and protected section for mixed files), explicit test filepaths,fixtures,stubs(each{path, symbol, reason}),command,cwdandconfiguration(including relevant non-secret overrides). Its serialized size is capped at 8 KiB to leave room for the GREEN assignment. Userequest-changesorstopwith areasoninstead when acceptance is not justified. Retry the rejected phase with a fresh coder. To abandon an accepted RED or pending retry, callstopon the current run ID, reconcile the files and begin a fresh RED. - Start another fresh coder with
practices: [{id: "tdd", policy: "required", phase: "green", redRunId: runId, check}]. The same accepted check and profile must be used. The coder replaces stubs and implements only that behavior, preserving accepted tests, fixtures and runner configuration. A gap in the test goes back to the parent. A successful RED report alone never permits GREEN. - Collect GREEN, inspect the changes against the accepted RED state, rerun the same named test and the relevant broader checks, and accept GREEN via
guild_review_phaseonly if the behavior is verified. Then choose the next behavior. Review never starts another child automatically.
The gate tracks a live parent scope, not a durable workflow. A terminal notice, cancelled wait or historical report does not grant review authority. Plan entry, retirement and workspace changes can revoke an open slice. Collection may still return a report and its one-time usage even when the phase is invalidated; that observation does not permit GREEN. On blocking-only hosts without the qualified semantic interrupt capability, Guild also watches the active parent operation's abort signal when available. A normal completed parent turn does not revoke an accepted RED. Idle interrupts without an observable signal or lifecycle event cannot be detected reliably on those hosts. Interrupted work may leave failing tests and stubs in the shared working directory; reconcile actual files before starting fresh. Parent acceptance records an attestation, not host-certified execution or filesystem confinement.
List the fixed package roles, profiles, permissions, and aliases without launching a child:
/guild
/guild --help
The roster command also accepts -h; help returns before idle waits, UI prompts, admission checks, or child execution. Task input remains free-form. New child completions must use the exact result protocol below; prose alone is never a successful completion.
Background tools and manual controls
On a qualified interactive host, all 29 canonical role/profile pairs can run in the background. Writer remains general-only, TDD remains coder-only, and repository tool permissions are unchanged.
| Tool | Purpose |
|---|---|
guild_start |
Admit a task with canonical role, profile, task, optional display taskSummary and optional coder practices; returns IDs, not proof of launch |
guild_status |
Inspect runs and current untrusted questions without collecting usage |
guild_send |
Send an update, or reply with the exact pending questionId; acceptance is not delivery or scope acknowledgment |
guild_wait |
Observe a run and explicitly collect its terminal report; non-blocking by default (timeoutMs: 0), explicit waits up to 60 seconds |
guild_cancel |
Cancel one run and join cleanup |
guild_start({role: "coder", profile: "typescript", task: "...scope and acceptance criteria..."})
guild_status({runId: "<returned runId>"})
guild_send({runId: "<runId>", questionId: "<pending questionId>", message: "...answer..."})
guild_wait({runId: "<runId>", timeoutMs: 0})
Limits are 3 occupied slots, 8 pending starts and 16 unconsumed records. Queued admission is not child launch; waiting and stopping retain capacity through cleanup and terminal publication. Each run permits eight questions, 8 KiB question/message text, two pending/in-flight updates and 32 lifetime updates. There are at most 32 concurrent waiters. Terminal report DTOs and whole public tool results have 64 KiB budgets; oversized reports are rejected, not silently truncated into success. Wait timeout is observational, not cancellation. A positive timeoutMs holds the parent tool call open; use it only when the next step depends on that result or the user explicitly asks to wait. Ending a parent turn or sending an ordinary new request does not cancel background children. While a child is waiting for an answer, use guild_send with its exact pending questionId; an ordinary update without that ID is not accepted until the question is answered.
PITHOS_GUILD_PLAN_MODE is captured once: unset or exact required needs a compatible inactive Plan handshake. Exact standalone is a trusted parent assertion of absence and rejects any provider reply. Invalid values block background admission only. Safe persisted inactivity and strict Plan protection through cleanup remain required. Shared cwd and task scopes are not file locks: coordinate overlapping edits yourself. Guild does not roll back, stash, merge or delete child edits on cancellation.
/guild status [runId]
/guild cancel <runId>
/guild cancel-all
These manual controls inspect or cancel without a model turn, usage claim or automatic rearm. No-argument /guild and help retain the roster/help behavior. Status shows question IDs and sanitized untrusted previews; qualified tool status/wait recover canonical questions and results.
A semantic application interrupt, including Escape dispatched to the native interrupt action, cancels all active, waiting and queued work. Escape consumed by a modal or panel is not a semantic interrupt. Completion never restarts an interrupted or retired parent; a healthy qualified parent may receive automatic notices. Only fresh eligible idle intent after drain and safe Plan checks can reactivate the owner. Navigation drains before epoch change; session replacement fences old callbacks. Persisted observations are visible according to their origin session/branch and restore observations, never children.
Automatic idle-parent continuation is conditional on live-qualified parentContinuation. Fair bounded batches coalesce canonical questions and terminal notices; terminal delivery follows publication and cleanup. Notices acknowledge historical commit, not model reading, and neither notices nor status collect child usage. Actual parent inference has its normal usage. Without this optional capability, otherwise qualified background tools and UI/status remain available, but notices add no context messages or model turns. There is no fallback sendMessage queue. The original Pi 1.4.0 host proposal records the development contract and its historical tests; current Pithos deployment support is described under Background support in Pithos.
Live transparency
On the blocking agent-tool path, accepted handovers are serialized across all roles as exclusive operations through one shared process-local scheduler. Their FIFO waiting backlog remains unbounded, preserving existing blocking admission rather than imposing a new overflow limit. The compact dashboard distinguishes queued, running, waiting and stopping work. Each run has a compact metadata row and its own short task sentence. Sentences are sanitized single lines capped at 80 terminal columns (including the ellipsis), then clipped to available panel width. Model settings and tools remain hidden; the original delegated task is unchanged:
Guild · 1 occupied · 1 queued · 0 waiting · 0 stopping
• reviewer/general • queued #2 • 0s • 0 turns
Task: Review the validation changes.
• coder/typescript • running #3 • 7m 55s • 25 turns • Ctx: 24%
Task: Implement input validation.
Ctx updates after each assistant reply. It shows the share of the child’s configured context window (Ctx: 24%), or just the latest token count (Ctx: 48k) if the child doesn’t report a window. It stays hidden when there’s no count, including after successful compaction until the next reading. It’s a per-reply snapshot, not a sum across turns.
The # numbers are display-only admission labels within the current Guild owner generation, shared by background and agent-invoked blocking dashboard rows. They are not parsed from UUIDs and are never accepted as control IDs; a fresh owner after navigation starts a new numbering lifetime. Legacy/blocking IDs receive the same labels. Full internal IDs remain available in raw details and through status/tool results.
Task sentences may expose sensitive task content to anyone viewing the terminal. The transcript store retains only bounded display metadata, not an alternate instruction set.
With the dashboard visible and the editor exactly empty, plain ↑ selects the last/nearest agent row above the editor, without waiting for the main agent to become idle or taking actual editor focus. ↑/↓ then select a handover by run ID; the selected status dot and role/profile label use an inverted background, while metrics and task preview stay unchanged. → (or Enter) expands an activity transcript directly beneath that row. The lifecycle markers come from observed events: ○ Requested: Read … is not execution, → Reading … follows tool-execution events, and ✓ Read … or ✗ Failed to read … describes tool completion, not task success.
Coder children are asked to include a short plain-language intent on each shell call, in both blocking and background runs. Activity shows → Run AppHost cleanup tests, then ✓ Finished: Run AppHost cleanup tests or ✗ Failed: Run AppHost cleanup tests. The label describes what the child planned to do. Finished means the shell call ended without a reported tool error, not that the tests passed or every subcommand succeeded. Labels are sanitized and capped at 80 terminal columns, even when the raw arguments are too long to retain in full. Tab shows retained command text and output. The label does not change shell execution or permissions, and no additional model call is made.
Without a usable label, shell calls keep the existing deterministic summaries for simple reads, repository inspections, npm tests/type checks, and file listings. Compound inspection completion says Finished inspection commands., since a successful final command does not establish that earlier commands succeeded. Opaque scripts and unsupported syntax use a sanitized, bounded command preview instead of guessing intent; the preview may contain sensitive arguments. Other tools still describe the observed action, such as Updated src/live-transcript-ui.ts., without inferring a goal from filenames or edit contents. Reads with an offset or limit include a compact requested line range.
Non-running entries form the history in first-observed order; requested tools stay explicitly requested. All executing tools appear only in a separate bottom group, one clipped readable row per action, never duplicated in history or a Current summary. The group remains visible while history is paused. When a tool finishes, it leaves the group and becomes a history entry. A blank row separates the group where space permits; small panels reserve a history row where possible and show a bounded “more executing” count when the running group cannot fit. Tab details retains all stored calls. Parallel tools keep independent states in first-observed order. Assistant prose appears as a bounded Assistant: excerpt, not inferred intent or reasoning. Waiting, stopping, no-events and between-action states are explicit. ↓ past the bottom compact row returns navigation to the editor and consumes that boundary key only; subsequent keys work normally. ← collapses detail without releasing selection; in compact view Left is a no-op. Esc also collapses detail, then Esc returns to the editor. Right/Enter on an already expanded session preserves scrolling and its subscription. Only one session can be expanded; clicking another row disposes the previous detail before opening the new one. Other input (including printable typing) releases panel navigation and passes through unchanged; the draft and cursor are never replaced. Any nonempty draft, including whitespace or a newline, leaves Up/Down history and cursor handling untouched. Empty-editor Up takes precedence over previous-prompt history only while agent rows are visible; with no dashboard/agents, normal history remains available. There is no activation shortcut.
In expanded view, Tab toggles activity and raw details (retained arguments, command text, output and full run ID); toggling resumes live following. Use Home to reach the raw ID and older details. Tab is captured only while panel navigation and expanded detail are active with an eligible empty editor. Ordinary editor typing still passes through. ↑/↓, Page Up/Page Down, and Home scroll manually; End resumes live following. Paused scrolling stays anchored to content across updates and resizing; an evicted anchor is labelled explicitly. Fullscreen mode also supports clicking a dashboard row to select and expand that exact run inline. Regular terminal mode uses keyboard navigation, not mouse clicks.
The dashboard has no inspector modal or global F6 binding. Its component and selection survive ticker and queue updates. Expansion uses the same opaque, padded Guild detail styling across the full available terminal width; the collapsed panel stays capped at half the terminal height (at most 24 rows). Expanded sessions can use two-thirds of the terminal (at most 40 rows), reserving at least six rows for the editor and surrounding UI; screens shorter than 18 rows retain the half-height budget. Activity uses the active theme’s warning color for current/executing work, success for completed tools, error for failures, and muted text for queued/requested work and secondary metadata. Icons and lifecycle labels remain visible without color; completion colors do not certify task success. Task labels use accent color with normal body text for the task itself. Short screens show fewer roster rows around the selection. A blank opaque row separates the compact selected agent from a themed ✦ Session delimiter, without repeating its role/status. Two-column detail padding, an Activity (or Raw details) divider and footer breathing room separate content and controls; the task sentence is not repeated when its compact row is visible, while detail-only and standalone views retain a task preview; these rows count against the height budget. Tiny screens prioritize the visible ← collapse control over roster chrome. Raw assistant entries and ordinary tool input/output are labelled. Command completion never asserts that tests passed; internal report submission never asserts host validation. Internal report submissions show only a bounded human summary and submission status, never their protocol envelope; submission is not host-validated completion. It does not send instructions to children or expose thinking/reasoning blocks, signatures, provider metadata, or binary images. Unsupported images and omitted content are labelled. Collapse/navigation never cancel a handover. Background rows also retain waiting/stopping states through cleanup; the dashboard shows up to three occupied and eight queued background slots. When a selected agent completes, fails, or is cancelled (including while queued), its detail subscription is immediately disposed and its row removed. Selection moves to the adjacent active row when available, but never automatically expands another agent. An omitted/evicted transcript for a still-active ID remains labelled unavailable.
Compatibility: inspected installed Pi 1.0.4's public ctx.ui.setWidget component factory, ctx.ui.onTerminalInput unsubscribe/{consume: true} contract, component-local mouse coordinates and matchesKey/keybindings APIs. One lightweight observer exists while the widget is mounted, including when panel navigation is inactive; activation/return and ticker updates do not re-register it. Rebuilds dispose the old observer; widget cleanup/shutdown dispose it and detail subscriptions. Stale listeners and cleared widget factories are inert.
Activation and continued capture are guarded by public TUI.hasOverlay(), and an isolated structural check of the runtime-public getFocusedComponent() capability (omitted from the declared TUI interface). Only focused editors exposing CustomEditor's public text/app-action/extension-shortcut hooks are eligible; dialog/progress owners release capture and receive input unchanged. Missing focus capability or unsupported replacement editors disable keyboard activation rather than risk intercepting dialogs. A foreign custom screen deliberately exposing the same editor hooks cannot be distinguished through these public capabilities. It does not call setFocus, replace the editor, or access private runtime fields. Check /hotkeys for user/extension conflicts.
The transcript store is memory-only and session-local, independent of PITHOS_GUILD_TRACE. It retains at most 256 KiB of strings and 500 entries per run, with individual strings capped at 16 KiB and displayed tasks at 4 KiB and optional summaries at 512 bytes; up to 10 completed runs/2 MiB of completed content are retained, subject to a global 64-run/4 MiB string budget. Limits include stored identifiers and metadata strings, not the entire JavaScript heap. Evictions and truncation of active transcripts are visible; completed snapshots are retained privately for diagnostics, not as dashboard rows. All retained transcripts clear on shutdown, reload, or session replacement. Viewing does not add transcript history to parent model context or tool-result details, create session files, or make extra model requests. Repository/tool output may still contain secrets: anyone viewing the terminal can see that content, and the live view is a bounded excerpt, not a complete saved child session.
Agent-invoked handovers use that aggregate dashboard. Completed reports render as Markdown; successful TDD phase reports are labelled RED phase reported or GREEN phase reported, not accepted behaviors. A valid blocked task is transport-completed with a warning Blocked treatment and retained report (not a tool error). Failures receive diagnostics; cancellations use a compact terminal treatment. Details include requested practices, task outcome and host-selected skill receipts; ordinary rendering shows only selected skill IDs.
When the final run stops, the entire dashboard automatically disappears: widget, footer status, ticker, controller and input observer clear immediately, even with selected/expanded detail, a nonempty draft or changed focus ownership. No Esc is needed; stale callbacks cannot consume subsequent editor input. Terminal shutdown fences handover callbacks and publication before aborting execution, then independently cleans up UI and joins owned execution cleanup.
For handovers, session_shutdown permanently closes that registration: saved entry points cannot restart work, and shutdown joins accepted execution tails and owned cleanup. Native same-session tree retirement and fresh-intent rearm are connected as described below. These guarantees do not extend to create_commit; semantic interrupt support is conditional as described above, and deterministic doubles and Pi 1.4.0 source inspection are not full Pi-runtime certification.
Serialization covers all blocking Guild handovers within one extension runtime. Cancellation of queued work never launches a child; cancellation of active work holds the scheduler until the child process terminates and cleanup finishes. Children share the parent's working directory; Guild creates no worktrees. Separate Pi processes and external tools remain outside this guarantee. Guild remains independent of Pi's native specialist facility and does not observe its lifecycle or messages.
Background UI delivery uses fair batches of at most eight items/8 KiB, with overflow recovery via status/wait. Previews are untrusted data, not instructions. The same single-focused-transcript controls and private bounded store apply; viewing never collects usage.
Child usage and traces
Only the first top-level guild_wait collection can return known native child usage, with a persisted correlated receipt. Repeats are informational without attribution; nested waits are blocked before claiming. Unknown usage is not measured zero. Durable claims are at-most-once, not crash-atomic exactly-once credit: a lost tool return may never be credited. An interrupted restored observation explicitly collected by wait is cancelled with unknown usage.
Agent-invoked blocking handovers return the child's token usage and cost to Pi, so they count in the footer, /session, and session totals. Usage is omitted when any child turn lacks a complete breakdown.
Children run without their own session files. Set PITHOS_GUILD_TRACE=1 to record each child transcript locally as <session dir>/guild/<session id>/<child id>.jsonl: a header with run, role/profile and parent-session correlation, finalized child events (streaming message_update events are dropped), stderr, and an end record. Only the exact environment value 1 enables recording. Files are private (0600, directories 0700), with a 16 MiB content budget plus truncation/end-record metadata overhead; overflow writes a truncated marker and keeps the end record. Traces contain raw repository content and tool output. Recording failures are logged and never affect the handover.
Traced blocking handovers also snapshot the repository state they start from, after queueing, into <run id>.state/ beside the trace: state.json (root, HEAD, branch, captured files, anything skipped), tracked.patch (git diff --binary HEAD, staged and unstaged), and copies of untracked, non-ignored files under untracked/. The trace header's repoState names the snapshot and whether it is complete. Capture is read-only for the repository: no index, ref, or stash changes. Ignored files are not captured, and each part is capped at 32 MiB. To restore: clone the repository, check out head, run git apply --binary tracked.patch, and copy untracked/ over the checkout. Snapshots can contain uncommitted secrets that are not gitignored, so keep them private.
From a source checkout, npm run report -- [session files or directories] [--since YYYY-MM-DD] [--json] summarizes real sessions (default ~/.pi/agent/sessions, or $PI_CODING_AGENT_DIR/sessions). It counts handovers by target, entry path, status, task outcome and child-reported TDD compliance; reports duration and the child share of cost over sessions whose costs are all known; flags possible rework when the parent edits a path a coder reported changing before the next user message; and joins traces for rejected result submissions. Older Guild session formats are read as well. For background runs it separates admission-to-terminal latency from actual trace execution intervals: sum, union (any child executing), and overlap (at least two executing, not pairwise multiplicity), aggregated per session. Missing endpoints remain unknown. These are not workflow wall time or speedup. Known uncollected child cost is informational, not native totals; native credit requires a matching collection receipt/tool result. The report is observational: it does not show whether main-only work would have done better. The tool is repository-only and not part of the published package.
Package aliases and configuration migration
Canonical calls use role/profile. The old names remain package-owned compatibility aliases:
dotnet-architect → architect/dotnet
frontend-architect → architect/frontend
typescript-architect → architect/typescript
rust-architect → architect/rust
csharp-coder → coder/dotnet
angular-coder → coder/angular
typescript-coder → coder/typescript
rust-coder → coder/rust
code-reviewer → reviewer/general
Aliases cannot change prompts, profiles, or role tool ceilings. Old { member, task } blocking tool calls are normalized before the strict canonical schema is validated; there is no direct command route.
Guild no longer reads ~/.pi/agent/agents or .pi/agents and has no user/global configuration layer. The migration does not delete those directories or their files, and arbitrary prompt overrides are not converted. Repository guidance may remain in AGENTS.md, but Guild children do not inherit ambient context files; delegated tasks must be self-contained or explicitly ask the child to inspect relevant repository guidance. The fixed reviewer core, coder code-comments core, writer content-craft core, and explicitly required coder TDD core are injected into their respective child prompts; other ambient skills and profile-selected resources remain unavailable.
Isolation and resources
Each Guild target runs with:
- an isolated context window and no saved child session;
- the parent's current provider/model, thinking level, working directory, and trust decision;
- an explicit package-controlled base system prompt plus exactly one role prompt and one profile prompt, with selected fixed package skill cores embedded after role/profile guidance;
- the exact role-owned repository tool allowlist plus
guild_submit_result, withguild_ask_parentadditionally available to background children of every role; --no-extensions,--no-skills,--no-prompt-templates, and--no-context-files, with one explicit absolute local--extension: package-ownedsrc/child-protocol.tsfor blocking print/JSON children, orsrc/background-child-protocol.tsfor retained background RPC children;- no recursive Guild delegation and no user/project member, system-prompt, append-prompt, skill, extension, template, or context-file discovery.
The blocking tool fails closed while Plan mode is active or indeterminate. The inherited trust decision controls --approve versus --no-approve; it does not expand role tools. Only coder has shell access, so this remains guardrail-oriented delegation rather than a filesystem sandbox. Task input stays free-form; completion is structured.
Blocking Guild handovers do not support parent–child clarification exchanges. Blocking children run in print/JSON mode with stdin ignored: the parent cannot send follow-up instructions to the running child, and the child has no ask-parent/reply operation. Live transcripts are observational, not a messaging channel. Supply essential context before delegation; if missing information blocks the task, the child reports blockers and the parent can supply that information in a new handover, not resume the same child. The same-child corrective opportunity described below repairs result submission only, not missing task context.
Cancellation terminates the child process and waits for shutdown and owned cleanup before releasing the serialized queue. Rendering retains up to 50 KiB of UTF-8 report text plus a truncation notice; accepted structured reports remain in tool-result or lifecycle-message details. Transport and diagnostics are separately bounded, not retained without limit.
Exact completion protocol
One host builder binds guild/2 version 2 to a run ID, unique task ID, canonical role/profile, and original task text. It does not infer scope, acceptance criteria, or write leases from prose. Blocking agent tools use the blocking runner; background tools use the retained RPC runner. Both paths use host-owned completed, failed, or cancelled outcomes. Legacy persisted prose reports remain displayable, but cannot complete a new handover.
Children must submit guild_submit_result alone in its tool batch, once. Common exact fields are protocol, version, runId, taskId, role, profile, taskOutcome, compliance, summary, blockers, limitations, and payload. taskOutcome is succeeded only with no blockers and all requested compliance satisfied; blocked requires a nonblank blocker. compliance is empty unless coder required TDD was selected. Required TDD needs one exact record for the assigned red or green phase with status satisfied (one check and observation: expected nonzero failure for RED or zero exit for GREEN) or blocked (nonblank reason, blocked task outcome). GREEN must match the accepted RED check. Missing execution or meaningful preimplementation RED is blocked, not waived. Diagnostics and 1–4 evidence references remain child claims. Phase success is not slice completion; only parent acceptance of collected GREEN closes the behavior. Role payloads are:
- explorer: referenced
observationsandunknowns; - architect:
decisions,contracts, andhandoff; - coder: reported
changesandverificationcommands/outcomes; - reviewer:
scope, severity-rankedfindings, andverdict; - writer:
artifactswithpath/description,sourceswithreference/usage, andcheckswithcheck/outcome. Succeeded requires at least one artifact; each supplied writer record field must be nonblank and NUL-free. No article body is carried in the report.
The new role retains guild/2 version 2: reports are bound to one host-selected role and validated by the same-package parent/child schema, and existing role payloads are unchanged. Older packages do not understand the writer target.
Empty findings and unperformed checks are legitimate when reported honestly. Each string is at most 2048 UTF-8 bytes, each list at most 32 items, and the serialized result at most 48 KiB. Oversized or extra-key results are rejected, never truncated into apparent completion. Parent ingestion permits at most 1 MiB per JSON line, 16 MiB total stdout, and 64 KiB stderr. Pi's agent_end and turn_end events only repeat messages and tool results already streamed individually, so they are skipped unparsed and excluded from both limits. Exceeding transport bounds fails the run, including unusually large ordinary tool events. A child that stops on a provider error reports the provider's message in its failure diagnostic.
A malformed submission or prose-only completion gets one shared corrective opportunity in the same child. The next assistant response must submit the result alone; there is no respawn, queue re-entry, or reset on continued agent runs. Identity mismatch, mixed batches, duplicates, post-submission work, exhausted repair, missing handshake/settlement, process/provider errors, and cleanup failures fail closed. Cancellation and failure override a previously valid submission. Mixed-batch rejection is not a claim that sibling work never happened or was rolled back.
Reports, commands, changes, references, TDD phase observations, and judgments are child-reported claims, not authenticated or host-certified truth. Fixed package core selection is host-owned: every coder selects skills/code-comments/SKILL.md, with skills/tdd/SKILL.md first when required TDD is requested; reviewer selects only skills/code-review-standards/SKILL.md; writer selects only skills/content-craft/SKILL.md; explorer and architect select none. Each selected raw valid UTF-8 core must be a canonical regular package file <=32 KiB; missing, symlinked or oversized cores fail before child launch. Its complete content is embedded with absolute source and references-directory anchors, not loaded via ambient skills or references preloading. Details receipts record package-relative path, byte count and SHA-256 of injected raw bytes; they attest selection, not authenticity, child attention, or test execution. Host role/tools/protocol overrides required practice, which overrides general skill exceptions. For optional parent-selected reviewer work, the caller supp