Skip to content

Supplement commands with autoresearch-inspired patterns - #32

Merged
5uck1ess merged 3 commits into
mainfrom
supplement-commands-from-autoresearch
Apr 7, 2026
Merged

Supplement commands with autoresearch-inspired patterns#32
5uck1ess merged 3 commits into
mainfrom
supplement-commands-from-autoresearch

Conversation

@5uck1ess

@5uck1ess 5uck1ess commented Apr 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • autoloop: Added guard safety-net command (e.g., Guard: npm test) that must pass alongside the metric, plus escalation logic that skips and pivots after 3 failures on the same target
  • tri-debug: Added investigation techniques reference (binary search, differential debugging, 5 Whys, etc.) and domain-specific debugging checklists (API, DB, auth, async, performance)
  • tri-test-gen: Enhanced generation prompt with 6 scenario expansion techniques (what-if, boundary, interruption, ordering, missing data, stale data) with priority ordering
  • deep-research: Added optional adversarial debate cycle (advocate → critic → synthesize → blind judge) for when competing hypotheses are close after disconfirmation

Inspired by patterns in uditgoenka/autoresearch, adapted to fit existing devkit command structure. No new files or commands — all changes supplement existing workflows.

Test plan

  • Run /autoloop with a guard command and verify guard failures trigger revert
  • Run /tri-debug on an API bug and confirm domain checklist is included in agent prompt
  • Run /tri-test-gen and verify scenario expansion techniques appear in generated tests
  • Run /deep-research on a question with close hypotheses and confirm adversarial debate triggers

5uck1ess added 3 commits April 7, 2026 10:39
Add guard commands, investigation techniques, scenario expansion,
and adversarial debate to four existing commands — no new files or
structural changes.

- autoloop: guard safety-net + escalation after repeated failures
- tri-debug: investigation techniques + domain-specific checklists
- tri-test-gen: scenario expansion techniques in generation prompt
- deep-research: adversarial debate cycle for close hypotheses
autoloop:
- Add baseline guard check in Step 2 (fail-fast if invariant broken)
- Add timeout to guard execution (120s default)
- Require guard commands to be side-effect free
- Define escalation trigger concretely (same primary modified file)
- Remove subjective "sacred" wording

deep-research:
- Move adversarial debate after evidence matrix (was Step 7.5, now 8.5)
- Require matrix as input to judge evaluation
- Relax "mutually exclusive" to "competing" hypotheses
- Composites replace parent hypotheses and must be rescored
- Acknowledge blind judge is a heuristic nudge, not true blinding
- Add concrete skip threshold (2+ fewer inconsistencies)

tri-debug:
- Extract domain checklists to commands/references/debug-checklists.md
- Fix contradictory "consensus symptoms" rule to distinguish
  symptom-agreement from full disagreement
- Expand vague auth checklist item

tri-test-gen:
- Move scenario expansion to orchestrator guidance (Step 2.5)
- Only inject applicable techniques per target, not full table
- Add integration-test caveat for interruption/stale-data
- Respect existing repo test conventions over default priority
autoloop:
- Document intentional guard skip on regressions (not a gap)
- Integrate per-file failure counter into Step 7 REGRESSED flow

deep-research:
- Reorder judge criteria: evidence-fit primary, falsifiability tiebreaker

tri-debug:
- Fix cross-reference path to be relative to commands/ directory

tri-test-gen:
- Fix contradictory parenthetical on Step 2.5 injection scope
- Replace phantom "error paths" with "what-if" in priority list

debug-checklists:
- Add sub-heading for performance symptom lookup table
@5uck1ess
5uck1ess merged commit 372a92a into main Apr 7, 2026
3 checks passed
@5uck1ess
5uck1ess deleted the supplement-commands-from-autoresearch branch April 7, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant