Commit Graph
65 Commits
Author SHA1 Message Date
Harry ef79ff6616 fix(ida-reverse): recover stalled Streamable HTTP supervisor
Patch idalib_supervisor onto ThreadingHTTPServer and accept GET /mcp.
Replace a managed supervisor only if tools/list stays dead >180s.
Add recover.ps1 as an immediate -Force path. Never taskkill /T or ida.exe.
2026-08-27 16:03:27 +08:00
Edisonandmaxwang 914f74ad7d fix(workflow): align consolidate-evidence Finding fields (#114) (#117)
* feat(workflow): add consolidate-evidence scripts and support superseded status

* fix(workflow): align consolidate-evidence Finding fields (#114)

Emit the same review_case contract from both Python and PowerShell:
confidence, location, evidence_ids. Drop the ps1-only evidence_refs field.
Add a small alignment regression. Do not close #62.

---------

Co-authored-by: maxwang <wang.yuchi.312@gmail.com>
2026-08-24 14:17:38 +08:00
MaxandManus AI 66cd74c997 test(ci): add dedicated bash workflow tests to CI (#116)
Co-authored-by: Manus AI <bot@manus.im>
2026-08-23 23:16:52 +08:00
Edisonandjhuang-tw 41bd788c34 fix(workflow): carry transition decisions by delta (#113)
Co-authored-by: jhuang-tw <alr51307@gmail.com>
2026-08-22 14:10:08 +08:00
Edisonandkriptoburak 98fcf243c9 feat(threat-intel): public-source IOC route as R44 (#103 rebase) (#112)
* feat: add public-source threat intelligence

* fix(routing): assign threat-intel to R44, not ADF R42

Keep analysis-decision-framework R42 as experimental YARA.
Public-source IOC / OSINT route is R44. Restore 5 benchmark cases.

---------

Co-authored-by: kriptoburak <kriptoburak@users.noreply.github.com>
2026-08-22 13:58:56 +08:00
Max 38257767b8 fix(scripts): harden argument handling and test assertions (#106) 2026-08-22 12:49:50 +08:00
Max da78e74059 fix(scripts): harden argument quoting and CI log output (#107) 2026-08-22 12:44:39 +08:00
N3thunt3r69 968caa39a0 fix(ci): add UTF-8 BOM to non-ASCII .ps1 scripts (#100) 2026-08-22 09:11:01 +08:00
Zhao a3bdfffcf2 test(smoke): execute and extend Codex UTF-8 regression 2026-08-20 12:19:31 +08:00
Zhao e1b6504ff3 fix(bootstrap): preserve UTF-8 Codex config encoding
Fixes #98.
2026-08-20 11:54:49 +08:00
jhuang-tw 75a64e7d62 fix(test): make bootstrap manifest regression hermetic 2026-08-19 15:57:21 +08:00
zhaoxuya520 a9ed8d04ad Merge pull request #93 from jhuang-tw/fix/client-neutral-bootstrap-capability
fix: make MCP bootstrap client-neutral by default

Owner integration: preserve all prior CI contracts, document explicit host selection on Windows, and make the Bash manifest regression UTF-8 deterministic.
2026-08-19 11:58:54 +08:00
zhaoxuya520 e49eaa7252 Merge pull request #92 from jhuang-tw/fix/cross-platform-case-contract
fix: make case setup consistent across Windows, Linux, and macOS

Owner integration: preserve routing.json SSoT, keep reports optional by default, and require offline samples to resolve to real local files.
2026-08-19 11:46:55 +08:00
zhaoxuya520 63a42f2be8 Merge pull request #91 from dex0shubham/fix/utf8-bom-ps51
fix(scripts): require UTF-8 BOM for non-ASCII PowerShell 5.1 scripts
2026-08-19 11:33:49 +08:00
zhaoxuya520 a50eead89a Merge pull request #90 from kin9-0rz/main
fix(scripts): unify PowerShell child host resolution and add r2 fallbacks
2026-08-19 11:33:07 +08:00
Harry 0a4019d56f fix(router): clamp hot path to routing.json and real auth gate
Keep reverse-skill a skill router, not a platform. RULES hot path is master-route then case-init then PRIMARY. MASTER-ROUTING priority is verified against routing.json. precedent-auth no longer grants. CTF is one R41 pointer, not 40 competition routes. open.ps1 never deletes .i64/.idb. Route-scope parse is line-anchored and last-match. Tests: 168 routing cases, parse-contracts, title-safety in CI.
2026-08-18 14:58:22 +01:00
Harry 79d74db3d3 feat(ida-reverse): keep-alive supervisor and ida-pro-mcp 2.x open
Reuse a healthy HTTP MCP, launch idalib_supervisor via windowless Python, and never taskkill ida.exe. Treat a listening 13337 with tools/list timeout as busy so the 1-minute watchdog cannot kill a supervisor mid-idb_open. open.ps1 uses idb_open/idb_list. Add watchdog, autostart, GUI launcher, and ToolDiscovery catalog entries.
2026-08-18 14:25:41 +01:00
jhuang-tw 2b1e33f92d refactor: keep Bash bootstrap diff focused on host neutrality 2026-08-18 00:24:32 -07:00
jhuang-tw a0e90bf478 docs: make generated tool-index wording client-neutral 2026-08-18 00:19:39 -07:00
jhuang-tw 7ec19e120d test: keep platform runtime paths in Bash fixture 2026-08-18 00:16:37 -07:00
jhuang-tw 836283a3b0 test: cover client-neutral PowerShell bootstrap and discovery 2026-08-18 00:13:41 -07:00
jhuang-tw 3739296ed1 test: cover client-neutral Bash bootstrap and discovery 2026-08-18 00:13:25 -07:00
jhuang-tw 0dca729691 fix: make Bash capability discovery client-neutral 2026-08-18 00:12:29 -07:00
jhuang-tw 919908885a fix: make Bash MCP host registration explicit 2026-08-18 00:11:19 -07:00
jhuang-tw c21cb7b5f1 fix: make MCP host registration opt-in on PowerShell 2026-08-18 00:09:15 -07:00
jhuang-tw 33015cc3f4 fix: separate MCP capability readiness from npx presence 2026-08-18 00:07:18 -07:00
jhuang-tw 0f39e89cea test(p0): assert Force cannot bypass scope gate 2026-08-17 23:39:19 -07:00
jhuang-tw e29bba4b6b fix(p0): align powershell offline sample case readiness 2026-08-17 23:35:27 -07:00
jhuang-tw fb1124daf9 fix(p0): write bash cases under caller project root 2026-08-17 23:34:35 -07:00
jhuang-tw d2445dc616 fix(p0): keep scope hard gates non-bypassable on powershell 2026-08-17 23:33:49 -07:00
jhuang-tw 0c83d1d69d fix(p0): keep scope hard gates non-bypassable on bash 2026-08-17 23:33:28 -07:00
dex0shubham d57d5ddb2b fix(scripts): add UTF-8 BOM so non-ASCII .ps1 survive Windows PowerShell 5.1
PS 5.1 parses a BOM-less .ps1 as the system ANSI codepage, garbling the
Chinese / em-dash string literals in five scripts. verify-doc-facts.ps1
failed four checks under 5.1 (CI only ran it under pwsh). Add a BOM to the
five files and a CI guard that fails any non-ASCII .ps1 lacking one.
2026-08-17 14:03:38 +01:00
kin9-0rz 0bc4ec960d fix(scripts): 统一 PowerShell 子进程入口并修复 r2 工具索引 fallback
- 新增 lib/HostRuntime.ps1 的 Resolve-ReverseHostExe,子进程调用统一经当前进程优先解析(pwsh→powershell→系统兜底),替代 verify/case-init/test-routing/test-p0-friction 中硬编码的 & powershell / Start-Process powershell.exe,修复仅装 PowerShell 7+ 环境下子进程调用失败
- ToolDiscovery.ps1 的 r2 Fallbacks 补充 r2.bat 与 radare2.exe 路径,修复 radare2 Windows 发行版(无 r2.exe)下 tool-index 误报 no
- verify-routing-coherence.ps1 的 pin gate 改用 hashtable 索引访问 capabilities 可选属性,修复 Set-StrictMode -Latest 下访问不存在属性抛错(此前被 powershell 硬编码失败掩盖)
- 回写 field-journal 并同步 _index.md
2026-08-17 14:20:38 +08:00
yhc e489f9ad6a fix(verify): run #77 anchors before fail gate; strip BEL in links
Move ADF/BSC assertions out of Write-Host string so they update $fail.
Use Ok/Bad + Test-Path/Get-Content (no phantom Assert-File*).
Assert re-agent-workflow hooks blindspot cookbook.
Remove ASCII BEL from ADF/workflow markdown link labels.
2026-08-15 08:58:36 +08:00
yhc 038e69fd5b feat(ops): blindspot cookbook R52-R81 (#77 batch 2)
Add analysis-blindspot-cookbook for language/obfuscation/behavior/format/
agent-meta recipes. Detection-oriented; no bypass tutorials. Hook ADF §5,
re-agent-workflow, verify anchors. Not a third master workflow.
2026-08-14 21:09:20 +08:00
yhc ec61a6f951 feat(ops): analysis decision framework R1-R51 (#77)
Add analysis-decision-framework cookbook (P0 full / P1 short / P2 index).
R4* validated sufficiency (compatible >=1 bind). Thin hooks in evidence-
finding-path, re-agent-workflow Synthesis, RULES(+zh), verify anchors.
Not a second master workflow; keep #65 gates and A-T/U-AV superior.
2026-08-14 20:26:03 +08:00
Edison 2c95829db5 Merge pull request #76 from atirna/agent/reverse-skill-impactful-audit
fix(bootstrap): 强制使用清单中的固定来源
2026-08-14 19:56:25 +08:00
Atirna 7ea6d50732 test(bootstrap): reset expected child exit status 2026-08-14 12:46:50 +05:30
Atirna 49a5d285aa test(bootstrap): complete git checkout fixture 2026-08-14 12:42:03 +05:30
Atirna 41ee697f54 fix(bootstrap): fail closed on verified checkouts 2026-08-14 12:36:31 +05:30
deku 23824b0f2d fix(radare2): index radare2-skills tools 2026-08-14 13:44:34 +08:00
ZhaoXu ee9217b8af fix(bootstrap): preserve native command exit codes 2026-08-14 01:45:40 +08:00
Atirna 0bcde46f50 fix(bootstrap): stub nohup so Linux CI records pnpm dev
The anything-analyzer start path backgrounds `nohup pnpm dev`. On Ubuntu CI
that never invoked the pnpm stub, so the source-pin regression missed the
argv. Intercept nohup like sudo, and fall back to a plain background when
nohup is absent.
2026-08-13 19:23:29 +05:30
Atirna 5e818abbbd fix(bootstrap): stub Linux apt in the PATH-stripped parser test
After Kali detection stopped using grep, Ubuntu CI reached python install
and called apt-get, which the macOS-oriented fixture never stubbed. Detect
Kali with builtins only, and accept brew or apt-get as the python sink.
2026-08-13 19:20:22 +05:30
Atirna fb311078f9 fix(bootstrap): run under a grep-free PATH
is_kali called grep on every Linux run, so the PATH-stripped parser-bootstrap
regression aborted before the pin gate. Detect Kali from os-release with tr,
and write Unix stubs as LF/UTF-8 so Linux pwsh can execute them.
2026-08-13 19:16:16 +05:30
jhuang-tw d23dbf9c85 test(router): cover Bash default project root 2026-08-13 01:24:13 -07:00
jhuang-tw 9d33e2c5e7 fix(router): keep Bash route artifacts in caller project 2026-08-13 01:23:53 -07:00
Atirna 87e00b80db fix(bootstrap): fail closed before manifest installs 2026-08-13 03:22:32 +05:30
Atirna 1d929bf5db fix(bootstrap): harden pinned checkout promotion 2026-08-13 03:00:49 +05:30
Atirna e8faca63ed fix(bootstrap): enforce manifest-pinned sources 2026-08-13 02:30:36 +05:30