Skip to content

feat(ultrawork): port upstream content improvements, add model variants, fix agent references - #32

Merged
klpanagi merged 2 commits into
devfrom
feat/ultrawork_v2
Jul 28, 2026
Merged

feat(ultrawork): port upstream content improvements, add model variants, fix agent references#32
klpanagi merged 2 commits into
devfrom
feat/ultrawork_v2

Conversation

@klpanagi

Copy link
Copy Markdown
Owner

Summary

Ported the latest ultrawork improvements from upstream (oh-my-openagent) and added model-specific ultrawork variants. Also replaced all remaining oh-my-openagent agent references with proper Matrixx agent names.

Changes

Agent reference fixes (oh-my-openagent → Matrixx)

  • analyze/default.ts: exploretrinity, librarianoperator, ArtistryMatrix-bend
  • search/default.ts: exploretrinity, librarianoperator
  • ulw-research.ts: subagent_type="explore"subagent_type="trinity" (3 occurrences)

New model variants (4 new files)

  • deepseek.ts (164 lines) — Ultrawork optimized for DeepSeek V4 Flash. Leverages XML-style tags, thinking mode awareness, reasoning_content preservation rules.
  • gemini.ts (342 lines) — Ultrawork optimized for Gemini models. Includes intent classification gate, tool call mandate, anti-optimism checkpoint.
  • glm.ts (219 lines) — Ultrawork optimized for GLM models. Includes calibration, verbosity constraints, scope constraints.
  • mimo.ts (116 lines) — Ultrawork optimized for MiMo-V2.5 (Xiaomi). Extra concise, <think> boundary, direct literal instruction style.

Content upgrades

  • default.ts: Upgraded with upstream content — Survey Skills, Goal Registration (BINDING), Scenario Contract (happy/edge/regression), Durable Notepad, TDD Workflow (RED→GREEN→SURFACE→REFACTOR→REGRESSION), Commit Discipline, Evidence Gates, Verification Anti-Patterns, Reviewer Gate.
  • gpt5.2.ts: Upgraded with upstream content — Durable Notepad, Goal Registration, Scenario Contract, TDD, Manual QA Mandate, Reviewer Gate, Stop Rules.

Routing infrastructure

  • source-detector.ts: Added isGeminiModel(), isGlmModel(), isDeepseekModel(). Added isNonOmoAgent(). Routing now supports 7 variants: planner > deepseek > mimo > gpt > gemini > glm > default.
  • index.ts: Exports all new variants, routes via switch statement.

Test updates

  • Updated assertion strings in index.test.ts to match restructured section headers.

Verification

  • TypeScript typecheck: ✅
  • Lint clean on modified files: ✅
  • Keyword-detector tests: 29/29 pass

klpanagi added 2 commits July 28, 2026 08:37
…ts, fix agent references

- Replace oh-my-openagent agent references with matrixx equivalents
  (explore->trinity, librarian->operator, artistry->matrix-bend)
- Add Gemini and GLM ultrawork message variants (gemini.ts, glm.ts)
- Add DeepSeek V4 Flash ultrawork variant (deepseek.ts)
- Add Mimo v2.5 ultrawork variant (mimo.ts)
- Update source-detector with routing for all 6 model variants
  (planner > deepseek > mimo > gpt > gemini > glm > default)
- Upgrade default.ts with upstream content: Survey Skills, Goal Registration,
  Scenario Contract, Durable Notepad, TDD Workflow, Commit Discipline,
  Evidence Gates, Verification Anti-Patterns, Reviewer Gate
- Upgrade gpt5.2.ts with upstream content: Durable Notepad, Goal Registration,
  Scenario Contract, TDD, Manual QA Mandate, Reviewer Gate, Stop Rules
- Update ulw-research.ts: fix subagent_type='explore' -> 'trinity'
- Update analyze/search default.ts: fix agent references
…unit tests

- Add 4 variant injection tests (deepseek, mimo, gemini, glm) to keyword-detector
- Add new source-detector.test.ts with 28 unit tests covering:
  isDeepseekModel, isGeminiModel, isGlmModel, isNonOmoAgent,
  isPlannerAgent, getUltraworkSource routing priority
@klpanagi
klpanagi merged commit b702bec into dev Jul 28, 2026
6 checks passed
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