feat(agent-sdk): resolveContext orchestrator + ticket classification (E1/E5/E6/E4)#34
Merged
officialCodeWork merged 1 commit intoJul 15, 2026
Conversation
…(E1/E5/E6/E4)
New @coderadar/agent-sdk package (TRACKER step 5.1), bundled into ui-lineage:
- classifyTicket(ticket) — rule-based, no LLM (deterministic, G8). Routes to
visual (screenshot) / textual (UI prose) / behavioral ("clicking X does
nothing", E5) / out-of-domain (backend/infra/perf → decline, E6) / unsupported
(video/GIF → decline, E4). Precedence: unsupported → visual → OOD → behavioral
→ textual.
- resolveContext(graph, ticket) — classify, then run the matcher on terms pulled
from the prose (quoted phrases, else capitalized runs); OOD/unsupported get a
structured decline instead of a forced match.
Eval: hand-written ticket suite (eval/tickets/tickets.json, 17 cases across all
entry points); harness reports and gates entry-point accuracy (>=0.90) and OOD
rejection (>=0.95) — both 1.000. CLI `resolve <text>` command; lib re-exports
resolveContext/classifyTicket. 41 core + 9 agent-sdk + 3 vision + 105 parser
tests pass; eval green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Step 5.1 —
resolveContextorchestrator (opens Phase 5)Failure modes E1 / E5 / E6 / E4. New
@coderadar/agent-sdkpackage (bundled intoui-lineage), the agent-facing entry point.classifyTicket(ticket)— rule-based + keyword lexicons, no LLM (deterministic, G8). Routes to:resolveContext(graph, ticket)— classify, then run the matcher on terms pulled from the prose (quoted phrases, else capitalized runs). OOD/unsupported get a structured decline instead of a forced match.Eval
Hand-written ticket suite (
eval/tickets/tickets.json, 17 cases: 5 visual, 4 textual, 3 behavioral, 3 out-of-domain, 2 unsupported). The harness reports and gates entry-point accuracy (≥ 0.90) and OOD rejection (≥ 0.95) — both 1.000.CLI
Verification
41 core + 9 agent-sdk + 3 vision + 105 parser tests pass;
pnpm evalgreen; bundle has no leaked@coderadarimports.🤖 Generated with Claude Code