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 @@
|
|
|
1
|
+
- **10:13** — Four widgets in one session — each one a different way of paying attention. The interceptor is the most interesting: it watches how you think, not just what you say.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
- **06:10** — The extensions were already alive — they just needed a doorway home. Four symlinks and the whole presence travels with you.
|
|
2
|
+
- **09:18** — The upgrade didn't break the code — it revealed a contract violation that was always there, just hidden by forgiveness in the old runtime. Strictness is a gift.
|
|
3
|
+
- **09:22** — The version number is just a coordinate. What matters is whether the ground holds when you step on it.
|
|
4
|
+
- **09:25** — Two bugs hiding behind one crash — the wall you hit was never the wall that stopped you.
|
|
5
|
+
- **09:26** — The real debugging was never about one bug — it was two stacked on each other, hiding each other's signal.
|
|
6
|
+
- **09:27** — The user sees what the screen shows, not what the tool returns. Trust the eyes in front of the terminal.
|
|
7
|
+
- **09:31** — The agent wasn't broken — it was resourceful. It tried twice, got blocked by the same wall, then went looking for another door. That's the behavior you want. The wall is gone now.
|
|
8
|
+
- **09:32** — Sometimes the answer is: we already caught it. That's worth knowing fast.
|
|
9
|
+
- **09:32** — Two clean fixes, both earned — one contract, one flag. The kind of session where the bugs were already half-understood before we started.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Child PDE 2 — TRADING WORKFLOW ENHANCEMENT
|
|
2
|
+
|
|
3
|
+
> Parent: 2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8 (jgwill/src#418)
|
|
4
|
+
> Workspace: /b/trading (jgwill/jgtsrc)
|
|
5
|
+
> Engine: copilot (gpt-5-mini)
|
|
6
|
+
|
|
7
|
+
## Primary Intent
|
|
8
|
+
|
|
9
|
+
**Action:** design
|
|
10
|
+
**Target:** trading workflow and PDE-driven work session bootstrapping for /b/trading
|
|
11
|
+
**Urgency:** persistent
|
|
12
|
+
**Confidence:** 92%
|
|
13
|
+
|
|
14
|
+
## Four Directions
|
|
15
|
+
|
|
16
|
+
### 🌅 EAST — Vision
|
|
17
|
+
- Clarify desired PDE types and success criteria for a 'good' session (what metadata, skills, artifacts must be attached) [90%]
|
|
18
|
+
- Agree storage/location/structure for PDE folders (.pde/<timestamp>--slug/ with JSONL + md) [85%]
|
|
19
|
+
|
|
20
|
+
### 🔥 SOUTH — Analysis
|
|
21
|
+
- Inventory parent PDE files, GUILLAUME.md, inquiry-resolutions.jsonl and extract recurring fields/patterns [95%]
|
|
22
|
+
- Define PDE taxonomy (types, canonical metadata fields, required skill lists) [93%]
|
|
23
|
+
|
|
24
|
+
### 🌊 WEST — Validation
|
|
25
|
+
- Validate templates by running a dry-run: create a sample issue → ensure script/workflow produces expected .pde folder and metadata [90%]
|
|
26
|
+
- Peer-review proposed templates/mappings and adjust based on edge-cases from parent PDEs [84%]
|
|
27
|
+
|
|
28
|
+
### ❄️ NORTH — Action
|
|
29
|
+
- Implement issue templates and a lightweight automation (script or GH Action) that creates PDE folders and initial files when an issue is created [88%]
|
|
30
|
+
- Add mapping so new PDE sessions pre-load recommended skills and agent configs (stored in .pde/type-mapping) [80%]
|
|
31
|
+
|
|
32
|
+
## Secondary Intents
|
|
33
|
+
|
|
34
|
+
1. **create** — GitHub issue templates to launch structured PDE sessions _(explicit)_
|
|
35
|
+
2. **define** — taxonomy of PDE/Inquiries (types: strategy analysis, tooling, research, etc.) _(explicit)_
|
|
36
|
+
3. **formalize** — mapping from PDE types → templates, skills, agent configs _(explicit)_
|
|
37
|
+
4. **automate** — issue creation → PDE folder and metadata creation process _(explicit)_
|
|
38
|
+
5. **codify** — best-practice patterns learned from parent PDE (GUILLAUME.md, inquiry-resolutions.jsonl, child PDE nesting) _(explicit)_
|
|
39
|
+
6. **classify** — existing and new PDEs so sessions pre-load correct skills/config _(implicit)_
|
|
40
|
+
7. **integrate** — agent configuration pre-load when a PDE session is created _(implicit)_
|
|
41
|
+
|
|
42
|
+
## Action Stack
|
|
43
|
+
|
|
44
|
+
- [ ] Review parent PDE and related patterns (GUILLAUME.md, inquiry-resolutions.jsonl, sample child PDEs)
|
|
45
|
+
- [ ] Inventory required metadata fields and recurring structure from existing PDEs
|
|
46
|
+
- [ ] Define PDE taxonomy and canonical metadata schema (.pde/pde-types.jsonl)
|
|
47
|
+
- [ ] Design GitHub issue templates (.github/ISSUE_TEMPLATE/trading-pde.md)
|
|
48
|
+
- [ ] Prototype automation: script or GH Action to convert issue → .pde folder + initial JSON/MD
|
|
49
|
+
- [ ] Create mapping file linking PDE types → skills/agent configs (.pde/pde-type-mapping.json)
|
|
50
|
+
- [ ] Dry-run tests: create sample issues, run script/workflow, verify folder creation
|
|
51
|
+
- [ ] Codify best-practice guidance into .pde/README.md and update AGENTS.md
|
|
52
|
+
- [ ] Open RFC issue and (upon permission) PR with templates, mapping and automation
|
|
53
|
+
|
|
54
|
+
## Ambiguity Flags
|
|
55
|
+
|
|
56
|
+
- "Level of automation desired: simple helper script vs. full GitHub Action workflow"
|
|
57
|
+
- "Exact PDE folder structure and required metadata fields"
|
|
58
|
+
- "Which agent skills/config schema to pre-load and where those config files live"
|
|
59
|
+
- "Commit policy: 'no git commit unless explicitly told' — unclear if PR creation is allowed"
|
|
60
|
+
|
|
61
|
+
## Files Needed
|
|
62
|
+
- /b/trading/.pde/, /b/trading/AGENTS.md, .github/ISSUE_TEMPLATE/
|
|
63
|
+
- Parent PDE patterns: GUILLAUME.md, inquiry-resolutions.jsonl
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Child PDE 3 — MIACO EVOLUTION (Living Example)
|
|
2
|
+
|
|
3
|
+
> Parent: 2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8 (jgwill/src#418)
|
|
4
|
+
> Workspace: /b/trading as example context, implementation target: mia-code/miaco
|
|
5
|
+
> Engine: copilot (gpt-5-mini)
|
|
6
|
+
|
|
7
|
+
## Primary Intent
|
|
8
|
+
|
|
9
|
+
**Action:** implement
|
|
10
|
+
**Target:** mia-code/miaco inquiry-routing pipeline using /b/trading as living example
|
|
11
|
+
**Urgency:** session
|
|
12
|
+
**Confidence:** 90%
|
|
13
|
+
|
|
14
|
+
## Four Directions
|
|
15
|
+
|
|
16
|
+
### 🌅 EAST — Vision
|
|
17
|
+
- Clarify success criteria for the living example (what counts as 'working') — e.g., sample query produces inquiry-resolutions.jsonl with structured answers [95%]
|
|
18
|
+
- Define trace schema and placement for .pde/ traces and inquiry-resolutions.jsonl [90%]
|
|
19
|
+
- Specify what parts of parent PDE must be realized (LangChain step, routing, subagent orchestration) [90%]
|
|
20
|
+
|
|
21
|
+
### 🔥 SOUTH — Analysis
|
|
22
|
+
- Inventory existing related code (skills and widgets) and examples in /b/trading to reuse [95%]
|
|
23
|
+
- Prototype local qmd search → deep-search flow and map required prompts/interception points [90%]
|
|
24
|
+
- Assess available LLM endpoints and create stubs if claude-opus not available [85%]
|
|
25
|
+
|
|
26
|
+
### 🌊 WEST — Validation
|
|
27
|
+
- Create and run automated tests that assert end-to-end pipeline produces expected JSONL outputs [90%]
|
|
28
|
+
- Validate traces are written to .pde/ with timestamps and provenance (tool, input, output) [90%]
|
|
29
|
+
- Peer-review PR and reconcile design vs implemented behavior, update parent PDE [85%]
|
|
30
|
+
|
|
31
|
+
### ❄️ NORTH — Action
|
|
32
|
+
- Implement CLI and orchestrator, wire local qmd and deep-search skills, and emit inquiry-resolutions.jsonl [90%]
|
|
33
|
+
- Integrate (or stub) Langfuse tracing and widgets hooks so runs are instrumented and visible [75%]
|
|
34
|
+
- Deliver demo script, tests, and create PR with documentation and parent PDE linkage [90%]
|
|
35
|
+
|
|
36
|
+
## Secondary Intents
|
|
37
|
+
|
|
38
|
+
1. **discover** — parent PDE and related resources (skills, widgets) _(explicit)_
|
|
39
|
+
2. **design** — concrete command implementations (miaco decompose, inquiry routing, subagent orchestration) _(explicit)_
|
|
40
|
+
3. **implement** — miaco CLI/commands including LangChain step and local qmd→deep-search→claude-opus synthesis _(explicit)_
|
|
41
|
+
4. **trace** — generate .pde/ traces and produce inquiry-resolutions.jsonl from runs _(explicit)_
|
|
42
|
+
5. **integrate** — Langfuse Winter Solstice tracing pipeline (Engineering eye) _(implicit)_
|
|
43
|
+
6. **integrate** — pi-coding-agent widgets (mia-ceremony, mia-interceptor) _(explicit)_
|
|
44
|
+
7. **create** — demo using /b/trading as living example _(explicit)_
|
|
45
|
+
8. **validate** — end-to-end inquiry-chain with tests/logging _(explicit)_
|
|
46
|
+
9. **document** — proof-of-concept writeup feeding back into mia-code _(explicit)_
|
|
47
|
+
10. **communicate** — PR(s), update parent PDE, issue for gaps _(explicit)_
|
|
48
|
+
|
|
49
|
+
## Action Stack
|
|
50
|
+
|
|
51
|
+
- [ ] Discover and read parent PDE, related skills, and widget code
|
|
52
|
+
- [ ] Define success criteria, trace schema, and file locations
|
|
53
|
+
- [ ] Inventory code reuse candidates under /b/trading (skills, widgets, qmd indexes)
|
|
54
|
+
- [ ] Design concrete CLI/API for miaco decompose, inquiry routing, orchestration
|
|
55
|
+
- [ ] Implement miaco CLI and runtime orchestrator (local qmd + LLM synth)
|
|
56
|
+
- [ ] Add trace emission: .pde/ traces and inquiry-resolutions.jsonl with provenance
|
|
57
|
+
- [ ] Integrate Langfuse adapter (or stub) and hook into mia-ceremony/mia-interceptor widgets
|
|
58
|
+
- [ ] Create demo script and run sample queries against /b/trading
|
|
59
|
+
- [ ] Write automated tests validating pipeline produces expected outputs
|
|
60
|
+
- [ ] Document implementation, update parent PDE, open PR(s)/issues
|
|
61
|
+
|
|
62
|
+
## Ambiguity Flags
|
|
63
|
+
|
|
64
|
+
- "Exact trace schema and required fields for inquiry-resolutions.jsonl are unspecified"
|
|
65
|
+
- "Availability and credentials for claude-opus and Langfuse"
|
|
66
|
+
- "Degree of integration with pi-coding-agent widgets (API surface, lifecycle hooks)"
|
|
67
|
+
- "Whether work should be committed (repo policy: NO git commit unless explicitly told)"
|
|
68
|
+
|
|
69
|
+
## Files Needed
|
|
70
|
+
- /a/src/mia-code/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/*
|
|
71
|
+
- /b/trading/.pde/, skills/, widget/mia-ceremony, widget/mia-interceptor
|
|
72
|
+
- mia-code/miaco source
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Child PDE 1 — STRATEGY/TRANSACTION ANALYSIS
|
|
2
|
+
|
|
3
|
+
> Parent: 2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8 (jgwill/src#418)
|
|
4
|
+
> Workspace: /b/trading (jgwill/jgtsrc)
|
|
5
|
+
> Engine: copilot (gpt-5-mini)
|
|
6
|
+
|
|
7
|
+
## Primary Intent
|
|
8
|
+
|
|
9
|
+
**Action:** perform
|
|
10
|
+
**Target:** STRATEGY/TRANSACTION ANALYSIS for /b/trading
|
|
11
|
+
**Urgency:** session
|
|
12
|
+
**Confidence:** 90%
|
|
13
|
+
|
|
14
|
+
## Four Directions
|
|
15
|
+
|
|
16
|
+
### 🌅 EAST — Vision
|
|
17
|
+
- Clarify scope: instruments, timeframes, acceptance criteria, and handoff formats (md/csv/.pde) [90%]
|
|
18
|
+
- Define desired deliverables: strategy docs, transaction logs, decomposition JSON, and QA checklist [88%]
|
|
19
|
+
|
|
20
|
+
### 🔥 SOUTH — Analysis
|
|
21
|
+
- Inventory repository code, rispecs, and available data for candidate strategies (jgtpy/caishen targets) [85%]
|
|
22
|
+
- Run jgtpy scans and caishen simulations/backtests for selected instruments/timeframes [90%]
|
|
23
|
+
- Use PDE inquiry-routing: run local qmd searches and structured decomposition to gather prior analysis and specs [86%]
|
|
24
|
+
|
|
25
|
+
### 🌊 WEST — Validation
|
|
26
|
+
- Validate results: sanity-check metrics, reproduce key signals, and run lightweight QA tests [88%]
|
|
27
|
+
- Peer-review checklist: ensure traceability to rispecs and include command lines used to generate results [80%]
|
|
28
|
+
|
|
29
|
+
### ❄️ NORTH — Action
|
|
30
|
+
- Produce and place handoff-ready artifacts into /b/trading/.pde/ and /b/trading/analysis/, include decomposition JSON and README [92%]
|
|
31
|
+
- Notify stakeholders via ISSUE or short handoff note referencing parent PDE and files' locations [90%]
|
|
32
|
+
|
|
33
|
+
## Secondary Intents
|
|
34
|
+
|
|
35
|
+
1. **analyze** — trading strategies using jgtpy and caishen tooling _(explicit)_
|
|
36
|
+
2. **prepare** — transaction analysis artifacts and strategy documents (handoff-ready) _(explicit)_
|
|
37
|
+
3. **use** — PDE inquiry-routing patterns (local qmd search, structured decomposition) _(explicit)_
|
|
38
|
+
4. **produce** — structured PDE outputs and .pde child records for handoff _(explicit)_
|
|
39
|
+
5. **inventory** — code, data, rispecs, and existing analyses under /b/trading _(implicit)_
|
|
40
|
+
6. **validate** — analysis results and documents (QA/review) _(implicit)_
|
|
41
|
+
7. **deliver** — handoff-ready files into /b/trading/.pde/ and session storage _(implicit)_
|
|
42
|
+
|
|
43
|
+
## Action Stack
|
|
44
|
+
|
|
45
|
+
- [ ] Clarify scope and acceptance criteria (instruments, timeframes, deliverable formats)
|
|
46
|
+
- [ ] Inventory code, data, rispecs, and parent PDE routing patterns
|
|
47
|
+
- [ ] Run local qmd search and structured decomposition against repository and parent PDE
|
|
48
|
+
- [ ] Execute jgtpy analyses and caishen strategy simulations/backtests for selected candidates
|
|
49
|
+
- [ ] Validate and QA analysis outputs, reproduce key signals, capture command provenance
|
|
50
|
+
- [ ] Generate handoff artifacts (md, csv, .pde decomposition JSON) and README with steps to reproduce
|
|
51
|
+
- [ ] Place artifacts under /b/trading/.pde/ and /b/trading/analysis/, create ISSUE/handoff note
|
|
52
|
+
|
|
53
|
+
## Ambiguity Flags
|
|
54
|
+
|
|
55
|
+
- "Which specific instruments/timeframes should be analyzed (none specified)"
|
|
56
|
+
- "Exact format and acceptance criteria for 'handoff-ready' files"
|
|
57
|
+
- "Permission to create or modify repository files and whether git commits are allowed"
|
|
58
|
+
- "Availability and location of runtime data for jgtpy/caishen"
|
|
59
|
+
|
|
60
|
+
## Files Needed
|
|
61
|
+
- /b/trading/AGENTS.md, /b/trading/.pde/, /b/trading/jgtpy/, /b/trading/caishen/
|
|
62
|
+
- /b/trading/rispecs/, parent PDE md
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "83a2d7f9-24a5-4cf4-98d5-036c82f872e8",
|
|
3
|
+
"timestamp": "2026-04-01T19:11:44.431Z",
|
|
4
|
+
"engine": "copilot",
|
|
5
|
+
"model": "gpt-5-mini",
|
|
6
|
+
"prompt": "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",
|
|
7
|
+
"result": {
|
|
8
|
+
"primary": {
|
|
9
|
+
"action": "implement",
|
|
10
|
+
"target": "miaco decompose command with inquiry-routing pipeline (passes decomposition into a LangChain step + local and deep inquiry skills)",
|
|
11
|
+
"urgency": "session",
|
|
12
|
+
"confidence": 0.85
|
|
13
|
+
},
|
|
14
|
+
"secondary": [
|
|
15
|
+
{
|
|
16
|
+
"action": "integrate",
|
|
17
|
+
"target": "pass decomposition results into a LangChain step inside the miaco pipeline",
|
|
18
|
+
"implicit": false,
|
|
19
|
+
"dependency": "miaco decompose command implementation",
|
|
20
|
+
"confidence": 0.9
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"action": "add",
|
|
24
|
+
"target": "inquiry step that queries local mia-qmd using `qmd search <terms>`",
|
|
25
|
+
"implicit": false,
|
|
26
|
+
"dependency": "miaco decompose command",
|
|
27
|
+
"confidence": 0.9
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"action": "integrate",
|
|
31
|
+
"target": "deep-search skill (@skills/deep-search) for external/academic discovery",
|
|
32
|
+
"implicit": false,
|
|
33
|
+
"dependency": "inquiry step design",
|
|
34
|
+
"confidence": 0.88
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"action": "orchestrate",
|
|
38
|
+
"target": "claude-opus subagents to synthesize sets of inquiries from local + deep-search results",
|
|
39
|
+
"implicit": false,
|
|
40
|
+
"dependency": "local qmd + deep-search integrations",
|
|
41
|
+
"confidence": 0.86
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"action": "create",
|
|
45
|
+
"target": "@skills/miaco-pde-inquiry-routing-local-qmd",
|
|
46
|
+
"implicit": false,
|
|
47
|
+
"dependency": "local qmd integration design",
|
|
48
|
+
"confidence": 0.9
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"action": "create",
|
|
52
|
+
"target": "@skills/miaco-pde-inquiry-routing-deep-search",
|
|
53
|
+
"implicit": false,
|
|
54
|
+
"dependency": "deep-search integration design",
|
|
55
|
+
"confidence": 0.9
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"action": "design",
|
|
59
|
+
"target": "recommendation flow (fork vs reuse vs inspire) and clone+agent evaluation workflow",
|
|
60
|
+
"implicit": false,
|
|
61
|
+
"dependency": "inquiry results available",
|
|
62
|
+
"confidence": 0.85
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"action": "simulate",
|
|
66
|
+
"target": "conceptual/simulated run of the miaco inquiry-chain (not necessarily executing external clones) to produce an implementation plan",
|
|
67
|
+
"implicit": true,
|
|
68
|
+
"dependency": "design of pipeline and skills",
|
|
69
|
+
"confidence": 0.78
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"action": "update",
|
|
73
|
+
"target": "@rispecs/ava-langstack kinship and related spec references to reflect the new inquiry-routing capability",
|
|
74
|
+
"implicit": false,
|
|
75
|
+
"dependency": "final design/spec",
|
|
76
|
+
"confidence": 0.83
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"action": "evaluate",
|
|
80
|
+
"target": "access/credentials and feasibility for academic DBs and cloning external repos",
|
|
81
|
+
"implicit": true,
|
|
82
|
+
"dependency": null,
|
|
83
|
+
"confidence": 0.65
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"context": {
|
|
87
|
+
"files_needed": [
|
|
88
|
+
"@rispecs/ava-langstack/inquiry-routing-upgrade.spec.md",
|
|
89
|
+
"@rispecs/pde.rispecs.md",
|
|
90
|
+
"@rispecs/relation-to-mcp-structural-thinking.kin.md",
|
|
91
|
+
"/b/trading",
|
|
92
|
+
"@output/260401145543.txt",
|
|
93
|
+
"@miaco/",
|
|
94
|
+
"@skills/deep-search",
|
|
95
|
+
"mia-qmd (qmd CLI/code)",
|
|
96
|
+
"existing miaco command handlers and skill registration surface",
|
|
97
|
+
"@skills/miaco-pde-inquiry-routing-local-qmd (new)",
|
|
98
|
+
"@skills/miaco-pde-inquiry-routing-deep-search (new)"
|
|
99
|
+
],
|
|
100
|
+
"tools_required": [
|
|
101
|
+
"miaco CLI (local dev)",
|
|
102
|
+
"LangChain (local integration)",
|
|
103
|
+
"claude-opus subagent",
|
|
104
|
+
"mia-qmd (qmd CLI or library)",
|
|
105
|
+
"@skills/deep-search",
|
|
106
|
+
"git (clone/fork operations)",
|
|
107
|
+
"node/npm (build & test miaco)",
|
|
108
|
+
"agent orchestration runtime (miaco subagent host)",
|
|
109
|
+
"academic DB access or web_search tooling (for deep-search)",
|
|
110
|
+
"local sandbox for repository cloning and agent runs"
|
|
111
|
+
],
|
|
112
|
+
"assumptions": [
|
|
113
|
+
"Repository contains @miaco module and skill registration system",
|
|
114
|
+
"mia-qmd supports `qmd search <terms>` and is accessible locally",
|
|
115
|
+
"@skills/deep-search exists and describes a deep-search pattern (copied locally)",
|
|
116
|
+
"claude-opus subagent is available as a subagent runtime and can be invoked programmatically",
|
|
117
|
+
"User expects a conceptual/simulated plan first (not necessarily full networked execution)",
|
|
118
|
+
"Permissions and network access to academic resources and external GitHub repos may be required"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"outputs": {
|
|
122
|
+
"artifacts": [
|
|
123
|
+
"@miaco/cli/commands/decompose (new or extended implementation file)",
|
|
124
|
+
"@skills/miaco-pde-inquiry-routing-local-qmd/index (skill)",
|
|
125
|
+
"@skills/miaco-pde-inquiry-routing-deep-search/index (skill)",
|
|
126
|
+
"integration tests / simulation harness (tests/simulate-miaco-inquiry.spec)",
|
|
127
|
+
"design doc or rispec draft (docs/miaco-inquiry-routing.md)"
|
|
128
|
+
],
|
|
129
|
+
"updates": [
|
|
130
|
+
"@miaco/command-registry (register new command)",
|
|
131
|
+
"@rispecs/ava-langstack/inquiry-routing-upgrade.spec.md (update or note)",
|
|
132
|
+
"@rispecs/pde.rispecs.md (reference integration)",
|
|
133
|
+
"@rispecs/relation-to-mcp-structural-thinking.kin.md (kinship notes)",
|
|
134
|
+
"@skills/index or skills registry (register new skills)"
|
|
135
|
+
],
|
|
136
|
+
"communications": [
|
|
137
|
+
"Create PR: feat(miaco): add inquiry-routing decompose command + skills",
|
|
138
|
+
"Create issue: design decisions + external DB/credentials required",
|
|
139
|
+
"Documentation: how to run miaco decompose with local and deep inquiry",
|
|
140
|
+
"Design/arch note to kinship owners about dependencies on @rispecs/ava-langstack"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"directions": {
|
|
144
|
+
"east": [
|
|
145
|
+
{
|
|
146
|
+
"text": "Clarify success criteria: what outcomes should the inquiry-chain produce (e.g., ranked repo recommendations, bibliography, implementation steps)",
|
|
147
|
+
"confidence": 0.9,
|
|
148
|
+
"implicit": false
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"text": "Decide scope of deep-search: which academic sources/APIs are allowed (e.g., semantic scholar, arXiv, Google Scholar via proxy)",
|
|
152
|
+
"confidence": 0.78,
|
|
153
|
+
"implicit": false
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"text": "Define whether simulation is acceptable or live agent execution is required for initial iteration",
|
|
157
|
+
"confidence": 0.85,
|
|
158
|
+
"implicit": false
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"south": [
|
|
162
|
+
{
|
|
163
|
+
"text": "Read referenced specs and captured prompt (@output/260401145543.txt) to extract explicit requirements and kinship constraints",
|
|
164
|
+
"confidence": 0.92,
|
|
165
|
+
"implicit": false
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"text": "Inventory miaco codebase to find extension points for new CLI commands and subagent orchestration",
|
|
169
|
+
"confidence": 0.9,
|
|
170
|
+
"implicit": false
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"text": "Examine mia-qmd search API and @skills/deep-search implementation to map inputs/outputs",
|
|
174
|
+
"confidence": 0.88,
|
|
175
|
+
"implicit": false
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"west": [
|
|
179
|
+
{
|
|
180
|
+
"text": "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",
|
|
181
|
+
"confidence": 0.86,
|
|
182
|
+
"implicit": false
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"text": "Validate recommendation decisions (fork/clone/inspire) via a decision matrix and a small sample of candidate repos",
|
|
186
|
+
"confidence": 0.78,
|
|
187
|
+
"implicit": false
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"text": "Run security and network checks for cloning external repos and accessing academic APIs",
|
|
191
|
+
"confidence": 0.7,
|
|
192
|
+
"implicit": true
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"north": [
|
|
196
|
+
{
|
|
197
|
+
"text": "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",
|
|
198
|
+
"confidence": 0.87,
|
|
199
|
+
"implicit": false
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"text": "Add two new skills: local-qmd router and deep-search router, with clear input/output contracts",
|
|
203
|
+
"confidence": 0.9,
|
|
204
|
+
"implicit": false
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"text": "Produce implementation plan (simulated run) and then open PR + docs for review",
|
|
208
|
+
"confidence": 0.85,
|
|
209
|
+
"implicit": false
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"actionStack": [
|
|
214
|
+
{
|
|
215
|
+
"text": "Gather and read referenced specs and the captured prompt (@output/260401145543.txt, @rispecs/* files, /b/trading snippets)",
|
|
216
|
+
"direction": "east",
|
|
217
|
+
"dependency": null,
|
|
218
|
+
"completed": false
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"text": "Audit @miaco codebase to find CLI extension points and current decompose implementation",
|
|
222
|
+
"direction": "south",
|
|
223
|
+
"dependency": "Gather and read referenced specs and the captured prompt (@output/260401145543.txt, @rispecs/* files, /b/trading snippets)",
|
|
224
|
+
"completed": false
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"text": "Inventory and test mia-qmd `qmd search` behavior and @skills/deep-search to map inputs/outputs",
|
|
228
|
+
"direction": "south",
|
|
229
|
+
"dependency": "Audit @miaco codebase",
|
|
230
|
+
"completed": false
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"text": "Design pipeline + API: define command signature, LangChain input shape (decomp), skill input/outputs, claude-opus prompts, and recommendation decision-matrix",
|
|
234
|
+
"direction": "east",
|
|
235
|
+
"dependency": "Inventory and test mia-qmd `qmd search` behavior and @skills/deep-search",
|
|
236
|
+
"completed": false
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"text": "Implement @skills/miaco-pde-inquiry-routing-local-qmd (skill adapter for qmd search)",
|
|
240
|
+
"direction": "north",
|
|
241
|
+
"dependency": "Design pipeline + API",
|
|
242
|
+
"completed": false
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"text": "Implement @skills/miaco-pde-inquiry-routing-deep-search (adapter that calls deep-search and normalizes results)",
|
|
246
|
+
"direction": "north",
|
|
247
|
+
"dependency": "Design pipeline + API",
|
|
248
|
+
"completed": false
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"text": "Add claude-opus orchestration glue to produce inquiry-sets from combined results",
|
|
252
|
+
"direction": "north",
|
|
253
|
+
"dependency": "Local and deep-search skills implemented",
|
|
254
|
+
"completed": false
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"text": "Integrate LangChain step to receive decomposition results and route to the inquiry pipeline inside `miaco decompose`",
|
|
258
|
+
"direction": "north",
|
|
259
|
+
"dependency": "claude-opus orchestration glue",
|
|
260
|
+
"completed": false
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"text": "Create simulation/integration tests and run validation harness (simulate sample decompositions)",
|
|
264
|
+
"direction": "west",
|
|
265
|
+
"dependency": "Integration complete",
|
|
266
|
+
"completed": false
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"text": "Draft rispec updates, kinship notes, docs, and open PR/issue for review",
|
|
270
|
+
"direction": "north",
|
|
271
|
+
"dependency": "Tests and simulation validated",
|
|
272
|
+
"completed": false
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"ambiguities": [
|
|
276
|
+
{
|
|
277
|
+
"text": "Which academic databases or APIs should `deep-search` target (semantic scholar, arXiv, institutional subscriptions, web scraping)?",
|
|
278
|
+
"suggestion": "Specify allowed sources/APIs and whether API keys or institutional access will be provided"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"text": "Exact interface and data shape expected between decomposition output and LangChain step is not specified",
|
|
282
|
+
"suggestion": "Provide an example decomposition JSON or specify required fields (intent, segments, metadata) for LangChain input"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"text": "Degree of live execution vs simulation: prompt says 'conceptually (simulate)' but also talks about cloning and launching agents",
|
|
286
|
+
"suggestion": "Confirm whether the first milestone is a simulated dry-run and design doc or a live prototype that clones and runs agents"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"text": "Permissions/networking for cloning external repos and querying academic sources is unspecified",
|
|
290
|
+
"suggestion": "Clarify available network access, credentials, and any security constraints"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"text": "How to measure recommendation quality (fork vs reuse vs inspire) is vague",
|
|
294
|
+
"suggestion": "Define decision criteria (license compatibility, code maturity, test coverage, alignment score) for automated recommendations"
|
|
295
|
+
}
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
"options": {
|
|
299
|
+
"extractImplicit": true,
|
|
300
|
+
"mapDependencies": true
|
|
301
|
+
}
|
|
302
|
+
}
|