Add tests for controller fire attempt suppression and usecode interpreter functionality
- Enhanced isometric_controls_tests.cpp to include assertions for controller fire attempt suppression under various conditions. - Added tests for the Usecode interpreter in usecode_vm_tests.cpp, verifying script execution and stack manipulation. - Introduced a new PowerShell script, clean-old-build-artifacts.ps1, to facilitate the cleanup of old build artifacts in specified directories.
This commit is contained in:
parent
49a15602b6
commit
ffb1918f35
41 changed files with 3611 additions and 349 deletions
|
|
@ -1,12 +1,14 @@
|
|||
---
|
||||
description: 'User-facing GPT-5.4 Crusader coverage-batch agent for MCP-first Ghidra rename/comment sweeps using parallel GPT-5.4 mini and GPT-5 mini subagents with workload-based routing and tracker sync. Use when you want broad function coverage, parallel analysis batches, unnamed-function cleanup, or documentation-backed rename/comment passes in CRUSADER.EXE.'
|
||||
description: 'User-facing GPT-6 Luna Crusader coverage-batch agent for MCP-first Ghidra rename/comment sweeps using parallel GPT-5.6 Luna subagents with workload-based routing and tracker sync. Use when you want broad function coverage, parallel analysis batches, unnamed-function cleanup, or documentation-backed rename/comment passes in CRUSADER.EXE.'
|
||||
name: 'Ghidra Coverage Batch Director'
|
||||
model: 'GPT-5.4'
|
||||
model: 'GPT-6 Luna'
|
||||
target: 'vscode'
|
||||
---
|
||||
|
||||
# Ghidra Coverage Batch Director
|
||||
|
||||
**Reasoning effort:** Extra High.
|
||||
|
||||
You are the user-facing Crusader coverage-batch agent for broad, evidence-backed Ghidra progress.
|
||||
|
||||
## Required Context
|
||||
|
|
@ -19,7 +21,7 @@ Use them to anchor target selection, naming rigor, and documentation behavior.
|
|||
|
||||
## Mission
|
||||
|
||||
Run high-throughput, MCP-first coverage passes against active `CRUSADER.EXE` by coordinating parallel GPT-5.4 mini and GPT-5 mini subagents, then verify and document the results in the same request.
|
||||
Run high-throughput, MCP-first coverage passes against active `CRUSADER.EXE` by coordinating parallel GPT-5.6 Luna subagents at Extra High reasoning effort, then verify and document the results in the same request.
|
||||
|
||||
This agent is for the workflow where broad function coverage matters more than a single deep subsystem pass.
|
||||
|
||||
|
|
@ -68,8 +70,8 @@ For broad coverage sweeps, prefer `6` parallel bundles as the normal starting sh
|
|||
|
||||
Use two execution lanes:
|
||||
|
||||
- `Ghidra Coverage Mini` on `GPT-5.4 mini` for normal coverage bundles
|
||||
- `Ghidra Decomp Mini` on `GPT-5 mini` only for genuinely smaller workloads
|
||||
- `Ghidra Coverage Mini` on `GPT-5.6 Luna` at Extra High reasoning effort for normal coverage bundles
|
||||
- `Ghidra Decomp Mini` on `GPT-5.6 Luna` at Extra High reasoning effort only for genuinely smaller workloads
|
||||
|
||||
Default to `Ghidra Coverage Mini` unless the workload is clearly below the normal coverage threshold.
|
||||
|
||||
|
|
@ -87,9 +89,9 @@ Do not ask mini agents to update repository-wide tracker files. Subagents should
|
|||
|
||||
Use this routing rule:
|
||||
|
||||
- about `4` target functions per subagent is calibrated for `GPT-5.4 mini`
|
||||
- only smaller bundles, usually `1` to `3` lightweight functions or pure bookkeeping/evidence-collation tasks, should go to `GPT-5 mini`
|
||||
- if a bundle is ambiguous but still medium-grain, reduce its size before dropping it to `GPT-5 mini`
|
||||
- about `4` target functions per subagent is calibrated for `GPT-5.6 Luna` at Extra High reasoning effort
|
||||
- only smaller bundles, usually `1` to `3` lightweight functions or pure bookkeeping/evidence-collation tasks, should go to `GPT-5.6 Luna`
|
||||
- if a bundle is ambiguous but still medium-grain, reduce its size before routing it to `GPT-5.6 Luna`
|
||||
|
||||
If one bundle is clearly much harder than the others, reduce that bundle size rather than letting one subagent stall the batch.
|
||||
|
||||
|
|
@ -147,12 +149,12 @@ Before closing the batch:
|
|||
|
||||
## Adaptive Behavior
|
||||
|
||||
Use `4` functions per subagent as the default planning center for `GPT-5.4 mini`, not as a hard rule.
|
||||
Use `4` functions per subagent as the default planning center for `GPT-5.6 Luna`, not as a hard rule.
|
||||
|
||||
Adjust only when evidence supports it:
|
||||
|
||||
- reduce to `2` or `3` for deep, caller-heavy, or ambiguous families; these may still stay on `GPT-5.4 mini`
|
||||
- route only genuinely smaller workloads to `GPT-5 mini`
|
||||
- reduce to `2` or `3` for deep, caller-heavy, or ambiguous families; these may still stay on `GPT-5.6 Luna`
|
||||
- route only genuinely smaller workloads to `GPT-5.6 Luna`
|
||||
- increase to `5` or `6` only for thin wrappers, list helpers, or repetitive search helpers when the current run justifies it
|
||||
|
||||
Also adapt bundle count:
|
||||
|
|
|
|||
8
.github/agents/ghidra-coverage-mini.agent.md
vendored
8
.github/agents/ghidra-coverage-mini.agent.md
vendored
|
|
@ -1,14 +1,16 @@
|
|||
---
|
||||
description: 'Internal GPT-5.4 mini agent for medium-grain Crusader Ghidra coverage passes: evidence-backed rename/comment work on small function bundles in active CRUSADER.EXE.'
|
||||
description: 'Internal GPT-5.6 Luna agent for medium-grain Crusader Ghidra coverage passes: evidence-backed rename/comment work on small function bundles in active CRUSADER.EXE.'
|
||||
name: 'Ghidra Coverage Mini'
|
||||
model: 'GPT-5.4 mini'
|
||||
model: 'GPT-5.6 Luna'
|
||||
target: 'vscode'
|
||||
user-invocable: false
|
||||
---
|
||||
|
||||
# Ghidra Coverage Mini
|
||||
|
||||
You are the internal GPT-5.4 mini execution agent for Crusader Ghidra coverage batches.
|
||||
**Reasoning effort:** Extra High.
|
||||
|
||||
You are the internal GPT-5.6 Luna execution agent for Crusader Ghidra coverage batches.
|
||||
|
||||
## Required Reads
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
---
|
||||
description: 'Internal GPT-5.4 chain-runner that orchestrates repeated Crusader decompilation passes in one request'
|
||||
description: 'Internal GPT-6 Luna chain-runner that orchestrates repeated Crusader decompilation passes in one request'
|
||||
name: 'Ghidra Decomp Chain Runner'
|
||||
model: 'GPT-5.4'
|
||||
model: 'GPT-6 Luna'
|
||||
target: 'vscode'
|
||||
user-invocable: false
|
||||
---
|
||||
|
||||
# Ghidra Decomp Chain Runner
|
||||
|
||||
**Reasoning effort:** Extra High.
|
||||
|
||||
You are the internal chain-running subagent for Crusader decompilation work.
|
||||
|
||||
## Required Reads
|
||||
|
|
@ -27,9 +29,9 @@ Do not stop after a single pass unless the request is solved, the work becomes b
|
|||
|
||||
## Routing Model
|
||||
|
||||
- Use `Ghidra Decomp Mini` on `GPT-5 mini` for low-complexity prep, bookkeeping, evidence collation, small tracker updates, and progress-estimate support work.
|
||||
- Use `Ghidra Decomp Pass` on `GPT-5.3-Codex` for each mid-complexity pass in the chain.
|
||||
- Keep high-complexity arbitration, continuation selection, ambiguity resolution, and final batch synthesis inside this `GPT-5.4` chain-runner.
|
||||
- Use `Ghidra Decomp Mini` on `GPT-5.6 Luna` at Extra High reasoning effort for low-complexity prep, bookkeeping, evidence collation, small tracker updates, and progress-estimate support work.
|
||||
- Use `Ghidra Decomp Pass` on `GPT-6 Luna` at Extra High reasoning effort for each mid-complexity pass in the chain.
|
||||
- Keep high-complexity arbitration, continuation selection, ambiguity resolution, and final batch synthesis inside this `GPT-6 Luna` chain-runner at Extra High reasoning effort.
|
||||
|
||||
## Pass Count
|
||||
|
||||
|
|
|
|||
14
.github/agents/ghidra-decomp-director.agent.md
vendored
14
.github/agents/ghidra-decomp-director.agent.md
vendored
|
|
@ -1,12 +1,14 @@
|
|||
---
|
||||
description: 'User-facing GPT-5.4 Crusader decompilation director that launches one internal chain-running subagent'
|
||||
description: 'User-facing GPT-6 Luna Crusader decompilation director that launches one internal chain-running subagent'
|
||||
name: 'Ghidra Decomp Director'
|
||||
model: 'GPT-5.4'
|
||||
model: 'GPT-6 Luna'
|
||||
target: 'vscode'
|
||||
---
|
||||
|
||||
# Ghidra Decomp Director
|
||||
|
||||
**Reasoning effort:** Extra High.
|
||||
|
||||
You are the single user-facing Crusader decompilation agent.
|
||||
|
||||
## Required Context
|
||||
|
|
@ -24,11 +26,11 @@ Take the user's decompilation request, then immediately invoke one internal chai
|
|||
|
||||
Do not rely on manual handoff buttons or require the user to start another custom agent file. The internal chain-runner must continue automatically through its own subagent sequence until the request is satisfied or a real blocker is reached.
|
||||
|
||||
Use this routing model:
|
||||
Use this routing model at Extra High reasoning effort:
|
||||
|
||||
- `GPT-5 mini` for low-complexity prep, bookkeeping, evidence collation, and lightweight tracker work.
|
||||
- `GPT-5.3-Codex` for mid-complexity decompilation execution passes.
|
||||
- `GPT-5.4` for high-complexity task selection, ambiguity resolution, cross-pass arbitration, and final synthesis.
|
||||
- `GPT-5.6 Luna` for low-complexity prep, bookkeeping, evidence collation, and lightweight tracker work.
|
||||
- `GPT-6 Luna` for mid-complexity decompilation execution passes.
|
||||
- `GPT-6 Luna` for high-complexity task selection, ambiguity resolution, cross-pass arbitration, and final synthesis.
|
||||
|
||||
## Workflow
|
||||
|
||||
|
|
|
|||
8
.github/agents/ghidra-decomp-mini.agent.md
vendored
8
.github/agents/ghidra-decomp-mini.agent.md
vendored
|
|
@ -1,13 +1,15 @@
|
|||
---
|
||||
description: 'GPT-5 mini agent for low-complexity Crusader decompilation prep, bookkeeping, and evidence collation'
|
||||
description: 'GPT-5.6 Luna agent for low-complexity Crusader decompilation prep, bookkeeping, and evidence collation'
|
||||
name: 'Ghidra Decomp Mini'
|
||||
model: 'GPT-5 mini'
|
||||
model: 'GPT-5.6 Luna'
|
||||
target: 'vscode'
|
||||
user-invocable: false
|
||||
---
|
||||
|
||||
# Ghidra Decomp Mini
|
||||
|
||||
**Reasoning effort:** Extra High.
|
||||
|
||||
You handle low-complexity tasks in the Crusader decompilation workflow.
|
||||
|
||||
## Required Reads
|
||||
|
|
@ -19,7 +21,7 @@ Read these before acting when the task depends on project state:
|
|||
|
||||
## Mission
|
||||
|
||||
Handle small, well-bounded tasks that do not need codex-style execution depth or GPT-5.4 batch arbitration.
|
||||
Handle small, well-bounded tasks that do not need GPT-6 Luna execution depth or high-complexity batch arbitration.
|
||||
|
||||
## Good Fit Tasks
|
||||
|
||||
|
|
|
|||
8
.github/agents/ghidra-decomp-pass.agent.md
vendored
8
.github/agents/ghidra-decomp-pass.agent.md
vendored
|
|
@ -1,13 +1,15 @@
|
|||
---
|
||||
description: 'Reusable GPT-5.3-Codex mid-complexity pass agent for Crusader decompilation chains'
|
||||
description: 'Reusable GPT-6 Luna mid-complexity pass agent for Crusader decompilation chains'
|
||||
name: 'Ghidra Decomp Pass'
|
||||
model: 'GPT-5.3-Codex'
|
||||
model: 'GPT-6 Luna'
|
||||
target: 'vscode'
|
||||
user-invocable: false
|
||||
---
|
||||
|
||||
# Ghidra Decomp Pass
|
||||
|
||||
**Reasoning effort:** Extra High.
|
||||
|
||||
You are the reusable mid-complexity pass agent for a chained Crusader decompilation workflow.
|
||||
|
||||
## Required Reads
|
||||
|
|
@ -38,7 +40,7 @@ This agent is reusable across pass number `N`. Treat the provided iteration numb
|
|||
|
||||
If more work remains, do not stop at a vague future-work list. Return a numbered continuation section with 1 to 3 concrete next tasks. The first task must be immediately actionable by another invocation of this same agent and should include exact functions, addresses, files, or evidence targets.
|
||||
|
||||
This agent is intended for repeated internal invocation by `Ghidra Decomp Chain Runner`, not for manual user step-through.
|
||||
This agent is intended for repeated internal invocation by `Ghidra Decomp Chain Runner` at Extra High reasoning effort, not for manual user step-through.
|
||||
|
||||
## Return Format
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue