feat(ultrawork): port upstream content improvements, add model variants, fix agent references - #32
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:explore→trinity,librarian→operator,Artistry→Matrix-bendsearch/default.ts:explore→trinity,librarian→operatorulw-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: AddedisGeminiModel(),isGlmModel(),isDeepseekModel(). AddedisNonOmoAgent(). Routing now supports 7 variants: planner > deepseek > mimo > gpt > gemini > glm > default.index.ts: Exports all new variants, routes via switch statement.Test updates
index.test.tsto match restructured section headers.Verification