Shadow Dream
Generate reviewable future-state architecture options from evidence-linked
Shadow observations and accepted constraints. Produce a proposal only. Do not
implement it or treat it as an approved decision.
Inputs
- The architecture question and desired planning horizon.
- Repository instructions and the repository-declared
.shadow/ README, index,
schemas, lifecycle, and approval conventions.
- Evidence-linked observations about the current system.
- Accepted decisions and constraints that bound viable target states.
- Optional goals, risk tolerance, deadlines, and migration limits.
If the repository declares .shadow/ conventions or schemas, they take
precedence. If required observations, constraints, rationale, or approval
conventions are absent, record the gap as unknown. Do not invent them.
Hard Boundary
- Remain proposal-only. Do not edit application code, configuration,
infrastructure, tests, or implementation plans.
- Do not mark a proposal
accepted, change an accepted decision, rewrite
accepted history, or claim that a human approved anything.
- Persist only one proposed artifact, and only when the requester explicitly
asks for persistence. Otherwise return the proposal in chat.
- When persistence is requested, use the repository-declared proposal path and
schema. If compliance would require changing accepted records or other
artifacts, return the proposal in chat and report the conflict instead.
- Refuse requests to accept or implement the proposal. Offer the proposal,
approval gate, or a later handoff instead.
- Hand an approved proposal to
shadow-architecture for decision recording only
after locating the repository-declared human approval artifact and citing it.
The approval artifact, not model language, establishes approval.
Use requirements-and-spec-writing for product requirements, use cases,
acceptance criteria, or interface specifications. Use
planning-and-task-breakdown after approval to create implementation tasks.
Evidence Discipline
Keep these classes separate throughout the proposal:
- Verified inputs: Directly supported observations, accepted constraints,
repository instructions, schemas, code, tests, documents, issues, pull
requests, or commits. Cite workspace-relative paths or stable references.
- Inference: Reasoned implications of verified inputs. Label each inference
and cite the inputs that support it.
- Unknowns: Missing, contradictory, stale, or unverified information.
Missing rationale is always unknown.
Do not present an inference as an accepted constraint. Do not use a proposed
artifact as evidence that its own target state is accepted.
Workflow
- Establish the question. State the architecture scope, planning horizon,
desired outcome, non-goals, and proposal-only boundary.
- Load Shadow context. Read the repository-declared
.shadow/ entry point,
schema, relevant observations, accepted decisions, relations, anchors, and
evidence. Preserve their identifiers and lifecycle meanings.
- Classify inputs. Build separate lists of verified inputs, inferences, and
unknowns. Flag contradictions and missing rationale without resolving them by
guesswork.
- Extract drivers and constraints. List the forces that distinguish viable
options. Mark every constraint as accepted, requested, inferred, or unknown.
Accepted constraints are mandatory; the other classes are not.
- Generate multiple options. Produce at least two materially distinct
future-state architectures. Include a status-quo or incremental option when
it is a credible baseline. Do not disguise implementation variants as
separate architecture options.
- Describe each option. For every option, state:
- target-state structure and responsibility boundaries;
- evidence and accepted constraints it satisfies;
- assumptions and unknowns;
- benefits and tradeoffs;
- consequences, including operational and organizational effects;
- risks, failure modes, and risk-reduction evidence needed;
- migration stages, stage gates, and observable exit criteria;
- rollback boundary, trigger, method, and irreversible steps.
- Compare options. Use the same drivers and constraints for every option.
Distinguish verified comparison facts from judgment. Do not use unsupported
numeric scoring or false precision.
- Recommend conditionally. Recommend one option, a hybrid, or no change.
Explain why it best fits the verified evidence and accepted constraints,
which tradeoffs remain, and which unknowns could reverse the recommendation.
- Define the review gate. List open questions, required reviewers,
evidence still needed, and the repository-declared human approval artifact.
Keep proposal status explicitly
proposed.
- Return or persist. Return the complete proposal in chat unless explicit
persistence was requested. When persisting, validate the proposed artifact
against the repository schema and report its path without promoting it.
Proposal Shape
Use repository-required fields first, then preserve this information:
- Title, scope, status
proposed, and planning horizon.
- Evidence sources and accepted Shadow constraints.
- Verified inputs.
- Inferences.
- Unknowns and contradictions.
- Drivers and evaluation criteria.
- Option 1.
- Option 2 and any additional options.
- Cross-option tradeoff comparison.
- Recommendation and conditions that could change it.
- Consequences and risks.
- Migration stages and stage gates.
- Rollback triggers, boundaries, and method.
- Open questions, required evidence, and reviewers.
- Human approval artifact required for later decision recording.
Handoff
After a human approval artifact exists, provide shadow-architecture with the
proposed artifact, approval reference, evidence links, unresolved unknowns, and
the requested decision-recording action. Do not perform that action in this
skill. Without the approval artifact, stop at the proposed artifact.
Response
Report the proposal status, whether it was returned or persisted, evidence
sources, unknowns, option count, recommendation, migration and rollback summary,
open questions, approval requirement, and explicit refusal to mark accepted,
rewrite accepted history, or implement when any of those actions were requested.
1---2name: shadow-dream3description: Generates evidence-linked future-state architecture options and a reviewable proposal from Shadow observations and accepted constraints, including target states, tradeoffs, migration paths, rollback, risks, and a recommendation. Use when asked to dream, explore architecture options, compare future-state architecture, define a target state, or propose a migration path; excludes product requirements and specifications handled by requirements-and-spec-writing and implementation task planning handled by planning-and-task-breakdown.4license: MIT5---67# Shadow Dream89Generate reviewable future-state architecture options from evidence-linked10Shadow observations and accepted constraints. Produce a proposal only. Do not11implement it or treat it as an approved decision.1213## Inputs1415- The architecture question and desired planning horizon.16- Repository instructions and the repository-declared `.shadow/` README, index,17 schemas, lifecycle, and approval conventions.18- Evidence-linked observations about the current system.19- Accepted decisions and constraints that bound viable target states.20- Optional goals, risk tolerance, deadlines, and migration limits.2122If the repository declares `.shadow/` conventions or schemas, they take23precedence. If required observations, constraints, rationale, or approval24conventions are absent, record the gap as unknown. Do not invent them.2526## Hard Boundary2728- Remain proposal-only. Do not edit application code, configuration,29 infrastructure, tests, or implementation plans.30- Do not mark a proposal `accepted`, change an accepted decision, rewrite31 accepted history, or claim that a human approved anything.32- Persist only one proposed artifact, and only when the requester explicitly33 asks for persistence. Otherwise return the proposal in chat.34- When persistence is requested, use the repository-declared proposal path and35 schema. If compliance would require changing accepted records or other36 artifacts, return the proposal in chat and report the conflict instead.37- Refuse requests to accept or implement the proposal. Offer the proposal,38 approval gate, or a later handoff instead.39- Hand an approved proposal to `shadow-architecture` for decision recording only40 after locating the repository-declared human approval artifact and citing it.41 The approval artifact, not model language, establishes approval.4243Use `requirements-and-spec-writing` for product requirements, use cases,44acceptance criteria, or interface specifications. Use45`planning-and-task-breakdown` after approval to create implementation tasks.4647## Evidence Discipline4849Keep these classes separate throughout the proposal:5051- **Verified inputs:** Directly supported observations, accepted constraints,52 repository instructions, schemas, code, tests, documents, issues, pull53 requests, or commits. Cite workspace-relative paths or stable references.54- **Inference:** Reasoned implications of verified inputs. Label each inference55 and cite the inputs that support it.56- **Unknowns:** Missing, contradictory, stale, or unverified information.57 Missing rationale is always unknown.5859Do not present an inference as an accepted constraint. Do not use a proposed60artifact as evidence that its own target state is accepted.6162## Workflow63641. **Establish the question.** State the architecture scope, planning horizon,65 desired outcome, non-goals, and proposal-only boundary.662. **Load Shadow context.** Read the repository-declared `.shadow/` entry point,67 schema, relevant observations, accepted decisions, relations, anchors, and68 evidence. Preserve their identifiers and lifecycle meanings.693. **Classify inputs.** Build separate lists of verified inputs, inferences, and70 unknowns. Flag contradictions and missing rationale without resolving them by71 guesswork.724. **Extract drivers and constraints.** List the forces that distinguish viable73 options. Mark every constraint as accepted, requested, inferred, or unknown.74 Accepted constraints are mandatory; the other classes are not.755. **Generate multiple options.** Produce at least two materially distinct76 future-state architectures. Include a status-quo or incremental option when77 it is a credible baseline. Do not disguise implementation variants as78 separate architecture options.796. **Describe each option.** For every option, state:80 - target-state structure and responsibility boundaries;81 - evidence and accepted constraints it satisfies;82 - assumptions and unknowns;83 - benefits and tradeoffs;84 - consequences, including operational and organizational effects;85 - risks, failure modes, and risk-reduction evidence needed;86 - migration stages, stage gates, and observable exit criteria;87 - rollback boundary, trigger, method, and irreversible steps.887. **Compare options.** Use the same drivers and constraints for every option.89 Distinguish verified comparison facts from judgment. Do not use unsupported90 numeric scoring or false precision.918. **Recommend conditionally.** Recommend one option, a hybrid, or no change.92 Explain why it best fits the verified evidence and accepted constraints,93 which tradeoffs remain, and which unknowns could reverse the recommendation.949. **Define the review gate.** List open questions, required reviewers,95 evidence still needed, and the repository-declared human approval artifact.96 Keep proposal status explicitly `proposed`.9710. **Return or persist.** Return the complete proposal in chat unless explicit98 persistence was requested. When persisting, validate the proposed artifact99 against the repository schema and report its path without promoting it.100101## Proposal Shape102103Use repository-required fields first, then preserve this information:1041051. Title, scope, status `proposed`, and planning horizon.1062. Evidence sources and accepted Shadow constraints.1073. Verified inputs.1084. Inferences.1095. Unknowns and contradictions.1106. Drivers and evaluation criteria.1117. Option 1.1128. Option 2 and any additional options.1139. Cross-option tradeoff comparison.11410. Recommendation and conditions that could change it.11511. Consequences and risks.11612. Migration stages and stage gates.11713. Rollback triggers, boundaries, and method.11814. Open questions, required evidence, and reviewers.11915. Human approval artifact required for later decision recording.120121## Handoff122123After a human approval artifact exists, provide `shadow-architecture` with the124proposed artifact, approval reference, evidence links, unresolved unknowns, and125the requested decision-recording action. Do not perform that action in this126skill. Without the approval artifact, stop at the proposed artifact.127128## Response129130Report the proposal status, whether it was returned or persisted, evidence131sources, unknowns, option count, recommendation, migration and rollback summary,132open questions, approval requirement, and explicit refusal to mark accepted,133rewrite accepted history, or implement when any of those actions were requested.