Skip to content

feat(claw): Cursor host model route - #13540

Merged
cursor[bot] merged 2 commits into
masterfrom
cursor/cursor-cost-route-e734
Nov 9, 2026
Merged

cursor[bot] merged 2 commits into
masterfrom
cursor/cursor-cost-route-e734

Conversation

@gHashTag

@gHashTag gHashTag commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Pull Request Checklist

  • PR title follows semantic convention: feat(scope): description
  • PR body includes Closes #13536
  • Tests added: t27c test-report specs/claw/cursor_route.t27 — 8 pass, 0 fail, vacuous passes 0 of 8
  • Specs changed → seal refreshed: t27c seal specs/claw/cursor_route.t27 --verify (all hashes MATCH)

Description

Cursor sessions had no model law of their own, so a routine edit could start on Grok 4.7 and Fast could be treated as a default. This adds that law as its own module. Claude Code and T27 OS panes keep specs/claw/model_route.t27. Provider routing keeps specs/claw/cost_policy.t27. Neither file is edited.

A cheap task (parse, test, a small spec edit, screenshots, visual regression, the live work graph, UI kit) starts on composer-2.5 and moves to grok-4.7 after 2 failures. Architecture, a CRM contract, a multi-file refactor, and a repeated failure start on grok-4.7. Fast variants and a window above 256k need an explicit reason. Any other model id is refused as a default.

List prices are the Cursor card dated 2026-11-10, stored as integer micro-USD per 1,000,000 tokens. They are not a measured bill.

Byte equality reuses std::mem::bytes_eq. A local loop matched an existing bytes_equal and grew the duplicate-body ratchet.

Changes

  • specs/claw/cursor_route.t27 — the route, the budgets, the price function, the report check, and the tests
  • .trinity/seals/claw_ClawCursorRoute.json — seal for that spec
  • .claude/skills/model-routing/SKILL.md — pointer: a Cursor session follows the new spec
  • .claude/skills/work-cheap/SKILL.md — one line in the paste prompt
  • AGENTS.md — one pointer next to the existing cost-policy sentence

Testing

./target/debug/t27c test-report --verbose specs/claw/cursor_route.t27
./target/debug/t27c seal specs/claw/cursor_route.t27 --verify
python3 tools/dupe_scan.py --like specs/claw/cursor_route.t27

Negative control on the first commit: a copy with P_GROK_IN set to 1 fails list_price_ratios_are_exact_integers (exit 1).

Documentation

The three pointers name the spec and do not copy the table.

Review Notes

The seal was saved by the debug t27c on this machine. duplicate-bodies is already red on master 6f1164250 for cells_with and k_and, which this diff does not touch. Merge waits for a green run and an explicit owner go-ahead.

Closes #13536

Open in Web Open in Cursor 

A cheap Cursor task starts on composer-2.5. grok-4.7 is the escalation, and the start for architecture, a CRM contract, a multi-file refactor, and a repeated failure. Fast variants and a window above 256k are not defaults.

Closes #13536

Co-authored-by: Dmitrii Vasilev <gHashTag@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-09 19:03:11 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 44
PRs with All Checks Green 6
READY 5
FAILING 44
PENDING 0
NO CHECKS YET 0

These columns do not partition: 5 + 44 + 0 + 0 = 49, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b882be1e4933 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

The local byte loop matched helpers.t27 bytes_equal and grew the duplicate-body ratchet. see #13536

Co-authored-by: Dmitrii Vasilev <gHashTag@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-09 19:07:43 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 45
PRs with All Checks Green 5
READY 5
FAILING 45
PENDING 0
NO CHECKS YET 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b882be1e4933 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@cursor
cursor Bot enabled auto-merge (squash) November 9, 2026 19:50
@cursor
cursor Bot merged commit 9a522e9 into master Nov 9, 2026
31 of 39 checks passed
@cursor
cursor Bot deleted the cursor/cursor-cost-route-e734 branch November 9, 2026 19:51
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.

Cursor host model route: Composer 2.5 default, Grok 4.7 on escalation

2 participants