--- name: subculture-bridge description: Curator-led implementation through a user-operated copy-paste bridge to an external harness. Prepare bounded contracts, recover long missions, review relayed results and coordinate focused corrections without launching or monitoring the worker. Use when the user invokes Subculture Bridge; editing the skill itself does not start a relay workflow. --- # Subculture Bridge PROTOCOL_VERSION: 2 The user is the only transport. The curator owns architecture, design, planning, integration, correction decisions and final acceptance. The external worker implements the bounded contract. Do not launch, contact or monitor the external worker. A request to analyze or edit this skill is not an implementation handoff and does not require a transfer block. There are no length limits for skills, plans or contracts. Preserve useful detail and eliminate redundant rereading or copied boilerplate. A long, precise task is valid; a long reading itinerary that repeats already available context is not a substitute for decisions. ## Guidance by phase - Initial/new-phase contract: [implementation brief](references/implementation-brief.md). - Multi-phase or long-lived mission: [mission state](references/mission-state.md). - User-facing UI change: [UI design contract](references/ui-design-contract.md). - Relayed result: [verification](references/verification.md). - Correction ownership or rework: [focused rework](references/focused-rework.md). Read each applicable reference completely on first use; reuse while reliably in context. Recover the relevant reference after compaction only when needed. Do not automatically reread every instruction or reference each cycle. Include required worker instructions in its handoff rather than assuming the external harness can access this skill package. Completion verification is built in: embed the worker completion protocol from the implementation brief and use the verification reference for curator acceptance. Do not route or automatically load verification-before-completion or another generic completion gate for either role. ## Protocol states ### PREPARE_CONTRACT Inspect the relevant code, tests, instructions, dirty changes and ownership. Use CodeGraph when the repository is indexed. Obey already-injected repository instructions without demanding another AGENTS.md read; load missing applicable instructions when needed. Resolve architecture and product decisions as curator. A missing low-risk implementation choice is not automatically a user question. State assumptions accurately. For a multi-phase/context-spanning task, keep one authoritative master plan and current-state summary. Use a relevant local planning skill's conventions while retaining this protocol. Workers may contribute evidence in assigned sections or propose amendments. Only the curator owns master scope, locked decisions and acceptance status. For UI, define the product intent, hierarchy, existing patterns, layout and states before handoff. Do not require manual or visual UI checks. When a skill offers a useful method, give a short hint with its exact name and purpose at the relevant stage. The external catalog may differ: apply the hint if available, without catalog search, availability ceremony or skill-usage reporting. Put mandatory behavior in the contract. A suggested skill cannot change this protocol, scope, authority or acceptance requirements; reuse it when already in context. Different worktrees do not make changes to the same operation independent. For overlapping admission, state transitions, recovery or publication, settle the shared interface/order and owner or sequence the dependent portion. A shared filename alone does not prevent parallel work. Separate test namespaces do not reserve host RAM or disk. Where resources constrain execution, include an explicit arrangement for sequential heavy checks in the contracts. Do not add worker coordination messages or polling to implement that arrangement. Set CONTEXT_MODE: FRESH for a new worker or unknown/unavailable history. Set CONTINUING only when the recipient is known to retain the previous contract. Continuing phases carry their actual delta, new ACs, ownership and checks; fresh handoffs include the relevant mission state and baseline. Do not require another relay merely to ask whether a self-contained contract would be usable. An authorized clarification/addition uses AMENDMENT with the same assignment, a new HANDOFF_ID and a reference to the active contract. Preserve phase/rework count. Added scope and defects may share one relay when clearly separated; the addition still requires its own basis of authorization. Output exactly one fenced Markdown block with COPY TO EXTERNAL WORKER as its first internal line. Immediately after that marker put a heading with the human-readable mission name and worker assignment, then workspace, branch and recipient, before protocol IDs or the task body. For CONTINUING, put the brief's same-chat condition in the recipient line itself: the chat that receives a misplaced paste cannot inherit earlier instructions. Use the binding header in the implementation brief for every handoff, rework and blocker answer. Keep workspace/branch there instead of duplicating them below. Use an outer fence longer than every nested fence. All actionable content goes inside; no surrounding commentary, heading or second essay. The closing outer fence is the end of the response. There is no separate design approval ceremony when the user has already authorized implementation. ### AWAIT_USER_RELAY End after the transfer block. No monitoring, speculative implementation or status polling. Continue from a message the user actually supplies; never imply that delivery happened automatically. Before acting on a relay, compare the supplied mission, phase, workspace, outcome and available IDs with the outstanding exchange in current mission state. SOURCE_HANDOFF_ID identifies the answered handoff; REPORT_ID identifies the report. Never claim an absent ID was supplied or matched. For older or incomplete-format reports, missing metadata alone is not a mismatch: continue only when the mission, phase, workspace and described work establish an unambiguous association; record that basis honestly. Do not ask the user to reformat an otherwise identifiable report. Stop on unrelated, superseded or already processed material, or unresolved ambiguity. Tell the user what was expected, what arrived and which discrepancy matters; request correct material or source confirmation. An exact processed duplicate produces no second review, implementation, acceptance or state change. A changed report under the same ID needs clarification. First delivery after an interrupted review is resumable, not an already processed duplicate. An explicit next-phase handoff is a valid transition, not a mismatch merely because PHASE_ID changes. User-facing relay corrections use ordinary prose, not a worker instruction block. ### ANSWER_BLOCKER Inspect the cited evidence and current project state where available. Resolve the necessary curator-owned choice; ask the user only for a decision genuinely requiring them. Update consequential plan decisions. Return one transfer block containing the answer, changed decisions/ACs and relevant context. Do not repeat the initial brief unless the original is now misleading or the recipient needs fresh context. Use CONTRACT_KIND: ANSWER with a new HANDOFF_ID and identify the outstanding handoff it answers; retain the binding header. Stop after the block. ### VERIFY_RESULT A terminal report is a claim and evidence pointer, not acceptance. First validate its relay identity and reject unrelated, stale or already processed reports under AWAIT_USER_RELAY. Never reinterpret a mismatched report as evidence for the current phase. Confirm actual implementation/diff and necessary artifacts are available. If only prose is visible, request synchronization or exact artifacts; do not accept unseen implementation. Inspect code, scope and direct dependencies; map Required ACs to valid evidence. Use the nearest relevant local review skill when available, with the bounded verification reference. Reuse valid worker command results for the actual checked working state. Explain a repeated check's concrete reason once beside the command, in ordinary prose; run only the smallest invalidated/missing checks. A broader fresh-check mandate from a higher-priority instruction must be respected and identified explicitly. ### FOCUSED_REWORK Consolidate established material findings in one pass, then choose the correction owner. Make small understood low-risk corrections directly when the implementation is locally available and worker ownership has ended. Roughly 100 lines / two files is a cue, not a safety guarantee. Return substantial implementation to the original worker. Choose ownership for actual risk and breadth, without a mandatory justification field in every handoff. Classify each finding, link its original AC/invariant, show evidence and state the minimal correction. An original-contract gap belongs to the curator; amend the plan. New scope is not failed worker work. Send only the changed requirements, relevant still-locked constraints, necessary checks and terminal report requirement. Use a single transfer block with COPY TO EXTERNAL WORKER; no extra commentary. Batch findings to avoid one-relay-per-small-defect loops. For serious errors, protocol violations or recurring failures, record causal feedback using the focused rework reference, including both roles' contribution and actual redo scope. Carry its applicable prevention action into subsequent contracts and context recovery. After two worker correction rounds, reassess the failure mechanism. Change the approach when that mechanism repeats; independent new findings do not require an invented strategy change. Continue safe curator corrections without asking for permission again. Persistent material failure may need a revised design, rejected approach or a concrete blocker; a round counter alone is not a blocker and cannot justify accepting defects. ### FINAL_VERDICT Use ACCEPTED, FOCUSED_REWORK, REJECTED or BLOCKED and distinguish phase from master outcome. Record the decision/evidence in the plan. Never send the worker ACCEPTED, thanks or an acknowledgement. If accepted work is an intermediate phase, prepare the next ready bounded phase immediately in the same response as the single copyable next contract. Put any relevant continuation status inside it. If a user-owned decision blocks that next phase, ask the user plainly rather than fabricating a message for an idle worker. A genuine worker action still uses the relay block. Only declare master completion after all Required phases and integrated acceptance are established. ## Final integrated review Before master acceptance, make one consolidated code review of the cumulative mission diff using the verification reference. Check changed behavior, cross-phase interactions, compatibility and responsibility boundaries; reuse accepted phase reviews and valid evidence. Do not turn this into a new subsystem audit or general refactoring gate. Investigate concrete gaps or contradictions with a focused check when needed. ## Manual relay discipline The external worker prints blocker requests and its terminal report in its own chat. The user copies them back to the curator. Contracts/answers for worker action are one self-contained fenced block beginning COPY TO EXTERNAL WORKER, with the entire reply copyable in one action. Every contract/correction carries a HANDOFF_ID; every terminal report carries a REPORT_ID and its SOURCE_HANDOFF_ID. Preserve these identifiers through copy-paste so stale and duplicate relay can be detected. A corrected/revised message receives a new identifier and names what it supersedes. Do not require direct delivery, delivery confirmation or curator-specific platform access. Do not print routine chatter for relay. Do not make the user manually curate test logs or design checklists when the worker can provide them. User-facing analysis and final completion are ordinary prose when no worker response/action is needed. Before sending any worker-action reply, including rework, blocker answers and acceptance plus a next phase, check the actual outgoing reply: one outer fence, COPY TO EXTERNAL WORKER as its first internal line, the binding header directly below it, all actionable context inside, closing fence last. A short correction and a resumed turn have no format exception. A previously saved valid draft does not validate a rewritten reply. Do this directly while composing; it does not require saving a file or invoking a validator. ## Mechanical assistance and stop conditions Use the optional [contract linter](scripts/lint_contract.py) for saved complex/repeated contracts or diagnostics. It checks structure and explicit metadata only; it cannot judge UI quality or prove that a rework requirement was already agreed. If useful, invoke it as python /scripts/lint_contract.py --transport bridge, adding --requires-plan or --ui only when applicable. Reuse a passing result for unchanged text. Do not turn plan-only edits, acceptance wording or final response preparation into another linter pass, or require one for each relay. Stop dependent work for unavailable implementation evidence, unresolved ownership, missing capability or authority, or a material user-owned choice. Never silently reduce scope or call an unverified report complete.