Commit 49f3613
authored
fix: apply debate findings - context passthrough, canonical redaction, relaxed disagreement (#227)
* fix: remove auto-generated header from adapter files
The `<!-- AUTO-GENERATED ... -->` HTML comment before frontmatter
prevented tools like agnix from parsing YAML frontmatter on line 1.
Removed the header entirely - the adapters/ directory is
self-explanatory. Drops agnix errors from 83 to 8.
* fix: apply debate findings and enhance analysis to consult and debate plugins
Debate skill hardened based on its own first debate's findings:
- Universal evidence standard for both proposer AND challenger
- Proposer prompts now require cited evidence (was challenger-only)
- Challenger follow-up reordered: anti-convergence guard first
- Minimum-disagreement requirement per round added
- Context summarization criteria specified (500-800 tokens)
- Rigor indicator and Debate Quality rating in synthesis output
Consult skill fixes from enhance analysis:
- Gemini section: added missing Session ID extraction line
- Codex: removed invalid -a suggest flag (codex exec doesn't support it)
- Codex: added -c model_reasoning_effort to safe command patterns
- Gemini models: replaced all -preview suffixes with stable names
Also updates README, test strategy doc, and all adapters.
* fix: apply debate findings - context passthrough, canonical redaction, relaxed disagreement
Three fixes from the claude-vs-codex debate findings:
1. --context passthrough from /debate command through orchestrator to
consult skill, so both tools see the same codebase context
2. Canonical redaction: orchestrator references consult agent's full
14-pattern table instead of maintaining a drifted 5-pattern subset
3. Relaxed forced disagreement: challenger can now certify a concern
as genuinely resolved with evidence, not forced to always disagree
* fix: apply debate findings - context passthrough, canonical redaction, relaxed disagreement
Fixes from debate findings + enhance/review analysis:
Debate plugin:
- --model=auto bug: omit --model instead of passing "auto" literally
- --context=file: add follow-up path prompt with validation
- --context added to interactive picker
- Template {round-1} -> {previous_round} for clarity
- Relaxed disagreement: can certify concerns resolved with evidence
Consult plugin:
- Codex model: gpt-5-codex-mini/gpt-5.1-codex-mini -> gpt-5.3-codex-spark
- Redaction table: skill is now canonical source (14 patterns), agent references it
- --continue + --count mutual exclusion in agent
- OpenCode model: claude-opus-4-5 -> claude-opus-4-6
Infrastructure:
- Adapter transform: preserve .claude/ in platform doc enumerations
- New: __tests__/debate-command.test.js (76 tests)
- Updated consult tests for new redaction ownership
* chore: switch exploration-agent and learn-agent from opus to sonnet
New sonnet is faster, cheaper, and close to opus capability. These
agents do pattern matching and synthesis, not deep reasoning:
- exploration-agent: reads code, maps patterns
- learn-agent: web research + guide creation
Keeps opus for: planning, implementation, perf-orchestrator,
debate-orchestrator (judgment-intensive tasks).
* fix: add path containment checks for --context=file in debate command1 parent 9b6f7a0 commit 49f3613
File tree
33 files changed
+1074
-174
lines changed- __tests__
- adapters
- codex/skills
- consult
- debate
- opencode
- agents
- commands
- skills
- consult
- debate
- repo-mapping
- docs
- lib
- plugins
- audit-project/lib
- consult
- agents
- commands
- skills/consult
- debate
- agents
- commands
- lib
- skills/debate
- deslop/lib
- drift-detect/lib
- enhance/lib
- learn
- agents
- lib
- next-task
- agents
- lib
- perf/lib
- repo-map/lib
- ship/lib
- sync-docs/lib
33 files changed
+1074
-174
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
| 186 | + | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
| 329 | + | |
| 330 | + | |
336 | 331 | | |
337 | 332 | | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
345 | 338 | | |
346 | 339 | | |
347 | 340 | | |
| 341 | + | |
348 | 342 | | |
349 | 343 | | |
350 | 344 | | |
| |||
0 commit comments