Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
2784f79
feat: 完成 Rikune agent 可靠性迭代
Last-emo-boy May 20, 2026
c9e530d
fix: 收敛工具暴露与服务入口
Last-emo-boy May 20, 2026
58173ad
feat: 标准化插件 SDK 与插件矩阵
Last-emo-boy May 22, 2026
6cbebb8
feat: 增加插件工作流任务底座
Last-emo-boy May 22, 2026
b682cf9
feat: 增加核心插件工作流链路
Last-emo-boy May 22, 2026
e3f4552
feat: 增加平台供应链工作流链路
Last-emo-boy May 22, 2026
ac63ae4
feat: 增加恶意分析工作流链路
Last-emo-boy May 22, 2026
57d0bd8
chore: 完成插件能力迭代发布守卫
Last-emo-boy May 22, 2026
795429c
feat: 增加前沿逆向插件计划链路
Last-emo-boy May 22, 2026
74f1cc6
feat: 扩展前沿逆向插件套件
Last-emo-boy May 22, 2026
bce71be
feat: 接入前沿逆向插件 Worker 套件
Last-emo-boy May 23, 2026
3595e06
feat: 接入后端自动安装与 Worker 执行桥接
Last-emo-boy May 23, 2026
aeefc40
docs: 新增工具目录页面
Last-emo-boy May 24, 2026
f9d90d4
fix: use tmp home for analyzer docker runtime
Last-emo-boy May 24, 2026
4fc41f9
feat: 强化插件证据交接流程
Last-emo-boy May 26, 2026
9b77b3a
feat: 收敛默认工具入口
Last-emo-boy Jun 7, 2026
f065689
fix: 对齐 firmware 信号和 DIE 路径配置
Last-emo-boy Jun 8, 2026
2200a91
feat: 增强 pcap 分析工作流交接
Last-emo-boy Jun 8, 2026
0b3a5fa
feat: 增强 capstone 工作流画像
Last-emo-boy Jun 8, 2026
a410b26
feat: 增强 unity 被动元数据交接
Last-emo-boy Jun 8, 2026
3410af0
feat: 增强 host 关联交接画像
Last-emo-boy Jun 8, 2026
a3f0c13
feat: 增强 kb 复用交接画像
Last-emo-boy Jun 8, 2026
fa70a93
feat: 增强 elf macho 静态交接画像
Last-emo-boy Jun 8, 2026
0d3780c
feat: 增强 qiling 运行时画像交接
Last-emo-boy Jun 9, 2026
18c7a7c
feat: 增强 wine 运行时画像交接
Last-emo-boy Jun 9, 2026
b61c326
feat: 增强 frida 被动 hook 画像交接
Last-emo-boy Jun 9, 2026
08f9733
feat: 增强 wine 兼容运行画像交接
Last-emo-boy Jun 9, 2026
a47fab2
feat: 增强 memory 离线关联画像交接
Last-emo-boy Jun 9, 2026
a8b5067
feat: 增强 managed il xrefs 画像交接
Last-emo-boy Jun 9, 2026
9e1970f
feat: 增强 dotnet managed 画像交接
Last-emo-boy Jun 9, 2026
f24ace6
feat: 增强 native object 画像交接
Last-emo-boy Jun 9, 2026
38152f8
feat: 深化 windows-debug-symbols 被动元数据 handoff
Last-emo-boy Jun 9, 2026
7ce3ec4
feat: 深化 managed fake c2 安全交接
Last-emo-boy Jun 9, 2026
ca859bc
feat: 深化 code-analysis 搜索画像
Last-emo-boy Jun 9, 2026
44be5b3
fix: 收窄 memory forensics 运行后端画像
Last-emo-boy Jun 9, 2026
ff714a6
feat: 增强 workflow search 画像配额
Last-emo-boy Jun 9, 2026
36dfbd4
feat: 深化 speakeasy 运行时画像
Last-emo-boy Jun 9, 2026
dd4a89e
fix: 收窄 qiling 运行后端画像
Last-emo-boy Jun 9, 2026
800558a
feat: 深化 sandbox 执行交接画像
Last-emo-boy Jun 9, 2026
42d57b4
feat: 深化 retdec 交接画像
Last-emo-boy Jun 9, 2026
25b5eb9
feat: 深化 pe 叶子工具交接画像
Last-emo-boy Jun 9, 2026
f10b359
feat: 强化 fake c2 运行边界
Last-emo-boy Jun 9, 2026
bb8aa51
feat: 深化 panda 就绪画像
Last-emo-boy Jun 9, 2026
1c6d2f0
feat: 深化 angr cfg 交接画像
Last-emo-boy Jun 9, 2026
3dbbde2
feat: 深化 api hash 画像
Last-emo-boy Jun 9, 2026
691b29b
feat: 深化 entropy 静态交接画像
Last-emo-boy Jun 9, 2026
a2b9a06
feat: 扩展工具画像矩阵索引
Last-emo-boy Jun 9, 2026
f359671
feat: 深化 html report artifact 交接
Last-emo-boy Jun 9, 2026
051c1e7
feat: 深化样本家族聚类交接
Last-emo-boy Jun 9, 2026
d1e25a9
docs: 记录 maestro 收尾状态
Last-emo-boy Jun 9, 2026
cd6a5d9
Add plugin-sdk plan, CI node smoke tests, and updates
Last-emo-boy Jun 14, 2026
2866384
feat: 添加 eBPF 字节码静态分析插件
Last-emo-boy Jun 23, 2026
f83ef27
chore: 更新 eBPF 迭代状态
Last-emo-boy Jun 23, 2026
162074a
feat: 添加 LLVM bitcode 静态清单插件
Last-emo-boy Jun 23, 2026
a5ac184
chore: 更新 LLVM bitcode 迭代状态
Last-emo-boy Jun 23, 2026
8afd2c5
fix: 修复 TypeScript 构建基线
Last-emo-boy Jun 25, 2026
1c775c7
chore: 更新 CI 基线修复记录
Last-emo-boy Jun 25, 2026
9129f22
chore: 修复 lint 格式基线
Last-emo-boy Jun 25, 2026
dc1cdd5
test: 修复 full unit 基线失败
Last-emo-boy Jun 25, 2026
ad1e3da
test: 修复 node 集成烟测基线
Last-emo-boy Jun 25, 2026
7ad6178
Merge pull request #43 from Last-emo-boy/fix/ci-typescript-baseline
Last-emo-boy Jun 25, 2026
b75cb8c
feat: 添加 CUDA 二进制静态盘点插件
Last-emo-boy Jun 25, 2026
b9a7819
chore: 更新 CUDA 迭代 PR 状态
Last-emo-boy Jun 25, 2026
2181dc1
Merge pull request #44 from Last-emo-boy/feat/cuda-fatbin-inventory
Last-emo-boy Jun 25, 2026
5987645
feat: 添加 PE 安全缓解画像工具
Last-emo-boy Jun 25, 2026
3d34ccc
Merge pull request #45 from Last-emo-boy/feat/pe-security-profile
Last-emo-boy Jun 25, 2026
d00be82
Merge pull request #40 from Last-emo-boy/feat/ebpf-bytecode-analyzer
Last-emo-boy Jun 25, 2026
a352f12
Merge pull request #41 from Last-emo-boy/feat/llvm-bitcode-inventory
Last-emo-boy Jun 25, 2026
e2c3182
feat: 添加 BTF 类型静态清单插件
Last-emo-boy Jun 25, 2026
3e7e7c6
Merge pull request #46 from Last-emo-boy/feat/btf-type-inventory
Last-emo-boy Jun 25, 2026
a0db9cd
fix: 修复 Linux Docker 数据目录权限
Last-emo-boy Jun 25, 2026
12d2f5f
Merge pull request #47 from Last-emo-boy/fix/linux-docker-data-root-p…
Last-emo-boy Jun 25, 2026
c44ed2d
feat: 添加容器镜像静态安全画像工具
Last-emo-boy Jun 25, 2026
97fcb8f
Merge pull request #48 from Last-emo-boy/feat/container-image-securit…
Last-emo-boy Jun 25, 2026
4a1f523
feat: 添加 ML 模型制品静态清单插件
Last-emo-boy Jun 26, 2026
d7e7538
Merge pull request #49 from Last-emo-boy/feat/ml-model-artifact-inven…
Last-emo-boy Jun 26, 2026
17c0dc5
feat: 添加 Shader IR 静态清单插件
Last-emo-boy Jun 26, 2026
9f5b8e0
Merge pull request #50 from Last-emo-boy/feat/shader-ir-inventory
Last-emo-boy Jun 26, 2026
f75fe54
feat: 添加 Wasm Component 静态清单插件
Last-emo-boy Jun 26, 2026
1871c13
Merge pull request #51 from Last-emo-boy/feat/wasm-component-inventory
Last-emo-boy Jun 26, 2026
a5a73df
feat: 添加 Apple ObjC/Swift 元数据静态清单插件
Last-emo-boy Jun 26, 2026
0078d33
chore: 更新 Apple ObjC/Swift 迭代 PR 状态
Last-emo-boy Jun 26, 2026
cf4db8b
Merge pull request #52 from Last-emo-boy/feat/apple-objc-swift-metadata
Last-emo-boy Jun 26, 2026
23ba3ce
feat: 添加 Native Debug Types 静态清单插件
Last-emo-boy Jun 26, 2026
1ae9009
chore: 更新 Native Debug Types 项目记录
Last-emo-boy Jun 26, 2026
f8aefc1
Merge pull request #53 from Last-emo-boy/feat/dwarf-debug-inventory
Last-emo-boy Jun 26, 2026
d2d1f95
feat: 添加 C++ ABI 布局静态清单插件
Last-emo-boy Jun 26, 2026
57267c5
test: 放宽 Remill worker 合约测试超时
Last-emo-boy Jun 26, 2026
7f35803
Merge pull request #54 from Last-emo-boy/feat/cpp-abi-layout-inventory
Last-emo-boy Jun 26, 2026
c235158
feat: 添加内核驱动面静态清单插件
Last-emo-boy Jun 26, 2026
ef9f202
test: 稳定重建导出测试清理
Last-emo-boy Jun 26, 2026
854a346
Merge pull request #55 from Last-emo-boy/feat/kernel-driver-surface
Last-emo-boy Jun 26, 2026
e715c88
feat: 添加 UEFI SMM 静态分析插件
Last-emo-boy Jun 26, 2026
0a7f417
test: 稳定重建导出 Windows 测试
Last-emo-boy Jun 26, 2026
057a5d9
feat: 添加 UEFI/SMM 静态分析插件
Last-emo-boy Jun 26, 2026
4a95844
feat: 添加 syscall ABI 静态分析插件
Last-emo-boy Jun 26, 2026
b22bc37
Merge pull request #57 from Last-emo-boy/feat/syscall-abi-surface
Last-emo-boy Jun 26, 2026
9758ad7
feat: 添加 Windows 接口面静态分析插件 (#58)
Last-emo-boy Jun 26, 2026
47687d0
feat: 添加编译器代码生成指纹插件
Last-emo-boy Jun 26, 2026
6d3a984
feat: 添加 TEE Enclave 静态清点插件
Last-emo-boy Jun 26, 2026
5dbc7e0
feat: 添加二进制加固静态清点插件
Last-emo-boy Jun 26, 2026
da6e7e6
test: 放宽 CuLifter worker 合约超时
Last-emo-boy Jun 26, 2026
f7811e6
Merge pull request #61 from Last-emo-boy/feat/binary-hardening-inventory
Last-emo-boy Jun 26, 2026
14f6893
feat: 添加 Rust 二进制静态清点插件
Last-emo-boy Jun 26, 2026
4a36ba9
fix: 限制 Rust legacy 符号解析
Last-emo-boy Jun 26, 2026
19c8014
Merge pull request #62 from Last-emo-boy/feat/rust-binary-inventory
Last-emo-boy Jun 26, 2026
882c57e
fix: 固定 Rikune agent gateway 入口 (#63)
Last-emo-boy Jun 26, 2026
84c6e1b
fix: 优化 artifact 摘要和 selector 排序
Last-emo-boy Jun 26, 2026
2ea3dde
fix: 优化 artifact 摘要和 selector 排序
Last-emo-boy Jun 26, 2026
afb2d33
fix: 修复 gateway 子工具调用和上传地址 (#65)
Last-emo-boy Jun 26, 2026
3ed0e9b
fix: 修复 MCP gateway 描述和非 PE 重建报告
Last-emo-boy Jun 26, 2026
3d8729d
Merge pull request #66 from Last-emo-boy/fix/mcp-gateway-reconstruct-…
Last-emo-boy Jun 26, 2026
42f4d79
fix: 修复 VM 分析入口并统一版本号
Last-emo-boy Jun 27, 2026
ddc7bdd
Merge pull request #67 from Last-emo-boy/fix/vm-analysis-version-alig…
Last-emo-boy Jun 27, 2026
d4b5e20
fix: 优化静态分析体验(搜索瘦身/报告格式/审批参数/重建竞争/dex列类)
Last-emo-boy Jun 29, 2026
13b1532
fix: 进一步压缩 workflow.search 默认响应(去重 + 大列表转计数)
Last-emo-boy Jun 29, 2026
b757106
fix: 修复 binary.role 非 PE 误标与 reconstruct 降级误导
Last-emo-boy Jun 29, 2026
a21fe60
Merge pull request #68 from Last-emo-boy/fix/static-ux-improvements
Last-emo-boy Jun 29, 2026
481d1aa
Merge remote-tracking branch 'origin/main' into release/promote-beta-…
Last-emo-boy Jun 29, 2026
53cb416
chore: bump 版本号到 1.3.0(beta→main 提升)
Last-emo-boy Jun 29, 2026
463de55
chore: 更新非破坏性依赖(eslint/tsx/yaml)
Last-emo-boy Jun 29, 2026
d623f4f
Merge branch 'beta' into release/promote-beta-to-main
Last-emo-boy Jun 29, 2026
92a431f
chore: 升级 GitHub Actions major 版本
Last-emo-boy Jun 29, 2026
933b179
Merge branch 'beta' into release/promote-beta-to-main
Last-emo-boy Jun 29, 2026
a594368
style: 修复 workflow-search.ts prettier 格式(lint 门禁回绿)
Last-emo-boy Jun 29, 2026
ec638d7
Merge branch 'beta' into release/promote-beta-to-main
Last-emo-boy Jun 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v6
Expand Down Expand Up @@ -64,6 +64,10 @@ jobs:
timeout-minutes: 10
continue-on-error: true

- name: Run Node integration smoke tests
run: npm run test:node
timeout-minutes: 15

- name: Generate coverage report
run: >
npm run test:coverage -- --runInBand --forceExit --testPathPatterns="tests/unit/"
Expand Down Expand Up @@ -99,7 +103,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v6
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to Docker Hub
if: github.event_name != 'pull_request' && secrets.DOCKER_USERNAME
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:

- name: Generate artifact attestation
if: github.event_name != 'pull_request'
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v4
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.build.outputs.digest }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v6
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create GitHub release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
generate_release_notes: true
files: "*.tgz"
19 changes: 19 additions & 0 deletions .workflow/.csv-wave/20260520-plan-rikune-iteration/context.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Maestro Execute Session

Session: 20260520-plan-rikune-iteration
Completed at: 2026-05-20T15:09:33.2621209+08:00

## Summary

Implemented all 7 Maestro tasks in 3 waves for Rikune agent reliability.

## Verification

- `npm test -- --runTestsByPath tests/unit/analysis-evidence.test.ts tests/unit/tool-readiness.test.ts tests/unit/tool-help.test.ts tests/unit/tools-discover.test.ts tests/unit/runtime-debug-session.test.ts tests/unit/dynamic-runtime-status.test.ts tests/unit/core/plugin-orchestrator.test.ts tests/unit/plugin-contracts.test.ts tests/unit/report-summarize-compact.test.ts tests/unit/api/dashboard-api.test.ts tests/unit/golden-fixtures.test.ts tests/integration/workflow.test.ts`
- `npm test -- --runTestsByPath tests/unit/report-summarize.test.ts tests/unit/report-generate.test.ts tests/unit/packages/plugin-sdk.test.ts tests/unit/core/plugin-system/builtin-contract.test.ts tests/unit/core/plugin-system/system-deps.test.ts tests/unit/report-summarize-compact.test.ts tests/unit/api/dashboard-api.test.ts`
- `npm run typecheck`
- `python -m pytest workers`

## Results

All 7 tasks completed. See `.summaries/` for per-task notes and `results.csv` for machine-readable status.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{"ts":"2026-05-20T14:30:57.4784434+08:00","worker":"codex-root","type":"existing_pattern","data":{"name":"Staged analysis pipeline","file":"src/workflows/analyze-pipeline.ts","description":"workflow.analyze.start/status/promote manage persisted runs and queued stage work.","usage":"Use as the core golden path for agent-facing analysis."}}
{"ts":"2026-05-20T14:30:57.4784434+08:00","worker":"codex-root","type":"existing_pattern","data":{"name":"Progressive tool surface","file":"src/tools/tools-discover.ts","description":"tools.discover activates plugin categories, findings, file types, or plugin IDs.","usage":"Use as navigation layer for broad plugin set."}}
{"ts":"2026-05-20T14:30:57.4784434+08:00","worker":"codex-root","type":"existing_pattern","data":{"name":"Canonical evidence state","file":"src/analysis/analysis-evidence.ts","description":"Evidence utilities classify fresh, reused, partial, stale, missing, and deferred evidence states.","usage":"Extend for provenance and report visibility."}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
id,title,status,findings,error
"TASK-001","Stabilize the agent golden path workflow","completed","Golden path guidance and evidence state implemented; focused tests pass.",""
"TASK-002","Improve progressive tool discovery and readiness guidance","completed","Role-aware discovery/readiness/help metadata implemented; focused tests pass.",""
"TASK-003","Unify evidence provenance and confidence envelopes","completed","Evidence provenance summaries implemented; focused tests pass.",""
"TASK-004","Model dynamic runtime work as explicit sessions","completed","Runtime session state machine and dynamic execution semantics implemented; focused tests pass.",""
"TASK-005","Add plugin quality gates and readiness contracts","completed","Non-blocking plugin quality warnings implemented; focused tests pass.",""
"TASK-006","Improve report and dashboard consumption of staged results","completed","Compact report/dashboard stage and provenance digest implemented; focused tests pass.",""
"TASK-007","Build a golden sample regression corpus and degraded-environment tests","completed","Safe fixture manifest/docs/tests implemented; worker pytest passes.",""
8 changes: 8 additions & 0 deletions .workflow/.csv-wave/20260520-plan-rikune-iteration/tasks.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
id,title,description,exploration_focus,deps,context_from,wave,status,findings,error
"TASK-001","Stabilize the agent golden path workflow","Golden path workflow guidance and evidence state","workflow.analyze start/status/promote","","","1","completed","Added artifact/report next tools and backend_preview evidence state; workflow integration coverage passes.",""
"TASK-002","Improve progressive tool discovery and readiness guidance","Role-aware tool surface metadata","tools.discover/tool.readiness/tool.help","","","1","completed","Added specialist/expert/runtime_gated roles and preferred primary tool metadata across discovery/readiness/help.",""
"TASK-003","Unify evidence provenance and confidence envelopes","Evidence provenance summary","analysis evidence state","","","1","completed","Added provenance summary to fresh/reused/partial/missing/deferred evidence states with validation paths.",""
"TASK-004","Model dynamic runtime work as explicit sessions","Runtime session lifecycle","runtime debug session and dynamic stages","TASK-001;TASK-003","TASK-001;TASK-003","2","completed","Added explicit runtime debug state machine and dynamic execution_semantics actual_mode fields.",""
"TASK-005","Add plugin quality gates and readiness contracts","Plugin quality diagnostics","plugin SDK/orchestrator/list/dashboard","TASK-002","TASK-002","2","completed","Added non-blocking PluginQualityWarning contract and exposed warning counts/details.",""
"TASK-006","Improve report and dashboard consumption of staged results","Compact staged reporting","report.summarize and dashboard API","TASK-001;TASK-003","TASK-001;TASK-003","2","completed","Added stage_summary and provenance_digest to reports and dashboard run views.",""
"TASK-007","Build a golden sample regression corpus and degraded-environment tests","Safe regression corpus","tests/fixtures, workflow tests, worker tests","TASK-001;TASK-002;TASK-003;TASK-004;TASK-005;TASK-006","TASK-001;TASK-002;TASK-003;TASK-004;TASK-005;TASK-006","3","completed","Added safe golden fixture manifest/docs/test and fixed worker fixture regressions; pytest workers passes.",""
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Plan Generation Summary

Phase: `next-rikune-plugin-sdk-iteration`

Scratch plan directory: `.workflow/scratch/20260521-plan-next-rikune-plugin-sdk-iteration`

Generated artifacts:

- `plan.json`
- `.task/TASK-001.json`
- `.task/TASK-002.json`
- `.task/TASK-003.json`
- `.task/TASK-004.json`
- `.task/TASK-005.json`
- `.task/TASK-006.json`
- `.task/TASK-007.json`

Plan shape:

- Complexity: high
- Task count: 7
- Wave count: 4
- Focus: plugin extension, `@rikune/plugin-sdk`, manifest/runtime contracts, quality gates, developer experience, tests/fixtures, backward compatibility.

Exploration context consumed:

- E1 architecture: SDK public contract, core orchestrator, runtime bridge, progressive tool surface, runtime contract.
- E2 implementation: `definePlugin`, `defineTool`, `defineManifestPlugin`, validation helpers, Zod passthrough schemas, built-in plugin registration patterns, docs/scaffold references.
- E3 integration: shared runtime contract before SDK/API, then discovery/orchestrator/runtime bridge, runtime-node toolkit, user-facing `plugin.list`, `tools.discover`, `tool.readiness`, `tool.help`.
- E4 risks: SDK beta breakage, external plugin import trust boundary, dynamic tools without runtime contracts, Docker/live runtime CI cost, hidden structured-output regressions.

Recommended artifact registration, if the orchestrating process chooses to update state later:

```json
{
"id": "PLN-20260521-next-rikune-plugin-sdk-iteration",
"type": "plan",
"scope": "standalone",
"path": ".workflow/scratch/20260521-plan-next-rikune-plugin-sdk-iteration",
"status": "completed"
}
```

This worker intentionally did not modify `.workflow/state.json`, `.workflow/.maestro/`, source files, formatting output, or `package-lock.json`.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ts":"2026-05-21T23:50:00+08:00","worker":"session","type":"tech_stack","data":{"framework":"TypeScript MCP monorepo","language":"TypeScript","tools":["Jest","ts-jest","turbo","zod","@modelcontextprotocol/sdk"],"packages":["@rikune/plugin-sdk","@rikune/shared","@rikune/runtime-node"]}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
id,title,description,exploration_focus,deps,context_from,wave,status,findings,error
"E1","Architecture Exploration","Explore how the next Rikune plugin expansion and @rikune/plugin-sdk iteration should fit the current architecture. Map plugin manager, SDK package, manifest/runtime contract, runtime-node/shared links, discovery/loading, registry surfaces, and integration boundaries. Read only; do not modify source.","architecture","","","1","completed","Architecture is SDK public contract + core orchestrator + runtime bridge. Key files: packages/plugin-sdk/src/index.ts, src/plugins/sdk.ts, src/core/plugin-system/discovery.ts, src/core/plugin-orchestrator.ts, src/core/plugin-runtime-bridge.ts, src/core/tool-surface-manager.ts, src/tools/plugin-list.ts, src/tools/tools-discover.ts, src/tools/tool-readiness.ts, packages/shared/src/runtime-contract.ts, packages/runtime-node/src/router.ts. Plan should keep definePlugin and manifest-backed tracks compatible, strengthen runtime contract/schema/readiness, and preserve progressive surface behavior.",""
"E2","Implementation Exploration","Explore implementation patterns and 3+ references for built-in plugins, SDK exports, schema usage, runtime declarations, tests, docs, and script tooling. Identify concrete conventions to preserve. Read only; do not modify source.","implementation","","","1","completed","SDK exports Plugin/ToolDefinition/definePlugin/defineTool/defineManifestPlugin/validatePlugin/validateTool helpers; schemas use Zod and passthrough for forward compatibility. Built-ins typically hand-write src/plugins/<id>/index.ts with register(), executionDomain, surfaceRules, systemDeps/resources/configSchema, and tool handlers. Runtime contracts use shared ToolRuntimeContract. Quality references include tests/unit/core/plugin-system/builtin-contract.test.ts, tests/unit/packages/plugin-sdk.test.ts, tests/unit/plugin-contracts.test.ts. Docs/scripts to update: docs/PLUGINS.md, packages/plugin-sdk/README.md, scripts/create-plugin.js.",""
"E3","Integration Exploration","Explore integration points for SDK API/manifest/runtime contract changes: plugin discovery/orchestrator/runtime bridge/tool registry/readiness/help/list/runtime-node/shared/package exports/docs/tests. Identify touched file groups and dependency order. Read only; do not modify source.","integration","","","1","completed","Dependency order should be shared runtime-contract -> plugin-sdk schema/API/exports -> discovery/orchestrator/runtime bridge quality and registration -> runtime-node toolkit manifest/inventory capabilities -> user-facing plugin.list/tools.discover/tool.readiness/tool.help -> docs and create-plugin -> tests/fixtures. New SDK or manifest fields must update structured outputs and keep src/plugins/sdk.ts compatible. Runtime-node capability and analyzer readiness both derive from ToolDefinition.runtime handler/type matching.",""
"E4","Risk Exploration","Explore risks for plugin extension directions, quality gates, developer experience, fixtures, backward compatibility, security/runtime isolation, CI cost, and migration. Identify gates and mitigations. Read only; do not modify source.","risk","","","1","completed","Main risks: breaking SDK beta users, untrusted external plugin import, dynamic tools without runtime contracts, expensive Docker/live runtime validation in default CI, and hidden quality regressions in plugin.list/readiness/discover. Mitigations: optional/passthrough manifest fields, compatibility re-export, qualityWarnings before hard gates, passive readiness, safe synthetic fixtures, focused jest/typecheck gate, explicit live-runtime opt-in, and manifest fixtures for valid/invalid/duplicate/missing handler/systemDeps/runtime cases.",""
"P1","Plan Generation","Consume all exploration findings and produce an executable task/wave plan for the next Rikune iteration focused on plugin extension and @rikune/plugin-sdk. Generate plan.json and .task/TASK-*.json in the scratch directory. Planning only; do not modify source.","planning","E1;E2;E3;E4","E1;E2;E3;E4","2","completed","Generated .workflow/scratch/20260521-plan-next-rikune-plugin-sdk-iteration/plan.json plus 7 TASK files across 4 waves. Plan covers SDK/runtime contract baseline, manifest discovery and quality warnings, runtime readiness propagation, safe fixtures, manifest pilot, DX scaffold/docs, and backward compatibility guard.",""
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
id,title,description,exploration_focus,deps,context_from,wave,status,findings,error
"E1","Architecture Exploration","Explore how the next Rikune plugin expansion and @rikune/plugin-sdk iteration should fit the current architecture. Map plugin manager, SDK package, manifest/runtime contract, runtime-node/shared links, discovery/loading, registry surfaces, and integration boundaries. Read only; do not modify source.","architecture","","","1","completed","Architecture is SDK public contract + core orchestrator + runtime bridge. Key files: packages/plugin-sdk/src/index.ts, src/plugins/sdk.ts, src/core/plugin-system/discovery.ts, src/core/plugin-orchestrator.ts, src/core/plugin-runtime-bridge.ts, src/core/tool-surface-manager.ts, src/tools/plugin-list.ts, src/tools/tools-discover.ts, src/tools/tool-readiness.ts, packages/shared/src/runtime-contract.ts, packages/runtime-node/src/router.ts. Plan should keep definePlugin and manifest-backed tracks compatible, strengthen runtime contract/schema/readiness, and preserve progressive surface behavior.",""
"E2","Implementation Exploration","Explore implementation patterns and 3+ references for built-in plugins, SDK exports, schema usage, runtime declarations, tests, docs, and script tooling. Identify concrete conventions to preserve. Read only; do not modify source.","implementation","","","1","completed","SDK exports Plugin/ToolDefinition/definePlugin/defineTool/defineManifestPlugin/validatePlugin/validateTool helpers; schemas use Zod and passthrough for forward compatibility. Built-ins typically hand-write src/plugins/<id>/index.ts with register(), executionDomain, surfaceRules, systemDeps/resources/configSchema, and tool handlers. Runtime contracts use shared ToolRuntimeContract. Quality references include tests/unit/core/plugin-system/builtin-contract.test.ts, tests/unit/packages/plugin-sdk.test.ts, tests/unit/plugin-contracts.test.ts. Docs/scripts to update: docs/PLUGINS.md, packages/plugin-sdk/README.md, scripts/create-plugin.js.",""
"E3","Integration Exploration","Explore integration points for SDK API/manifest/runtime contract changes: plugin discovery/orchestrator/runtime bridge/tool registry/readiness/help/list/runtime-node/shared/package exports/docs/tests. Identify touched file groups and dependency order. Read only; do not modify source.","integration","","","1","completed","Dependency order should be shared runtime-contract -> plugin-sdk schema/API/exports -> discovery/orchestrator/runtime bridge quality and registration -> runtime-node toolkit manifest/inventory capabilities -> user-facing plugin.list/tools.discover/tool.readiness/tool.help -> docs and create-plugin -> tests/fixtures. New SDK or manifest fields must update structured outputs and keep src/plugins/sdk.ts compatible. Runtime-node capability and analyzer readiness both derive from ToolDefinition.runtime handler/type matching.",""
"E4","Risk Exploration","Explore risks for plugin extension directions, quality gates, developer experience, fixtures, backward compatibility, security/runtime isolation, CI cost, and migration. Identify gates and mitigations. Read only; do not modify source.","risk","","","1","completed","Main risks: breaking SDK beta users, untrusted external plugin import, dynamic tools without runtime contracts, expensive Docker/live runtime validation in default CI, and hidden quality regressions in plugin.list/readiness/discover. Mitigations: optional/passthrough manifest fields, compatibility re-export, qualityWarnings before hard gates, passive readiness, safe synthetic fixtures, focused jest/typecheck gate, explicit live-runtime opt-in, and manifest fixtures for valid/invalid/duplicate/missing handler/systemDeps/runtime cases.",""
"P1","Plan Generation","Consume all exploration findings and produce an executable task/wave plan for the next Rikune iteration focused on plugin extension and @rikune/plugin-sdk. Generate plan.json and .task/TASK-*.json in the scratch directory. Planning only; do not modify source.","planning","E1;E2;E3;E4","E1;E2;E3;E4","2","completed","Generated .workflow/scratch/20260521-plan-next-rikune-plugin-sdk-iteration/plan.json plus 7 TASK files across 4 waves. Plan covers SDK/runtime contract baseline, manifest discovery and quality warnings, runtime readiness propagation, safe fixtures, manifest pilot, DX scaffold/docs, and backward compatibility guard.",""
Loading
Loading