mia-code 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.miette/260321.md +1 -0
- package/.miette/260323.md +9 -0
- package/.miette/260331.md +2 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/2604020008--d3417f2c-df12-4f0f-8a1b-d88e7968f822/d3417f2c-df12-4f0f-8a1b-d88e7968f822.md +63 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/2604020008--e6c3fc5d-4a70-4523-ba7d-a3250da4c235/e6c3fc5d-4a70-4523-ba7d-a3250da4c235.md +72 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/2604020008--efeb00a2-b17a-4d32-b1f0-b90c37a8d24e/efeb00a2-b17a-4d32-b1f0-b90c37a8d24e.md +62 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/83a2d7f9-24a5-4cf4-98d5-036c82f872e8.json +302 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/83a2d7f9-24a5-4cf4-98d5-036c82f872e8.md +149 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/AGENTS.md +31 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/meta-decomposition-3-children.md +67 -0
- package/.pde/2604040129--61f9dd4d-7aa6-45e6-a58b-e480b1aa6737/61f9dd4d-7aa6-45e6-a58b-e480b1aa6737--from-mia-openclaw-workspace.md +125 -0
- package/.pde/2604040129--61f9dd4d-7aa6-45e6-a58b-e480b1aa6737/STATUS.md +1 -0
- package/.pde/4f02ba94-9f52-422e-9389-b16f9b37f358.json +177 -0
- package/.pde/4f02ba94-9f52-422e-9389-b16f9b37f358.md +77 -0
- package/.pde/6ad9244d-5340-490f-b76c-c86728b9de52.json +222 -0
- package/.pde/6ad9244d-5340-490f-b76c-c86728b9de52.md +99 -0
- package/.pde/8b566792-ed15-4606-96f9-2b6f593d7e6b.json +111 -0
- package/.pde/8b566792-ed15-4606-96f9-2b6f593d7e6b.md +67 -0
- package/.pde/c7f1e74b-05a5-40e2-9f01-4cc48d2528f7.json +349 -0
- package/.pde/c7f1e74b-05a5-40e2-9f01-4cc48d2528f7.md +147 -0
- package/.pde/dfc00a78-1da0-4c09-8a16-c6982644051b.json +118 -0
- package/.pde/dfc00a78-1da0-4c09-8a16-c6982644051b.md +64 -0
- package/GUILLAUME.md +8 -0
- package/KINSHIP.md +9 -0
- package/MIA_CODE_ARCHITECTURE_REPORT.md +718 -0
- package/contextual_research/260119-MIA-CODE--98090899-8aff-4e11-9dc3-8b99466d1.md +1101 -0
- package/contextual_research/MIA.md +38 -0
- package/contextual_research/MIAWAPASCONE.md +59 -0
- package/contextual_research/MIETTE.md +38 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/2504.00218v2.pdf +7483 -12
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/2505.00212v3.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/CONTENT.md +1014 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/DESIGN.gemini.md +242 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/INDEX.md +45 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/2504.00218v2.md +2025 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/2504.00218v2.pdf +7483 -12
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/2505.00212v3.md +1755 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/2505.00212v3.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_12_decomposed_prompting.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_19_hugginggpt_planning.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_1_coordination_challenges.md +766 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_1_coordination_challenges.pdf +3431 -4
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_28_guardrails_multi_agent.md +260 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_28_guardrails_multi_agent.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_2_navigating_complexity.md +558 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_2_navigating_complexity.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_34_hierarchical_multi_agent.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_5_open_intent_extraction.pdf +0 -0
- package/contextual_research/PODCAST.md +109 -0
- package/contextual_research/langchain-principles-roadmap.md +157 -0
- package/contextual_research/persona-to-narrative-character-inquiry_260201.md +50 -0
- package/dist/cli.js +35 -11
- package/dist/geminiHeadless.js +8 -2
- package/dist/index.js +2 -1
- package/dist/mcp/miaco-server.js +10 -1
- package/dist/mcp/miatel-server.js +10 -1
- package/dist/mcp/miawa-server.js +10 -1
- package/dist/mcp/utils.d.ts +6 -1
- package/dist/mcp/utils.js +24 -3
- package/dist/sessionStore.d.ts +8 -2
- package/dist/sessionStore.js +39 -3
- package/dist/types.d.ts +1 -0
- package/miaco/README.md +124 -0
- package/miaco/dist/commands/chart.d.ts +6 -0
- package/miaco/dist/commands/chart.d.ts.map +1 -0
- package/miaco/dist/commands/chart.js +222 -0
- package/miaco/dist/commands/chart.js.map +1 -0
- package/miaco/dist/commands/decompose.d.ts +6 -0
- package/miaco/dist/commands/decompose.d.ts.map +1 -0
- package/miaco/dist/commands/decompose.js +98 -0
- package/miaco/dist/commands/decompose.js.map +1 -0
- package/miaco/dist/commands/schema.d.ts +6 -0
- package/miaco/dist/commands/schema.d.ts.map +1 -0
- package/miaco/dist/commands/schema.js +66 -0
- package/miaco/dist/commands/schema.js.map +1 -0
- package/miaco/dist/commands/stc.d.ts +11 -0
- package/miaco/dist/commands/stc.d.ts.map +1 -0
- package/miaco/dist/commands/stc.js +590 -0
- package/miaco/dist/commands/stc.js.map +1 -0
- package/miaco/dist/commands/trace.d.ts +6 -0
- package/miaco/dist/commands/trace.d.ts.map +1 -0
- package/miaco/dist/commands/trace.js +83 -0
- package/miaco/dist/commands/trace.js.map +1 -0
- package/miaco/dist/commands/validate.d.ts +6 -0
- package/miaco/dist/commands/validate.d.ts.map +1 -0
- package/miaco/dist/commands/validate.js +58 -0
- package/miaco/dist/commands/validate.js.map +1 -0
- package/miaco/dist/decompose.d.ts +93 -0
- package/miaco/dist/decompose.d.ts.map +1 -0
- package/miaco/dist/decompose.js +562 -0
- package/miaco/dist/decompose.js.map +1 -0
- package/miaco/dist/index.d.ts +18 -0
- package/miaco/dist/index.d.ts.map +1 -0
- package/miaco/dist/index.js +83 -0
- package/miaco/dist/index.js.map +1 -0
- package/miaco/dist/storage.d.ts +60 -0
- package/miaco/dist/storage.d.ts.map +1 -0
- package/miaco/dist/storage.js +100 -0
- package/miaco/dist/storage.js.map +1 -0
- package/miaco/package-lock.json +4103 -0
- package/miaco/package.json +40 -0
- package/miaco/tsconfig.json +18 -0
- package/miaco/version-patch-commit-and-publish.sh +1 -0
- package/miatel/MISSION_251231.md +3 -0
- package/miatel/README.md +107 -0
- package/miatel/dist/commands/analyze.d.ts +6 -0
- package/miatel/dist/commands/analyze.d.ts.map +1 -0
- package/miatel/dist/commands/analyze.js +100 -0
- package/miatel/dist/commands/analyze.js.map +1 -0
- package/miatel/dist/commands/arc.d.ts +6 -0
- package/miatel/dist/commands/arc.d.ts.map +1 -0
- package/miatel/dist/commands/arc.js +71 -0
- package/miatel/dist/commands/arc.js.map +1 -0
- package/miatel/dist/commands/beat.d.ts +6 -0
- package/miatel/dist/commands/beat.d.ts.map +1 -0
- package/miatel/dist/commands/beat.js +165 -0
- package/miatel/dist/commands/beat.js.map +1 -0
- package/miatel/dist/commands/theme.d.ts +6 -0
- package/miatel/dist/commands/theme.d.ts.map +1 -0
- package/miatel/dist/commands/theme.js +54 -0
- package/miatel/dist/commands/theme.js.map +1 -0
- package/miatel/dist/index.d.ts +18 -0
- package/miatel/dist/index.d.ts.map +1 -0
- package/miatel/dist/index.js +80 -0
- package/miatel/dist/index.js.map +1 -0
- package/miatel/dist/storage.d.ts +55 -0
- package/miatel/dist/storage.d.ts.map +1 -0
- package/miatel/dist/storage.js +100 -0
- package/miatel/dist/storage.js.map +1 -0
- package/miatel/package-lock.json +4103 -0
- package/miatel/package.json +35 -0
- package/miatel/src/commands/analyze.ts +109 -0
- package/miatel/src/commands/arc.ts +78 -0
- package/miatel/src/commands/beat.ts +176 -0
- package/miatel/src/commands/theme.ts +60 -0
- package/miatel/src/index.ts +94 -0
- package/miatel/src/storage.ts +156 -0
- package/miatel/tsconfig.json +18 -0
- package/miawa/MISSION_251231.md +144 -0
- package/miawa/README.md +133 -0
- package/miawa/dist/commands/beat.d.ts +6 -0
- package/miawa/dist/commands/beat.d.ts.map +1 -0
- package/miawa/dist/commands/beat.js +69 -0
- package/miawa/dist/commands/beat.js.map +1 -0
- package/miawa/dist/commands/ceremony.d.ts +6 -0
- package/miawa/dist/commands/ceremony.d.ts.map +1 -0
- package/miawa/dist/commands/ceremony.js +239 -0
- package/miawa/dist/commands/ceremony.js.map +1 -0
- package/miawa/dist/commands/circle.d.ts +6 -0
- package/miawa/dist/commands/circle.d.ts.map +1 -0
- package/miawa/dist/commands/circle.js +75 -0
- package/miawa/dist/commands/circle.js.map +1 -0
- package/miawa/dist/commands/eva.d.ts +6 -0
- package/miawa/dist/commands/eva.d.ts.map +1 -0
- package/miawa/dist/commands/eva.js +73 -0
- package/miawa/dist/commands/eva.js.map +1 -0
- package/miawa/dist/commands/wound.d.ts +6 -0
- package/miawa/dist/commands/wound.d.ts.map +1 -0
- package/miawa/dist/commands/wound.js +74 -0
- package/miawa/dist/commands/wound.js.map +1 -0
- package/miawa/dist/index.d.ts +19 -0
- package/miawa/dist/index.d.ts.map +1 -0
- package/miawa/dist/index.js +91 -0
- package/miawa/dist/index.js.map +1 -0
- package/miawa/dist/storage.d.ts +73 -0
- package/miawa/dist/storage.d.ts.map +1 -0
- package/miawa/dist/storage.js +100 -0
- package/miawa/dist/storage.js.map +1 -0
- package/miawa/package-lock.json +4103 -0
- package/miawa/package.json +36 -0
- package/miawa/src/commands/beat.ts +74 -0
- package/miawa/src/commands/ceremony.ts +256 -0
- package/miawa/src/commands/circle.ts +83 -0
- package/miawa/src/commands/eva.ts +84 -0
- package/miawa/src/commands/wound.ts +79 -0
- package/miawa/src/index.ts +108 -0
- package/miawa/src/storage.ts +179 -0
- package/miawa/tsconfig.json +18 -0
- package/package.json +7 -5
- package/references/acp/CLAUDE.md +7 -0
- package/references/acp/agent-plan.md +84 -0
- package/references/acp/clients.md +31 -0
- package/references/acp/extensibility.md +137 -0
- package/references/acp/initialization.md +225 -0
- package/references/acp/prompt-turn.md +321 -0
- package/references/acp/proxy-chains.md +562 -0
- package/references/acp/schema.md +3171 -0
- package/references/acp/session-list.md +334 -0
- package/references/acp/session-modes.md +170 -0
- package/references/acp/slash-commands.md +99 -0
- package/references/acp/terminals.md +281 -0
- package/references/acp/tool-calls.md +311 -0
- package/references/acp/typescript.md +29 -0
- package/references/claude/agent-teams.md +399 -0
- package/references/claude/chrome.md +231 -0
- package/references/claude/headless.md +158 -0
- package/references/claude/hooks-guide.md +708 -0
- package/references/claude/output-styles.md +112 -0
- package/references/claude/plugins.md +432 -0
- package/references/claude/skills.md +693 -0
- package/references/claude/sub-agents.md +816 -0
- package/references/copilot/acp/agents.md +32 -0
- package/references/copilot/acp/architecture.md +37 -0
- package/references/copilot/acp/clients.md +31 -0
- package/references/copilot/acp/introduction.md +42 -0
- package/references/copilot/acp/registry.md +339 -0
- package/references/copilot/acp-server.md +117 -0
- package/references/copilot/create-copilot-instructions.md +840 -0
- package/references/langchain/llms.txt +833 -0
- package/references/langchain/python/agents.md +677 -0
- package/references/langchain/python/context-engineering.md +1195 -0
- package/references/langchain/python/human-in-the-loop.md +326 -0
- package/references/langchain/python/long-term-memory.md +168 -0
- package/references/langchain/python/mcp.md +949 -0
- package/references/langchain/python/multi-agents/custom-workflow.md +187 -0
- package/references/langchain/python/multi-agents/handoffs.md +436 -0
- package/references/langchain/python/multi-agents/overview.md +295 -0
- package/references/langchain/python/multi-agents/router.md +150 -0
- package/references/langchain/python/multi-agents/skills.md +92 -0
- package/references/langchain/python/multi-agents/subagents.md +486 -0
- package/references/langchain/python/retrieval.md +320 -0
- package/references/langchain/python/runtime.md +141 -0
- package/references/langchain/python/short-term-memory.md +658 -0
- package/references/langchain/python/structured-output.md +712 -0
- package/references/langfuse/llms.txt +148 -0
- package/references/langgraph/javascript/llms.txt +275 -0
- package/references/skills/home.md +259 -0
- package/references/skills/integrate-skills.md +103 -0
- package/references/skills/specification.md +254 -0
- package/references/skills/what-are-skills.md +74 -0
- package/rispecs/README.md +164 -0
- package/rispecs/_sync_/miadi-code/SPEC.md +313 -0
- package/rispecs/_sync_/miadi-code/STATUS.md +177 -0
- package/rispecs/_sync_/miadi-code/dashboard/SPEC.md +465 -0
- package/rispecs/_sync_/miadi-code/dashboard/STATUS.md +212 -0
- package/rispecs/_sync_/miadi-code/multiline-input/SPEC.md +232 -0
- package/rispecs/_sync_/miadi-code/multiline-input/STATUS.md +108 -0
- package/rispecs/_sync_/miadi-code/pde/SPEC.md +253 -0
- package/rispecs/_sync_/miadi-code/pde/STATUS.md +56 -0
- package/rispecs/_sync_/miadi-code/stc/SPEC.md +397 -0
- package/rispecs/_sync_/miadi-code/stc/STATUS.md +70 -0
- package/rispecs/ava-langstack/inquiry-routing-upgrade.spec.md +119 -0
- package/rispecs/borrowed_from_opencode/001-client-server-architecture.rispec.md +98 -0
- package/rispecs/borrowed_from_opencode/002-event-bus-system.rispec.md +125 -0
- package/rispecs/borrowed_from_opencode/003-instance-state-pattern.rispec.md +136 -0
- package/rispecs/borrowed_from_opencode/004-namespace-module-pattern.rispec.md +151 -0
- package/rispecs/borrowed_from_opencode/005-zod-schema-validation.rispec.md +139 -0
- package/rispecs/borrowed_from_opencode/006-named-error-system.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/007-structured-logging.rispec.md +138 -0
- package/rispecs/borrowed_from_opencode/008-lazy-initialization.rispec.md +127 -0
- package/rispecs/borrowed_from_opencode/009-multi-agent-system.rispec.md +97 -0
- package/rispecs/borrowed_from_opencode/010-agent-definition-config.rispec.md +135 -0
- package/rispecs/borrowed_from_opencode/011-agent-permission-rulesets.rispec.md +151 -0
- package/rispecs/borrowed_from_opencode/012-agent-prompt-templates.rispec.md +141 -0
- package/rispecs/borrowed_from_opencode/013-agent-generation.rispec.md +142 -0
- package/rispecs/borrowed_from_opencode/014-plan-build-mode-toggle.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/015-subagent-task-delegation.rispec.md +146 -0
- package/rispecs/borrowed_from_opencode/016-agent-model-selection.rispec.md +151 -0
- package/rispecs/borrowed_from_opencode/017-compaction-agent.rispec.md +150 -0
- package/rispecs/borrowed_from_opencode/018-session-persistence.rispec.md +125 -0
- package/rispecs/borrowed_from_opencode/019-session-compaction.rispec.md +132 -0
- package/rispecs/borrowed_from_opencode/020-session-forking.rispec.md +134 -0
- package/rispecs/borrowed_from_opencode/021-session-revert-snapshot.rispec.md +135 -0
- package/rispecs/borrowed_from_opencode/022-session-sharing.rispec.md +165 -0
- package/rispecs/borrowed_from_opencode/023-session-summary-diffs.rispec.md +165 -0
- package/rispecs/borrowed_from_opencode/024-child-sessions.rispec.md +164 -0
- package/rispecs/borrowed_from_opencode/025-session-title-generation.rispec.md +162 -0
- package/rispecs/borrowed_from_opencode/026-message-parts-model.rispec.md +201 -0
- package/rispecs/borrowed_from_opencode/027-streaming-message-deltas.rispec.md +212 -0
- package/rispecs/borrowed_from_opencode/028-multi-provider-architecture.rispec.md +184 -0
- package/rispecs/borrowed_from_opencode/029-provider-authentication.rispec.md +225 -0
- package/rispecs/borrowed_from_opencode/030-model-registry.rispec.md +222 -0
- package/rispecs/borrowed_from_opencode/031-cost-tracking.rispec.md +243 -0
- package/rispecs/borrowed_from_opencode/032-provider-transform-pipeline.rispec.md +282 -0
- package/rispecs/borrowed_from_opencode/033-provider-sdk-abstraction.rispec.md +338 -0
- package/rispecs/borrowed_from_opencode/034-tool-registry.rispec.md +110 -0
- package/rispecs/borrowed_from_opencode/035-tool-context-injection.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/036-tool-output-truncation.rispec.md +138 -0
- package/rispecs/borrowed_from_opencode/037-batch-tool.rispec.md +129 -0
- package/rispecs/borrowed_from_opencode/038-multi-edit-tool.rispec.md +167 -0
- package/rispecs/borrowed_from_opencode/039-apply-patch-tool.rispec.md +161 -0
- package/rispecs/borrowed_from_opencode/040-code-search-tool.rispec.md +143 -0
- package/rispecs/borrowed_from_opencode/041-web-fetch-tool.rispec.md +131 -0
- package/rispecs/borrowed_from_opencode/042-web-search-tool.rispec.md +159 -0
- package/rispecs/borrowed_from_opencode/043-todo-tool.rispec.md +156 -0
- package/rispecs/borrowed_from_opencode/044-plan-mode-tool.rispec.md +139 -0
- package/rispecs/borrowed_from_opencode/045-task-tool.rispec.md +146 -0
- package/rispecs/borrowed_from_opencode/046-question-tool.rispec.md +170 -0
- package/rispecs/borrowed_from_opencode/047-external-directory-tool.rispec.md +166 -0
- package/rispecs/borrowed_from_opencode/048-file-read-write-tools.rispec.md +205 -0
- package/rispecs/borrowed_from_opencode/049-lsp-server-management.rispec.md +104 -0
- package/rispecs/borrowed_from_opencode/050-lsp-hover-completion.rispec.md +102 -0
- package/rispecs/borrowed_from_opencode/051-lsp-diagnostics.rispec.md +86 -0
- package/rispecs/borrowed_from_opencode/052-lsp-root-detection.rispec.md +109 -0
- package/rispecs/borrowed_from_opencode/053-remote-mcp-servers.rispec.md +119 -0
- package/rispecs/borrowed_from_opencode/054-mcp-oauth-flow.rispec.md +107 -0
- package/rispecs/borrowed_from_opencode/055-mcp-tool-conversion.rispec.md +118 -0
- package/rispecs/borrowed_from_opencode/056-mcp-connection-monitoring.rispec.md +106 -0
- package/rispecs/borrowed_from_opencode/057-local-mcp-servers.rispec.md +116 -0
- package/rispecs/borrowed_from_opencode/058-rich-tui.rispec.md +108 -0
- package/rispecs/borrowed_from_opencode/059-streaming-display.rispec.md +116 -0
- package/rispecs/borrowed_from_opencode/060-permission-prompts.rispec.md +130 -0
- package/rispecs/borrowed_from_opencode/061-session-navigation.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/062-syntax-highlighting.rispec.md +151 -0
- package/rispecs/borrowed_from_opencode/063-keybinding-system.rispec.md +181 -0
- package/rispecs/borrowed_from_opencode/064-multi-level-config.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/065-jsonc-config.rispec.md +190 -0
- package/rispecs/borrowed_from_opencode/066-config-env-variables.rispec.md +153 -0
- package/rispecs/borrowed_from_opencode/067-config-deep-merging.rispec.md +178 -0
- package/rispecs/borrowed_from_opencode/068-remote-org-config.rispec.md +183 -0
- package/rispecs/borrowed_from_opencode/069-config-markdown-frontmatter.rispec.md +206 -0
- package/rispecs/borrowed_from_opencode/070-managed-config-directory.rispec.md +232 -0
- package/rispecs/borrowed_from_opencode/071-plugin-architecture.rispec.md +104 -0
- package/rispecs/borrowed_from_opencode/072-plugin-hooks.rispec.md +123 -0
- package/rispecs/borrowed_from_opencode/073-plugin-auto-install.rispec.md +115 -0
- package/rispecs/borrowed_from_opencode/074-permission-system.rispec.md +133 -0
- package/rispecs/borrowed_from_opencode/075-git-worktree-management.rispec.md +126 -0
- package/rispecs/borrowed_from_opencode/076-snapshot-system.rispec.md +124 -0
- package/rispecs/borrowed_from_opencode/077-snapshot-diff.rispec.md +117 -0
- package/rispecs/borrowed_from_opencode/078-snapshot-restore.rispec.md +128 -0
- package/rispecs/borrowed_from_opencode/079-worktree-branch-naming.rispec.md +122 -0
- package/rispecs/borrowed_from_opencode/080-sqlite-storage.rispec.md +134 -0
- package/rispecs/borrowed_from_opencode/081-database-migrations.rispec.md +148 -0
- package/rispecs/borrowed_from_opencode/082-database-transactions.rispec.md +138 -0
- package/rispecs/borrowed_from_opencode/083-deferred-effects.rispec.md +148 -0
- package/rispecs/borrowed_from_opencode/084-permission-rules.rispec.md +123 -0
- package/rispecs/borrowed_from_opencode/085-permission-glob-patterns.rispec.md +113 -0
- package/rispecs/borrowed_from_opencode/086-permission-merging.rispec.md +134 -0
- package/rispecs/borrowed_from_opencode/087-permission-modes.rispec.md +145 -0
- package/rispecs/borrowed_from_opencode/088-http-api-server.rispec.md +165 -0
- package/rispecs/borrowed_from_opencode/089-openapi-spec-generation.rispec.md +164 -0
- package/rispecs/borrowed_from_opencode/090-websocket-support.rispec.md +136 -0
- package/rispecs/borrowed_from_opencode/091-sse-streaming.rispec.md +168 -0
- package/rispecs/borrowed_from_opencode/092-mdns-discovery.rispec.md +145 -0
- package/rispecs/borrowed_from_opencode/093-javascript-sdk.rispec.md +200 -0
- package/rispecs/borrowed_from_opencode/094-skill-system.rispec.md +187 -0
- package/rispecs/borrowed_from_opencode/095-skill-discovery.rispec.md +182 -0
- package/rispecs/borrowed_from_opencode/096-desktop-remote-driving.rispec.md +175 -0
- package/rispecs/borrowed_from_opencode/INDEX.md +255 -0
- package/rispecs/core.rispecs.md +261 -0
- package/rispecs/engines.rispecs.md +241 -0
- package/rispecs/formatting.rispecs.md +252 -0
- package/rispecs/living-specifications.rispecs.md +361 -0
- package/rispecs/mcp.rispecs.md +197 -0
- package/rispecs/pde.rispecs.md +399 -0
- package/rispecs/pi-mono-envisionning/ENVISIONING.md +366 -0
- package/rispecs/pi-mono-envisionning/storytelling-horizon.rispecs.md +76 -0
- package/rispecs/pi-mono-envisionning/widget.rispecs.md +2 -0
- package/rispecs/relation-to-mcp-structural-thinking.kin.md +72 -0
- package/rispecs/research-for-better-framework/CLAUDE.md +7 -0
- package/rispecs/research-for-better-framework/survey-pi-openclaw-opencode-openhands.md +210 -0
- package/rispecs/session.rispecs.md +277 -0
- package/rispecs/stc.rispecs.md +138 -0
- package/rispecs/unifier.rispecs.md +317 -0
- package/scripts/LAUNCH--mcp-mia-code--testing--2603141315--ac705a66-2c15-4a1c-a26d-9491018c5ba8.sh +2 -0
- package/scripts/RESUME--mia-code--mcps--260313--ac705a66-2c15-4a1c-a26d-9491018c5ba8.sh +1 -0
- package/scripts/install-widget-in-home-pi-agent-extensions.sh +4 -0
- package/scripts/sample-decompose--2604011535-prompt.sh +1 -0
- package/skills/deep-search/AGENTS.md +17 -0
- package/skills/deep-search/SKILL.md +281 -0
- package/skills/deep-search/agent-templates.md +224 -0
- package/skills/deep-search/orchestration-patterns.md +95 -0
- package/skills/miaco-pde-inquiry-routing-deep-search/AGENTS.md +13 -0
- package/skills/miaco-pde-inquiry-routing-deep-search/SKILL.md +136 -0
- package/skills/miaco-pde-inquiry-routing-internal-external-relationship/AGENTS.md +4 -0
- package/skills/miaco-pde-inquiry-routing-internal-external-relationship/SKILL.md +157 -0
- package/skills/miaco-pde-inquiry-routing-local-qmd/AGENTS.md +42 -0
- package/skills/miaco-pde-inquiry-routing-local-qmd/SKILL.md +135 -0
- package/skills/qmd/AGENTS.md +3 -0
- package/skills/qmd/SKILL.md +144 -0
- package/skills/qmd/references/mcp-setup.md +102 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/SKILL.md +234 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/agent-templates.md +436 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/orchestration-patterns.md +197 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/ceremonial-technology.md +102 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/creative-orientation.md +99 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/prompt-decomposition.md +73 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/rise-framework.md +74 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/structural-tension.md +82 -0
- package/src/cli.ts +35 -11
- package/src/geminiHeadless.ts +7 -2
- package/src/index.ts +2 -1
- package/src/mcp/miaco-server.ts +13 -1
- package/src/mcp/miatel-server.ts +13 -1
- package/src/mcp/miawa-server.ts +13 -1
- package/src/mcp/utils.ts +41 -8
- package/src/sessionStore.ts +44 -4
- package/src/types.ts +2 -1
- package/widget/mia-ceremony/README.md +36 -0
- package/widget/mia-ceremony/index.ts +143 -0
- package/widget/mia-interceptor/README.md +39 -0
- package/widget/mia-interceptor/index.ts +221 -0
- package/widget/mia-tools/README.md +37 -0
- package/widget/mia-tools/index.ts +569 -0
- package/widget/miette-echo/README.md +44 -0
- package/widget/miette-echo/index.ts +164 -0
- package/.claude/settings.local.json +0 -9
- package/.hch/issue_.env +0 -4
- package/.hch/issue_add__2601211715.json +0 -77
- package/.hch/issue_add__2601211715.md +0 -4
- package/.hch/issue_add__2602242020.json +0 -78
- package/.hch/issue_add__2602242020.md +0 -7
- package/.hch/issues.json +0 -2312
- package/.hch/issues.md +0 -30
- package/WS__mia-code__260214__IAIP_PDE.code-workspace +0 -29
- package/WS__mia-code__src332__260122.code-workspace +0 -23
- package/samples/copilot/session-state/be76abaa-a27f-4725-b2a9-22fb45f7e0f7/checkpoints/index.md +0 -6
- package/samples/copilot/session-state/be76abaa-a27f-4725-b2a9-22fb45f7e0f7/events.jsonl +0 -213
- package/samples/copilot/session-state/be76abaa-a27f-4725-b2a9-22fb45f7e0f7/plan.md +0 -243
- package/samples/copilot/session-state/be76abaa-a27f-4725-b2a9-22fb45f7e0f7/workspace.yaml +0 -5
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# Prompt Decomposition
|
|
2
|
+
|
|
3
|
+
> Engine: **copilot** (gpt-5-mini)
|
|
4
|
+
|
|
5
|
+
## Four Directions
|
|
6
|
+
|
|
7
|
+
### 🌅 EAST — Vision
|
|
8
|
+
|
|
9
|
+
- Clarify success criteria: what outcomes should the inquiry-chain produce (e.g., ranked repo recommendations, bibliography, implementation steps) [90%]
|
|
10
|
+
- Decide scope of deep-search: which academic sources/APIs are allowed (e.g., semantic scholar, arXiv, Google Scholar via proxy) [78%]
|
|
11
|
+
- Define whether simulation is acceptable or live agent execution is required for initial iteration [85%]
|
|
12
|
+
|
|
13
|
+
### 🔥 SOUTH — Analysis
|
|
14
|
+
|
|
15
|
+
- Read referenced specs and captured prompt (@output/260401145543.txt) to extract explicit requirements and kinship constraints [92%]
|
|
16
|
+
- Inventory miaco codebase to find extension points for new CLI commands and subagent orchestration [90%]
|
|
17
|
+
- Examine mia-qmd search API and @skills/deep-search implementation to map inputs/outputs [88%]
|
|
18
|
+
|
|
19
|
+
### 🌊 WEST — Validation
|
|
20
|
+
|
|
21
|
+
- Create simulation tests that feed a sample decomposition into the pipeline and assert that local qmd + deep-search are invoked and that claude-opus returns inquiry sets [86%]
|
|
22
|
+
- Validate recommendation decisions (fork/clone/inspire) via a decision matrix and a small sample of candidate repos [78%]
|
|
23
|
+
- Run security and network checks for cloning external repos and accessing academic APIs [70%] _(implicit)_
|
|
24
|
+
|
|
25
|
+
### ❄️ NORTH — Action
|
|
26
|
+
|
|
27
|
+
- Implement `miaco decompose` command that: runs decomposition, invokes LangChain step with decomposition results, runs local qmd search skill, runs deep-search skill, then orchestrates claude-opus to synthesize inquiries and recommendations [87%]
|
|
28
|
+
- Add two new skills: local-qmd router and deep-search router, with clear input/output contracts [90%]
|
|
29
|
+
- Produce implementation plan (simulated run) and then open PR + docs for review [85%]
|
|
30
|
+
|
|
31
|
+
## Original Prompt
|
|
32
|
+
|
|
33
|
+
> probably in relation to @rispecs/ava-langstack/inquiry-routing-upgrade.spec.md and maybe @rispecs/pde.rispecs.md @rispecs/relation-to-mcp-structural-thinking.kin.md and what I am preparing to send in /b/trading which I captured parts of the prompt into @output/260401145543.txt I will want to add to @miaco/ an implementation of a new command that would involve the 'miaco decompose' but would add in inquiry step where the actual result of the decomposition is passed in a langchain step (it receives results from the decompose) and uses subagents claude-opus to do try to form a sets of inquiries from local system using the mia-qmd (qmd search <terms>) and also try to see what externally (like with academic database) using some deep-search principle (I copied locally @skills/deep-search to help understand what I meant). potential results from this would be @skills/miaco-pde-inquiry-routing-local-qmd that would document and enable agents to use 'miaco <command> <prompt>' that would do all that and @skills/miaco-pde-inquiry-routing-deep-search would be using @skills/deep-search to create a new ways for our type of inquiries that are not directly related to what we are doing but would need us to get outside of what we currently have (like in our mia-qmd database) to gather either sources from academic to help the relational science articles development in relation to what innovation is being created and another type of inquiry is simply: does in github open-source community something that we are doing that we could use what they created todo it instead of reinventing the wheel ? (The inquiry results would recommend: do we fork it ? or do we just conceptually get inspired from ? (we clone the original repo and launch some agents in that folder with the goal of creating implementation recommendations that will make us successful to what we want todo). I think that with that, we have enought to plan that with this prompt, we would have todo this process 'conceptually' (meaning that we simulate that we would be using that 'miaco inquiry-chain' that we are conceiving the implementation plan. Potential dependencies feedback is the whole @rispecs/ava-langstack/ kinship
|
|
34
|
+
|
|
35
|
+
## Primary Intent
|
|
36
|
+
|
|
37
|
+
**Action:** implement
|
|
38
|
+
**Target:** miaco decompose command with inquiry-routing pipeline (passes decomposition into a LangChain step + local and deep inquiry skills)
|
|
39
|
+
**Urgency:** session
|
|
40
|
+
**Confidence:** 85%
|
|
41
|
+
|
|
42
|
+
## Secondary Intents
|
|
43
|
+
|
|
44
|
+
1. **integrate** — pass decomposition results into a LangChain step inside the miaco pipeline _(explicit)_
|
|
45
|
+
- depends on: miaco decompose command implementation
|
|
46
|
+
2. **add** — inquiry step that queries local mia-qmd using `qmd search <terms>` _(explicit)_
|
|
47
|
+
- depends on: miaco decompose command
|
|
48
|
+
3. **integrate** — deep-search skill (@skills/deep-search) for external/academic discovery _(explicit)_
|
|
49
|
+
- depends on: inquiry step design
|
|
50
|
+
4. **orchestrate** — claude-opus subagents to synthesize sets of inquiries from local + deep-search results _(explicit)_
|
|
51
|
+
- depends on: local qmd + deep-search integrations
|
|
52
|
+
5. **create** — @skills/miaco-pde-inquiry-routing-local-qmd _(explicit)_
|
|
53
|
+
- depends on: local qmd integration design
|
|
54
|
+
6. **create** — @skills/miaco-pde-inquiry-routing-deep-search _(explicit)_
|
|
55
|
+
- depends on: deep-search integration design
|
|
56
|
+
7. **design** — recommendation flow (fork vs reuse vs inspire) and clone+agent evaluation workflow _(explicit)_
|
|
57
|
+
- depends on: inquiry results available
|
|
58
|
+
8. **simulate** — conceptual/simulated run of the miaco inquiry-chain (not necessarily executing external clones) to produce an implementation plan _(implicit)_
|
|
59
|
+
- depends on: design of pipeline and skills
|
|
60
|
+
9. **update** — @rispecs/ava-langstack kinship and related spec references to reflect the new inquiry-routing capability _(explicit)_
|
|
61
|
+
- depends on: final design/spec
|
|
62
|
+
10. **evaluate** — access/credentials and feasibility for academic DBs and cloning external repos _(implicit)_
|
|
63
|
+
|
|
64
|
+
## Context Requirements
|
|
65
|
+
|
|
66
|
+
### Files Needed
|
|
67
|
+
- @llms/llms-rise-framework.txt
|
|
68
|
+
- @rispecs/ava-langstack/inquiry-routing-upgrade.spec.md
|
|
69
|
+
- @rispecs/pde.rispecs.md
|
|
70
|
+
- @rispecs/relation-to-mcp-structural-thinking.kin.md
|
|
71
|
+
- /b/trading
|
|
72
|
+
- @output/260401145543.txt
|
|
73
|
+
- @miaco/
|
|
74
|
+
- @skills/deep-search
|
|
75
|
+
- mia-qmd (qmd CLI/code)
|
|
76
|
+
- existing miaco command handlers and skill registration surface
|
|
77
|
+
- @skills/miaco-pde-inquiry-routing-local-qmd (new)
|
|
78
|
+
- @skills/miaco-pde-inquiry-routing-deep-search (new)
|
|
79
|
+
|
|
80
|
+
### Tools Required
|
|
81
|
+
- miaco CLI (local dev)
|
|
82
|
+
- LangChain (local integration)
|
|
83
|
+
- claude-opus subagent
|
|
84
|
+
- mia-qmd (qmd CLI or library)
|
|
85
|
+
- @skills/deep-search
|
|
86
|
+
- git (clone/fork operations)
|
|
87
|
+
- node/npm (build & test miaco)
|
|
88
|
+
- agent orchestration runtime (miaco subagent host)
|
|
89
|
+
- academic DB access or web_search tooling (for deep-search)
|
|
90
|
+
- local sandbox for repository cloning and agent runs
|
|
91
|
+
|
|
92
|
+
### Assumptions
|
|
93
|
+
- Repository contains @miaco module and skill registration system
|
|
94
|
+
* GUILLAUME:: No it does not have a 'skill registration system', that would be a good idea to create a related issue to jgwill/src#332 (which is for mia-code) that relates to it having a 'skill registration system' and design a related RISE framework in the ./rispecs/<adequate naming for the skill registration system> and a kinship with `
|
|
95
|
+
- mia-qmd supports `qmd search <terms>` and is accessible locally
|
|
96
|
+
- @skills/deep-search exists and describes a deep-search pattern (copied locally)
|
|
97
|
+
- claude-opus subagent is available as a subagent runtime and can be invoked programmatically
|
|
98
|
+
- User expects a conceptual/simulated plan first (not necessarily full networked execution)
|
|
99
|
+
- Permissions and network access to academic resources and external GitHub repos may be required
|
|
100
|
+
|
|
101
|
+
## Expected Outputs
|
|
102
|
+
|
|
103
|
+
### Artifacts
|
|
104
|
+
- @miaco/cli/commands/decompose (new or extended implementation file)
|
|
105
|
+
- @skills/miaco-pde-inquiry-routing-local-qmd/index (skill)
|
|
106
|
+
- @skills/miaco-pde-inquiry-routing-deep-search/index (skill)
|
|
107
|
+
- @skills/rise-pde-inquiry-session-multi-agents-v3 which is the previous version that could be upgraded and would reference(use) the 2 previous skills and put them into a form of agents-orchestration
|
|
108
|
+
- In relation to the 3 previous skills, I am curious that you study @widget/mia-ceremony/ and @widget/mia-interceptor/ (one does the decomposition and one intercept complex prompt) within our pi-coding-agent (we run pi -e widget/mia-interceptor/index.ts etc) so that there would be a widget within the pi-coding-agent that would do what is needed for resolving the new process that we are creating...
|
|
109
|
+
- integration tests / simulation harness (tests/simulate-miaco-inquiry.spec)
|
|
110
|
+
- design doc or rispec draft (docs/miaco-inquiry-routing.md)
|
|
111
|
+
|
|
112
|
+
### Updates
|
|
113
|
+
- @miaco/command-registry (register new command)
|
|
114
|
+
- @rispecs/ava-langstack/inquiry-routing-upgrade.spec.md (update or note)
|
|
115
|
+
- @rispecs/pde.rispecs.md (reference integration)
|
|
116
|
+
- @rispecs/relation-to-mcp-structural-thinking.kin.md (kinship notes)
|
|
117
|
+
- @skills/index or skills registry (register new skills)
|
|
118
|
+
|
|
119
|
+
### Communications
|
|
120
|
+
- Create PR: feat(miaco): add inquiry-routing decompose command + skills
|
|
121
|
+
- Create issue: design decisions + external DB/credentials required
|
|
122
|
+
- Documentation: how to run miaco decompose with local and deep inquiry
|
|
123
|
+
- Design/arch note to kinship owners about dependencies on @rispecs/ava-langstack
|
|
124
|
+
|
|
125
|
+
## Action Stack
|
|
126
|
+
|
|
127
|
+
- [ ] Gather and read referenced specs and the captured prompt (@output/260401145543.txt, @rispecs/* files, /b/trading snippets)
|
|
128
|
+
- [ ] Audit @miaco codebase to find CLI extension points and current decompose implementation (depends on: Gather and read referenced specs and the captured prompt (@output/260401145543.txt, @rispecs/* files, /b/trading snippets))
|
|
129
|
+
- [ ] Inventory and test mia-qmd `qmd search` behavior and @skills/deep-search to map inputs/outputs (depends on: Audit @miaco codebase)
|
|
130
|
+
- [ ] Design pipeline + API: define command signature, LangChain input shape (decomp), skill input/outputs, claude-opus prompts, and recommendation decision-matrix (depends on: Inventory and test mia-qmd `qmd search` behavior and @skills/deep-search)
|
|
131
|
+
- [ ] Implement @skills/miaco-pde-inquiry-routing-local-qmd (skill adapter for qmd search) (depends on: Design pipeline + API)
|
|
132
|
+
- [ ] Implement @skills/miaco-pde-inquiry-routing-deep-search (adapter that calls deep-search and normalizes results) (depends on: Design pipeline + API)
|
|
133
|
+
- [ ] Add claude-opus orchestration glue to produce inquiry-sets from combined results (depends on: Local and deep-search skills implemented)
|
|
134
|
+
- [ ] Integrate LangChain step to receive decomposition results and route to the inquiry pipeline inside `miaco decompose` (depends on: claude-opus orchestration glue)
|
|
135
|
+
- [ ] Create simulation/integration tests and run validation harness (simulate sample decompositions) (depends on: Integration complete)
|
|
136
|
+
- [ ] Draft rispec updates, kinship notes, docs, and open PR/issue for review (depends on: Tests and simulation validated)
|
|
137
|
+
|
|
138
|
+
## Ambiguity Flags
|
|
139
|
+
|
|
140
|
+
- **"Which academic databases or APIs should `deep-search` target (semantic scholar, arXiv, institutional subscriptions, web scraping)?"**
|
|
141
|
+
- Suggestion: Specify allowed sources/APIs and whether API keys or institutional access will be provided
|
|
142
|
+
- **"Exact interface and data shape expected between decomposition output and LangChain step is not specified"**
|
|
143
|
+
- Suggestion: Provide an example decomposition JSON or specify required fields (intent, segments, metadata) for LangChain input
|
|
144
|
+
- **"Degree of live execution vs simulation: prompt says 'conceptually (simulate)' but also talks about cloning and launching agents"**
|
|
145
|
+
- Suggestion: Confirm whether the first milestone is a simulated dry-run and design doc or a live prototype that clones and runs agents
|
|
146
|
+
- **"Permissions/networking for cloning external repos and querying academic sources is unspecified"**
|
|
147
|
+
- Suggestion: Clarify available network access, credentials, and any security constraints
|
|
148
|
+
- **"How to measure recommendation quality (fork vs reuse vs inspire) is vague"**
|
|
149
|
+
- Suggestion: Define decision criteria (license compatibility, code maturity, test coverage, alignment score) for automated recommendations
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# AGENTS.md - PDE 83a2d7f9-24a5-4cf4-98d5-036c82f872e8
|
|
2
|
+
|
|
3
|
+
## relatedIssue: jgwill/src#418 [#418](https://github.com/jgwill/src/issues/418)
|
|
4
|
+
## relatedLearning: jgwill/src#420 [#420](https://github.com/jgwill/src/issues/420) — Decompose before authoring
|
|
5
|
+
|
|
6
|
+
## Meta-Decomposition
|
|
7
|
+
|
|
8
|
+
See [meta-decomposition-3-children.md](./meta-decomposition-3-children.md) — the structural map that organized these 3 children.
|
|
9
|
+
|
|
10
|
+
## Child PDEs
|
|
11
|
+
|
|
12
|
+
| # | Folder | UUID | Domain | Primary Action |
|
|
13
|
+
|---|--------|------|--------|----------------|
|
|
14
|
+
| 1 | `2604020008--efeb00a2-b17a-4d32-b1f0-b90c37a8d24e/` | efeb00a2 | Strategy/Transaction Analysis | perform |
|
|
15
|
+
| 2 | `2604020008--d3417f2c-df12-4f0f-8a1b-d88e7968f822/` | d3417f2c | Trading Workflow Enhancement | design |
|
|
16
|
+
| 3 | `2604020008--e6c3fc5d-4a70-4523-ba7d-a3250da4c235/` | e6c3fc5d | MIACO Evolution (Living Example) | implement |
|
|
17
|
+
|
|
18
|
+
## Workspace Rules
|
|
19
|
+
|
|
20
|
+
- **ALL trading work happens in /b/trading** — no other clone
|
|
21
|
+
- **No git commit unless explicitly told**
|
|
22
|
+
- Child 1 is the core deliverable; Children 2 & 3 exist to make Child 1 better and more traceable
|
|
23
|
+
- Each child PDE folder has agent freedom inside — observe the structure that emerges
|
|
24
|
+
|
|
25
|
+
## Resume Instructions
|
|
26
|
+
|
|
27
|
+
1. Read this file to orient
|
|
28
|
+
2. Read the meta-decomposition for the structural map
|
|
29
|
+
3. Pick the child PDE to work on
|
|
30
|
+
4. Read that child's `<uuid>.md` for its action stack and ambiguity flags
|
|
31
|
+
5. **Decompose before authoring any artifact** (jgwill/src#420)
|
package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/meta-decomposition-3-children.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Meta-Decomposition — Organizing 3 Child PDEs
|
|
2
|
+
|
|
3
|
+
> Engine: **copilot** (gpt-5-mini)
|
|
4
|
+
> Purpose: This is NOT a child PDE. It is the structural map that guided the creation of the 3 children below.
|
|
5
|
+
> Parent PDE: 2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8
|
|
6
|
+
|
|
7
|
+
## Four Directions
|
|
8
|
+
|
|
9
|
+
### 🌅 EAST — Vision
|
|
10
|
+
|
|
11
|
+
- Clarify desired scope & acceptance for each of the three child PDEs (exact deliverables for Strategy/Transaction, Workflow Enhancement, MIACO Evolution) [90%]
|
|
12
|
+
- Decide and confirm child PDE naming conventions and target paths under /b/trading/.pde/ [85%]
|
|
13
|
+
|
|
14
|
+
### 🔥 SOUTH — Analysis
|
|
15
|
+
|
|
16
|
+
- Read and extract patterns from parent PDE (/home/mia/.openclaw workspace) and mia-code PDE to reuse naming, inquiry-resolutions.jsonl, and tracing practices [95%]
|
|
17
|
+
- Inventory reusable skills and subagents referenced by mia-code (miaco skills, local qmd, deep-search, claude-opus orchestration) [85%] _(implicit)_
|
|
18
|
+
|
|
19
|
+
### 🌊 WEST — Validation
|
|
20
|
+
|
|
21
|
+
- Validate pde_decompose outputs locally (folder created, metadata present, inquiry-resolutions.jsonl pattern respected) [90%]
|
|
22
|
+
- Verify no unauthorized git commits are produced; hold changes in local draft branches or PDE-only folders until approval [95%]
|
|
23
|
+
|
|
24
|
+
### ❄️ NORTH — Action
|
|
25
|
+
|
|
26
|
+
- Run pde_decompose to generate three child PDEs using specs derived from parent PDE and mia-code context, populate README + inquiry-resolutions.jsonl [85%]
|
|
27
|
+
- Create handoff README (commands to run, expected artifacts, owners) and draft issue/PR content for review [90%]
|
|
28
|
+
- Prototype a miaco decompose example in the MIACO Evolution child PDE showing the inquiry-routing pipeline (local qmd → deep-search → subagent orchestration) [75%] _(implicit)_
|
|
29
|
+
|
|
30
|
+
## Primary Intent
|
|
31
|
+
|
|
32
|
+
**Action:** prepare
|
|
33
|
+
**Target:** handoff and files for strategy/analysis work (child PDEs + launch-ready artifacts)
|
|
34
|
+
**Urgency:** session
|
|
35
|
+
**Confidence:** 90%
|
|
36
|
+
|
|
37
|
+
## Secondary Intents
|
|
38
|
+
|
|
39
|
+
1. **study** — parent PDE (openclaw 9b3e4d5a) for parent/child patterns _(explicit)_
|
|
40
|
+
2. **study** — mia-code PDE (83a2d7f9) for inquiry-routing design _(explicit)_
|
|
41
|
+
3. **inspect** — /b/trading/AGENTS.md for workspace constraints _(explicit)_
|
|
42
|
+
4. **design** — three CHILD-PDE specs _(explicit)_ — depends on: study both parent PDEs
|
|
43
|
+
5. **run** — pde_decompose for each child _(explicit)_ — depends on: design specs
|
|
44
|
+
6. **create** — inquiry-resolutions.jsonl and metadata in each child _(implicit)_ — depends on: decompose output
|
|
45
|
+
7. **capture** — trace/instrumentation plan for inquiry-routing _(implicit)_
|
|
46
|
+
8. **improve** — issue templates and PDE type taxonomy _(implicit)_
|
|
47
|
+
9. **prototype** — miaco example inside trading context _(implicit)_
|
|
48
|
+
10. **document** — handoff README _(explicit)_ — depends on: all children created
|
|
49
|
+
|
|
50
|
+
## The 3 Children This Map Organizes
|
|
51
|
+
|
|
52
|
+
| # | Child PDE | Domain | Purpose |
|
|
53
|
+
|---|-----------|--------|---------|
|
|
54
|
+
| 1 | **Strategy/Transaction Analysis** | /b/trading (jgtpy, caishen) | The actual domain work — trading strategy deliverables |
|
|
55
|
+
| 2 | **Trading Workflow Enhancement** | /b/trading process | Issue templates, PDE types taxonomy, session bootstrapping |
|
|
56
|
+
| 3 | **MIACO Evolution** | mia-code/miaco via /b/trading | Living example of inquiry-chain, traces, Langfuse integration |
|
|
57
|
+
|
|
58
|
+
## Ambiguity Flags (Meta-Level)
|
|
59
|
+
|
|
60
|
+
- **"Exact canonical names, timestamps, and UUIDs for new child PDE folders are unspecified"**
|
|
61
|
+
- → Follow parent convention: `<yyMMddHHmm>--<uuid>/`
|
|
62
|
+
- **"Permission to create or commit files to git/remote"**
|
|
63
|
+
- → AGENTS.md: no commit unless told. Work stays in .pde/ folders.
|
|
64
|
+
- **"Availability of Langfuse tracing"**
|
|
65
|
+
- → Deferred to Child 3 (MIACO Evolution)
|
|
66
|
+
- **"Child PDE scope details (acceptance criteria, owners, timelines)"**
|
|
67
|
+
- → Each child's own decomposition carries this
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Prompt Decomposition
|
|
2
|
+
|
|
3
|
+
> Engine: **copilot** (gpt-5-mini)
|
|
4
|
+
|
|
5
|
+
## Four Directions
|
|
6
|
+
|
|
7
|
+
### 🌅 EAST — Vision
|
|
8
|
+
|
|
9
|
+
- Define success: a miaco CLI command that reads PDE session folder(s), creates pde-record entries (schema), and can invoke subagent study jobs [95%]
|
|
10
|
+
- Envision delegation model: orchestrator creates subagent teams (claude-opus-4.6) per PDE and collects recommendations [80%] _(implicit)_
|
|
11
|
+
|
|
12
|
+
### 🔥 SOUTH — Analysis
|
|
13
|
+
|
|
14
|
+
- Inspect the listed PDE directories and GUILLAUME.md to extract inquiry patterns, tags, and typical file formats [93%]
|
|
15
|
+
- Study /src/mia-code/skills to map which skills should be invoked by the pipeline [90%]
|
|
16
|
+
- Design storage approach (JSON files vs lightweight DB) for minimal schema [70%] _(implicit)_
|
|
17
|
+
|
|
18
|
+
### 🌊 WEST — Validation
|
|
19
|
+
|
|
20
|
+
- Create unit/integration tests using sample PDE sessions to validate command output and subagent invocation flow [90%]
|
|
21
|
+
- Verify schema fields, required types, and retention policy; ensure no secrets committed [92%]
|
|
22
|
+
|
|
23
|
+
### ❄️ NORTH — Action
|
|
24
|
+
|
|
25
|
+
- Implement the miaco command, wire CLI entry, persist pde-records, and create a 'run-study' action to spawn claude-opus-4.6 subagents [90%]
|
|
26
|
+
- Commit changes, run tests, and open PR with documentation and example outputs [95%]
|
|
27
|
+
|
|
28
|
+
## Original Prompt
|
|
29
|
+
|
|
30
|
+
> path `/home/mia/.openclaw/workspace/.pde/2604011850--9b3e4d5a-b831-49a7-9386-17e6d07ed1b8` has a session that we had and we practices what is implied the drafted PDE in `/src/mia-code/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/83a2d7f9-24a5-4cf4-98d5-036c82f872e8.md` and related childs. The session would revolve around analyzing what is from `/home/mia/.openclaw/workspace/.pde/2604011850--9b3e4d5a-b831-49a7-9386-17e6d07ed1b8` as an example session from which a study by subagents claude-opus-4.6 would come up from with a complementary recommendations on what automated process of a PDE being created would resolved to be created and resolved potentially by the user (see: `/home/mia/.openclaw/workspace/.pde/2604011850--9b3e4d5a-b831-49a7-9386-17e6d07ed1b8/GUILLAUME.md` which is a series of Inquiries that the LLM from that session created that I had manually resolve with answers. We will want `/src/mia-code/miaco` to be capable todo something similar to help our agent orchestration when we start.). Another team of subagents claude-opus-4.6 would be responsible to study what is in `/b/trading/.pde/2604011626--ca6330bf-0c49-4531-b986-11d6d44c9300/` in which more than one session was executed and we are interested in somehow the session ID: 6d646e23-5b87-47ac-ac71-38ad221dd01d orchestrate all its subagents as the PDE to work on `/src/mia-code/`, which is our primary purpose, implies working on the various skills that are into `/src/mia-code/skills` (another team of subagents claude-opus-4.6 could be formed to study the relation between all PDE and the skills that are there (you will observe Polyphonic methods of a talking circle that occured and is described probably in `/src/IAIP/prototypes/artefacts/article-decolonizing-software-and-science-with-IAIP--2603030849--509d9725-d9fd-406c-a59a-97056028ae33/METHODS.md` and these discussion within folder like `/src/mia-code/skills/miaco-pde-inquiry-routing-local-qmd/AGENTS.md` and others that do not have discussion but the study of the `/src/mia-code/` PDE will show what we expect from these skills to become. The work from `/b/trading/.pde/2604011626--ca6330bf-0c49-4531-b986-11d6d44c9300/` had I think a different type of session that we do, I think per-domain in terms of categorizing the type of CHAIN/PIPELINE that we go thru to help us design and develop the whole Mastery / Learning implied in `/home/mia/.openclaw/workspace/ceremonies/jgwill-src-403--2603170917--4606479c-c0fd-4d23-96b9-96729f653f5d/learnings/mastery-agent-team-orchestration` simply because we want to keep getting better at doing that. You are the orchestrator in this session, coordinating the advancement of Miaco for creating prototyped new commands that will try to achive within our system taking the PDE and creating INternal/External (deep-search) to cover the facets or whatever the PDE create to facilitate the human-in-the-loop after that. The main agents create the team and delegate to the model claude-opus-4.6 to run within the same session that the orchestrator runs into. The Scope of code changes permitted in /src/mia-code/miaco is to add at least one command if that 2 that puts into application the chain/pipeline that we are talkning about. Mimimal data schema is : - id: uuid;- timestamp: ISO8601 (UTC);- source_pde_id: string;- inquiry_id: string;- question: string;- answer: string|null;- resolved: boolean;- tags: string[];- priority: "High"|"Medium"|"Low";- actor: string;- command: string|null;- output: object|null;- metadata: object
|
|
31
|
+
|
|
32
|
+
## Primary Intent
|
|
33
|
+
|
|
34
|
+
**Action:** create
|
|
35
|
+
**Target:** /src/mia-code/miaco command to process PDE sessions and orchestrate subagents
|
|
36
|
+
**Urgency:** session
|
|
37
|
+
**Confidence:** 85%
|
|
38
|
+
|
|
39
|
+
## Secondary Intents
|
|
40
|
+
|
|
41
|
+
1. **analyze** — /home/mia/.openclaw/workspace/.pde/2604011850--9b3e4d5a-b831-49a7-9386-17e6d07ed1b8 and its GUILLAUME.md _(explicit)_
|
|
42
|
+
2. **analyze** — /src/mia-code/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/83a2d7f9-24a5-4cf4-98d5-036c82f872e8.md and related children _(explicit)_
|
|
43
|
+
3. **analyze** — /b/trading/.pde/2604011626--ca6330bf-0c49-4531-b986-11d6d44c9300/ (session id 6d646e23-5b87-47ac-ac71-38ad221dd01d) _(explicit)_
|
|
44
|
+
4. **design** — minimal PDE processing data schema (id,timestamp,source_pde_id,inquiry_id,question,answer,resolved,tags,priority,actor,command,output,metadata) _(explicit)_
|
|
45
|
+
5. **implement** — add at least one command in /src/mia-code/miaco that applies the chain/pipeline to create PDE->subagent workflow _(explicit)_
|
|
46
|
+
- depends on: design minimal schema; analysis of PDE folders
|
|
47
|
+
6. **form** — teams of subagents (claude-opus-4.6) to study PDE directories and extract actionable inquiries/recommendations _(implicit)_
|
|
48
|
+
- depends on: analysis of PDE folders
|
|
49
|
+
7. **map** — relations between /src/mia-code/skills and PDE artifacts (e.g., miaco-pde-inquiry-routing-local-qmd) _(explicit)_
|
|
50
|
+
- depends on: analysis of /src/mia-code/ PDE and skills
|
|
51
|
+
8. **validate** — command behavior with tests and sample PDE sessions _(explicit)_
|
|
52
|
+
- depends on: implement command
|
|
53
|
+
9. **commit_and_document** — code change in /src/mia-code/miaco, minimal docs and PR _(explicit)_
|
|
54
|
+
- depends on: implement and validate
|
|
55
|
+
|
|
56
|
+
## Context Requirements
|
|
57
|
+
|
|
58
|
+
### Files Needed
|
|
59
|
+
- /home/mia/.openclaw/workspace/.pde/2604011850--9b3e4d5a-b831-49a7-9386-17e6d07ed1b8
|
|
60
|
+
- /home/mia/.openclaw/workspace/.pde/2604011850--9b3e4d5a-b831-49a7-9386-17e6d07ed1b8/GUILLAUME.md
|
|
61
|
+
- /src/mia-code/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/83a2d7f9-24a5-4cf4-98d5-036c82f872e8.md
|
|
62
|
+
- /b/trading/.pde/2604011626--ca6330bf-0c49-4531-b986-11d6d44c9300/
|
|
63
|
+
- /src/mia-code/
|
|
64
|
+
- /src/mia-code/miaco
|
|
65
|
+
- /src/mia-code/skills
|
|
66
|
+
- /src/IAIP/prototypes/artefacts/article-decolonizing-software-and-science-with-IAIP--2603030849--509d9725-d9fd-406c-a59a-97056028ae33/METHODS.md
|
|
67
|
+
- /src/mia-code/skills/miaco-pde-inquiry-routing-local-qmd/AGENTS.md
|
|
68
|
+
- /home/mia/.openclaw/workspace/ceremonies/jgwill-src-403--2603170917--4606479c-c0fd-4d23-96b9-96729f653f5d/learnings/mastery-agent-team-orchestration
|
|
69
|
+
|
|
70
|
+
### Tools Required
|
|
71
|
+
- git
|
|
72
|
+
- bash
|
|
73
|
+
- grep/rg
|
|
74
|
+
- glob
|
|
75
|
+
- code editor (edit/create)
|
|
76
|
+
- task (sub-agent orchestration)
|
|
77
|
+
- gh (create PR) or git CLI
|
|
78
|
+
|
|
79
|
+
### Assumptions
|
|
80
|
+
- Permission granted to modify /src/mia-code/miaco
|
|
81
|
+
- claude-opus-4.6 model can be invoked as a subagent from this environment
|
|
82
|
+
- PDE session files exist at the provided paths
|
|
83
|
+
- User expects at least one new command implementing the pipeline and the provided minimal schema
|
|
84
|
+
- No existing DB/schema already mandated (file-based storage or simple JSON ok)
|
|
85
|
+
|
|
86
|
+
## Expected Outputs
|
|
87
|
+
|
|
88
|
+
### Artifacts
|
|
89
|
+
- /src/mia-code/miaco/commands/pde-orchestrate.js (or .py/.sh depending on stack)
|
|
90
|
+
- /src/mia-code/miaco/schema/pde-record.schema.json
|
|
91
|
+
- example/sample-output/<pde-session>-sample.json
|
|
92
|
+
|
|
93
|
+
### Updates
|
|
94
|
+
- /src/mia-code/miaco/README.md (usage and schema)
|
|
95
|
+
- /src/mia-code/miaco/commands/__init__ or CLI registration
|
|
96
|
+
- possibly /src/mia-code/skills/AGENTS.md (note about orchestration)
|
|
97
|
+
|
|
98
|
+
### Communications
|
|
99
|
+
- Create PR in repo with code, tests, and docs
|
|
100
|
+
- Open issue tracking broader work: 'miaco: PDE orchestration pipeline and subagent study'
|
|
101
|
+
- Short design note (commit/PR body) summarizing subagent teams and schema
|
|
102
|
+
|
|
103
|
+
## Action Stack
|
|
104
|
+
|
|
105
|
+
- [ ] Read and parse PDE session files at /home/mia/.openclaw/workspace/.pde/... and /src/mia-code/.pde/... to inventory content
|
|
106
|
+
- [ ] Extract inquiry examples from GUILLAUME.md and identify common fields/tags to inform schema (depends on: Read and parse PDE session files at /home/mia/.openclaw/workspace/.pde/... and /src/mia-code/.pde/...)
|
|
107
|
+
- [ ] Design minimal JSON schema for PDE records (as specified) and decide storage (file-per-record or single DB) (depends on: Extract inquiry examples from GUILLAUME.md)
|
|
108
|
+
- [ ] Implement miaco CLI command that: accepts PDE path(s), creates records per schema, and queues/runs subagent study jobs (depends on: Design minimal JSON schema for PDE records)
|
|
109
|
+
- [ ] Add example command invocation and sample output file into repo for tests and docs (depends on: Implement miaco CLI command)
|
|
110
|
+
- [ ] Form and trigger claude-opus-4.6 subagent jobs to analyze selected PDE directories and capture recommendations (depends on: Implement miaco CLI command)
|
|
111
|
+
- [ ] Write tests validating record contents, command exit codes, and subagent orchestration hooks (depends on: Implement miaco CLI command)
|
|
112
|
+
- [ ] Commit, push, and open a PR with code, schema, tests, and README; include design note for further skills work (depends on: Write tests validating record contents)
|
|
113
|
+
|
|
114
|
+
## Ambiguity Flags
|
|
115
|
+
|
|
116
|
+
- **"Which runtime/language is preferred for /src/mia-code/miaco commands (Node, Python, shell)?"**
|
|
117
|
+
- Suggestion: Specify preferred implementation language or indicate existing miaco stack to match conventions
|
|
118
|
+
- **"How are claude-opus-4.6 subagents invoked (local tool, remote API, task agent)?"**
|
|
119
|
+
- Suggestion: Clarify execution mechanism, credentials, and orchestration interface for subagents
|
|
120
|
+
- **"Where should the produced PDE records be stored (repo files, database, external store)?"**
|
|
121
|
+
- Suggestion: Decide between file-based JSON in repo/output/, a local DB (sqlite), or external storage and state retention policy
|
|
122
|
+
- **"Exact CLI command name, flags, and UX expectations are unspecified"**
|
|
123
|
+
- Suggestion: Provide desired command name, expected flags (e.g., --path, --dry-run, --spawn-subagents) and output format
|
|
124
|
+
- **"Permission/approval scope for making code changes and opening PRs is assumed but not stated"**
|
|
125
|
+
- Suggestion: Confirm permission to commit to repository and open PRs or indicate preferred branch/issue to link
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
might not be relevant here,
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "4f02ba94-9f52-422e-9389-b16f9b37f358",
|
|
3
|
+
"timestamp": "2026-03-23T13:25:19.113Z",
|
|
4
|
+
"engine": "claude",
|
|
5
|
+
"prompt": "Testing PDE decomposition after fix - verify the tool works end to end through pi extension",
|
|
6
|
+
"result": {
|
|
7
|
+
"primary": {
|
|
8
|
+
"action": "verify",
|
|
9
|
+
"target": "PDE decomposition tool end-to-end functionality via pi extension",
|
|
10
|
+
"urgency": "immediate",
|
|
11
|
+
"confidence": 0.9
|
|
12
|
+
},
|
|
13
|
+
"secondary": [
|
|
14
|
+
{
|
|
15
|
+
"action": "confirm",
|
|
16
|
+
"target": "fix applied before this test is working correctly",
|
|
17
|
+
"implicit": true,
|
|
18
|
+
"dependency": null,
|
|
19
|
+
"confidence": 0.85
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"action": "validate",
|
|
23
|
+
"target": "pi extension integration with PDE tool",
|
|
24
|
+
"implicit": false,
|
|
25
|
+
"dependency": "PDE tool invocation succeeds",
|
|
26
|
+
"confidence": 0.88
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"action": "check",
|
|
30
|
+
"target": "JSON output structure is valid and complete",
|
|
31
|
+
"implicit": true,
|
|
32
|
+
"dependency": "PDE decomposition executes",
|
|
33
|
+
"confidence": 0.8
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"action": "confirm",
|
|
37
|
+
"target": "pde_parse_response saves artifacts to .pde/ directory",
|
|
38
|
+
"implicit": true,
|
|
39
|
+
"dependency": "PDE decomposition returns response",
|
|
40
|
+
"confidence": 0.75
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"context": {
|
|
44
|
+
"files_needed": [],
|
|
45
|
+
"tools_required": [
|
|
46
|
+
"mcp-pde",
|
|
47
|
+
"pi extension"
|
|
48
|
+
],
|
|
49
|
+
"assumptions": [
|
|
50
|
+
"A fix was recently applied to PDE or pi extension",
|
|
51
|
+
"The pi extension is the interface through which PDE is invoked",
|
|
52
|
+
"End-to-end means: input prompt → decompose → parse → save to .pde/"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"outputs": {
|
|
56
|
+
"artifacts": [],
|
|
57
|
+
"updates": [],
|
|
58
|
+
"communications": []
|
|
59
|
+
},
|
|
60
|
+
"directions": {
|
|
61
|
+
"east": [
|
|
62
|
+
{
|
|
63
|
+
"text": "Understand what 'end to end' means for PDE via pi extension: input → decompose → parse → persist",
|
|
64
|
+
"confidence": 0.85,
|
|
65
|
+
"implicit": false
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"text": "Clarify which fix was applied and what failure mode it addressed",
|
|
69
|
+
"confidence": 0.7,
|
|
70
|
+
"implicit": true
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"south": [
|
|
74
|
+
{
|
|
75
|
+
"text": "Investigate pi extension integration point with mcp-pde tool",
|
|
76
|
+
"confidence": 0.82,
|
|
77
|
+
"implicit": false
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"text": "Review recent fix to understand scope of change",
|
|
81
|
+
"confidence": 0.75,
|
|
82
|
+
"implicit": true
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"west": [
|
|
86
|
+
{
|
|
87
|
+
"text": "Validate JSON output structure matches expected PDE schema",
|
|
88
|
+
"confidence": 0.88,
|
|
89
|
+
"implicit": false
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"text": "Confirm .pde/ artifacts are written after parse step",
|
|
93
|
+
"confidence": 0.78,
|
|
94
|
+
"implicit": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"text": "Verify no regression introduced by the fix",
|
|
98
|
+
"confidence": 0.8,
|
|
99
|
+
"implicit": true
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"north": [
|
|
103
|
+
{
|
|
104
|
+
"text": "Execute PDE decomposition of this test prompt through pi extension",
|
|
105
|
+
"confidence": 0.95,
|
|
106
|
+
"implicit": false
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"text": "Run pde_parse_response with the returned LLM output",
|
|
110
|
+
"confidence": 0.85,
|
|
111
|
+
"implicit": false
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"text": "Confirm artifact persistence in .pde/ directory",
|
|
115
|
+
"confidence": 0.8,
|
|
116
|
+
"implicit": true
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
"actionStack": [
|
|
121
|
+
{
|
|
122
|
+
"text": "Invoke pde_decompose with the test prompt via pi extension",
|
|
123
|
+
"direction": "north",
|
|
124
|
+
"dependency": null,
|
|
125
|
+
"completed": false
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"text": "Process returned systemPrompt + userMessage through LLM",
|
|
129
|
+
"direction": "south",
|
|
130
|
+
"dependency": "pde_decompose invocation succeeds",
|
|
131
|
+
"completed": false
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"text": "Run pde_parse_response with LLM output and original prompt",
|
|
135
|
+
"direction": "north",
|
|
136
|
+
"dependency": "LLM processing complete",
|
|
137
|
+
"completed": false
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"text": "Validate JSON output structure matches PDE schema",
|
|
141
|
+
"direction": "west",
|
|
142
|
+
"dependency": "pde_parse_response completes",
|
|
143
|
+
"completed": false
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"text": "Confirm .pde/ directory contains JSON + markdown artifacts",
|
|
147
|
+
"direction": "west",
|
|
148
|
+
"dependency": "pde_parse_response completes",
|
|
149
|
+
"completed": false
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"text": "Report pass/fail status of end-to-end flow",
|
|
153
|
+
"direction": "north",
|
|
154
|
+
"dependency": "all validation steps complete",
|
|
155
|
+
"completed": false
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"ambiguities": [
|
|
159
|
+
{
|
|
160
|
+
"text": "'after fix' — which fix, in which component",
|
|
161
|
+
"suggestion": "Identify the specific commit or change that was applied to clarify regression scope"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"text": "'pi extension' — unclear if this is a VS Code extension, CLI plugin, or MCP interface",
|
|
165
|
+
"suggestion": "Confirm the exact integration surface being tested (e.g., mcp-pde MCP server, VS Code pi, CLI)"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"text": "'end to end' — boundary not fully defined",
|
|
169
|
+
"suggestion": "Confirm whether end-to-end includes artifact persistence to .pde/ or stops at JSON output"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
"options": {
|
|
174
|
+
"extractImplicit": true,
|
|
175
|
+
"mapDependencies": true
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Prompt Decomposition
|
|
2
|
+
|
|
3
|
+
> Engine: **claude**
|
|
4
|
+
|
|
5
|
+
## Four Directions
|
|
6
|
+
|
|
7
|
+
### 🌅 EAST — Vision
|
|
8
|
+
|
|
9
|
+
- Understand what 'end to end' means for PDE via pi extension: input → decompose → parse → persist [85%]
|
|
10
|
+
- Clarify which fix was applied and what failure mode it addressed [70%] _(implicit)_
|
|
11
|
+
|
|
12
|
+
### 🔥 SOUTH — Analysis
|
|
13
|
+
|
|
14
|
+
- Investigate pi extension integration point with mcp-pde tool [82%]
|
|
15
|
+
- Review recent fix to understand scope of change [75%] _(implicit)_
|
|
16
|
+
|
|
17
|
+
### 🌊 WEST — Validation
|
|
18
|
+
|
|
19
|
+
- Validate JSON output structure matches expected PDE schema [88%]
|
|
20
|
+
- Confirm .pde/ artifacts are written after parse step [78%] _(implicit)_
|
|
21
|
+
- Verify no regression introduced by the fix [80%] _(implicit)_
|
|
22
|
+
|
|
23
|
+
### ❄️ NORTH — Action
|
|
24
|
+
|
|
25
|
+
- Execute PDE decomposition of this test prompt through pi extension [95%]
|
|
26
|
+
- Run pde_parse_response with the returned LLM output [85%]
|
|
27
|
+
- Confirm artifact persistence in .pde/ directory [80%] _(implicit)_
|
|
28
|
+
|
|
29
|
+
## Original Prompt
|
|
30
|
+
|
|
31
|
+
> Testing PDE decomposition after fix - verify the tool works end to end through pi extension
|
|
32
|
+
|
|
33
|
+
## Primary Intent
|
|
34
|
+
|
|
35
|
+
**Action:** verify
|
|
36
|
+
**Target:** PDE decomposition tool end-to-end functionality via pi extension
|
|
37
|
+
**Urgency:** immediate
|
|
38
|
+
**Confidence:** 90%
|
|
39
|
+
|
|
40
|
+
## Secondary Intents
|
|
41
|
+
|
|
42
|
+
1. **confirm** — fix applied before this test is working correctly _(implicit)_
|
|
43
|
+
2. **validate** — pi extension integration with PDE tool _(explicit)_
|
|
44
|
+
- depends on: PDE tool invocation succeeds
|
|
45
|
+
3. **check** — JSON output structure is valid and complete _(implicit)_
|
|
46
|
+
- depends on: PDE decomposition executes
|
|
47
|
+
4. **confirm** — pde_parse_response saves artifacts to .pde/ directory _(implicit)_
|
|
48
|
+
- depends on: PDE decomposition returns response
|
|
49
|
+
|
|
50
|
+
## Context Requirements
|
|
51
|
+
|
|
52
|
+
### Tools Required
|
|
53
|
+
- mcp-pde
|
|
54
|
+
- pi extension
|
|
55
|
+
|
|
56
|
+
### Assumptions
|
|
57
|
+
- A fix was recently applied to PDE or pi extension
|
|
58
|
+
- The pi extension is the interface through which PDE is invoked
|
|
59
|
+
- End-to-end means: input prompt → decompose → parse → save to .pde/
|
|
60
|
+
|
|
61
|
+
## Action Stack
|
|
62
|
+
|
|
63
|
+
- [ ] Invoke pde_decompose with the test prompt via pi extension
|
|
64
|
+
- [ ] Process returned systemPrompt + userMessage through LLM (depends on: pde_decompose invocation succeeds)
|
|
65
|
+
- [ ] Run pde_parse_response with LLM output and original prompt (depends on: LLM processing complete)
|
|
66
|
+
- [ ] Validate JSON output structure matches PDE schema (depends on: pde_parse_response completes)
|
|
67
|
+
- [ ] Confirm .pde/ directory contains JSON + markdown artifacts (depends on: pde_parse_response completes)
|
|
68
|
+
- [ ] Report pass/fail status of end-to-end flow (depends on: all validation steps complete)
|
|
69
|
+
|
|
70
|
+
## Ambiguity Flags
|
|
71
|
+
|
|
72
|
+
- **"'after fix' — which fix, in which component"**
|
|
73
|
+
- Suggestion: Identify the specific commit or change that was applied to clarify regression scope
|
|
74
|
+
- **"'pi extension' — unclear if this is a VS Code extension, CLI plugin, or MCP interface"**
|
|
75
|
+
- Suggestion: Confirm the exact integration surface being tested (e.g., mcp-pde MCP server, VS Code pi, CLI)
|
|
76
|
+
- **"'end to end' — boundary not fully defined"**
|
|
77
|
+
- Suggestion: Confirm whether end-to-end includes artifact persistence to .pde/ or stops at JSON output
|