Skip to content

feat(routing): give Jev meaningful task briefs and host catalogs - #48

Merged
GrillerGeek merged 1 commit into
routing/dynamic-contractsfrom
routing/task-catalog
Sep 29, 2026
Merged

GrillerGeek merged 1 commit into
routing/dynamic-contractsfrom
routing/task-catalog

Conversation

@GrillerGeek

Copy link
Copy Markdown
Owner

Jev previously received identical choice descriptions with mostly unknown metrics. Add controlled assignment briefs and distinct, reviewed candidate preferences so different tasks for the same specialist can select different supported model/effort pairs without inventing benchmark scores.

2 of 4; depends on #47. This PR targets routing/dynamic-contracts to show only its own changes. Merge after #47 and retarget to main when appropriate.

  • Pin host-scoped catalog snapshots and compile them against actual worker controls. Claude aliases have documented qualitative starting descriptions; Codex uses the active host's roster.
  • Retain identities, paths and provenance locally. Send bounded task fields and opaque profile labels; reject arbitrary preference/brief text and stale snapshots.
  • Separate hard facts, reviewed priors and complete scoped observations; unknown facts cannot satisfy enforced constraints.
  • Validation: 164 offline tests passed (removed duplicate inherited executions while retaining legacy coverage), both validators passed, generated bundles and whitespace clean. Fake providers verify different same-role choices on all three hosts; no live recommendation-quality claim, model runs or personal activation.

@coldtea-pr-lens

coldtea-pr-lens Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

◈ PR Lens

🟢 +1 new · 🟠 ~7 changed · 🔴 -0 removed · 2 flows · 21 files · commit ca8d873


Architecture

Architecture diagram for GrillerGeek/guildhall at ca8d873

8 components touched across 5 lanes.

Play the interactive walkthrough


Inside the changed components — 2 views

Component view — Task brief evaluation & provider privacy

Evaluates task-level briefs against reviewed priors and dispatches anonymized choice requests to TypeSafe Jev.

Architecture view of Component view — Task brief evaluation & provider privacy in GrillerGeek/guildhall

Component view — Host catalog compilation & packaging

Compiles host-scoped catalogs against active controls offline, packages skill bundles, and validates schema integrity.

Architecture view of Component view — Host catalog compilation & packaging in GrillerGeek/guildhall

Data flow

Data flow diagram for GrillerGeek/guildhall at ca8d873

Task-level dynamic model routing · Offline host catalog compilation

Follow each request, response and payload


The other flows — 1 sequence

Offline host catalog compilation

Sequence diagram of Offline host catalog compilation in GrillerGeek/guildhall

View

  • Architecture lens
  • Data flow lens
  • Expand every detail

Tip

Set github.draw: on-demand in .github/pr-lens.yml and PR Lens stops drawing pull requests on its own. Comment @pr-lens draw on a pull request when you want that one drawn

🪧 More tips
  • Run npx skills add coldteadotai/pr-lens, then tell your coding agent: "Diagram the change you just made with PR Lens and attach it to the pull request."
  • Run npx @coldtea/pr-lens-cli analyze --base origin/main on a branch, then npx @coldtea/pr-lens-cli render .pr-lens/graph.json. Same lenses, your own model key, before the pull request exists
  • Untick Architecture lens or Data flow lens under View to hide a diagram, or tick Expand every detail to open every section. The comment redraws in a few seconds
  • Click the link under each diagram to open it on a canvas you can zoom, pan and step through
  • The diagrams are links. Click one to open it on the canvas, then press W or click play to walk through the change
  • Open a diagram on the canvas, then press W or click play to walk through the change one step at a time
  • The CLI's render reads .github/pr-lens.yml and applies your renames, exclusions and lane pins at draw time
  • Set github.comment.collapsed: true in .github/pr-lens.yml to fold the comment behind one View architecture and data flow row. Drawing still runs as before
  • Add .github/workflows/pr-lens.yml with coldteadotai/pr-lens/packages/action@v0 and your model provider's key as its api-key to run PR Lens from your own CI. Any /chat/completions endpoint works
  • Push a commit and the drawing stays, with a note that it is out of date. Tick Redraw in the note to draw the new head
  • Switch GitHub to dark mode and the diagrams follow. The moving dots are this pull request's data in motion

Thanks for using PR Lens! It's built by Coldtea, free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

@GrillerGeek
GrillerGeek merged commit cf39efd into routing/dynamic-contracts Sep 29, 2026
4 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