Skip to content

feat(skills): TITAN-inspired enhancements for classification, TDD, and planning#191

Merged
dean0x merged 6 commits intomainfrom
feat/titan-inspired-enhancements
Apr 21, 2026
Merged

feat(skills): TITAN-inspired enhancements for classification, TDD, and planning#191
dean0x merged 6 commits intomainfrom
feat/titan-inspired-enhancements

Conversation

@dean0x
Copy link
Copy Markdown
Owner

@dean0x dean0x commented Apr 21, 2026

Summary

  • Classification rules: Add trivial-edit escape hatch — explicit single-site edits (e.g., "rename foo to bar in utils.ts") stay QUICK instead of loading GUIDED skills unnecessarily
  • TDD skill: Add cycle verification checklist, 4 rationalization table rows, red flags table (mid-work detection), test-first vs code-first example, and when-stuck guide (+58 lines)
  • plan:orch: Add Socratic Phase 0.5 requirements discovery with skip criteria, process steps, and escape hatch; add GUIDED step 0 for lightweight discovery
  • plan.md: Harmonize Gate 0 with Socratic questioning style — skip discovery when specific, one question per message, present approaches with tradeoffs

Inspired by competitor TITAN's best prompt engineering techniques (rationalization tables, red flags, one-question-at-a-time discovery, options-with-tradeoffs), adapted to DevFlow's architecture. No new plugins, skills, or agents — content-only changes to 4 existing files.

Test plan

  • npm run build succeeds (73 skill copies distributed across 17 plugins)
  • npm test passes (1059 tests, 46 test files)
  • Only 4 planned files modified — no scope creep
  • Classification rules still contain QUICK, GUIDED, ORCHESTRATED, all 8 intents
  • TDD section order matches spec: Iron Law → Cycle → Verification → Rationalization → Red Flags → Example → When Stuck → Process → Exceptions → Ambient
  • plan:orch and plan.md Gate 0 harmonize (same Socratic pattern, same escape hatch)
  • Architecture diagram and Clarification Gates table updated to "Requirements Discovery"

Dean Sharon added 6 commits April 22, 2026 00:24
…d planning

- Add trivial-edit escape hatch to classification rules (QUICK for explicit single-site edits)
- Expand TDD skill with cycle verification, red flags, rationalization rows, inline example, when-stuck guide
- Add Socratic requirements discovery (Phase 0.5) to plan:orch
- Harmonize /plan Gate 0 with Socratic questioning style
…rch skills

- Promote Cycle Verification to h2 (peer of Rationalization Prevention, not sub-step)
- Align table separator widths in rationalization and red flags tables
- Consolidate GUIDED step 0 to single-line format matching steps 1-3
… Socratic discovery

Let the model ask as many questions as needed via AskUserQuestion without
artificial caps or one-per-message restrictions.
Reinstates changes from a parallel session that were accidentally discarded.
build-hud.js now writes {"type": "module"} to scripts/package.json so Node
treats compiled HUD imports as ESM at ~/.devflow/scripts/. Without this,
installed HUD fails with SyntaxError: Cannot use import statement outside a
module.
scripts/utils/ and scripts/package.json are build outputs needed by the
installed HUD but were missing from the files array in package.json. Without
these, npm installs would fail with SyntaxError (missing ESM declaration) or
broken imports (missing ../utils/ sibling).
@dean0x dean0x merged commit 7e6137d into main Apr 21, 2026
4 checks passed
@dean0x dean0x deleted the feat/titan-inspired-enhancements branch April 21, 2026 22:50
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