Route four models and send current-turn images #563

Merged
weichen merged 11 commits from feature/four-model-vision into main 2026-10-15 06:38:24 +00:00
11 Commits
Author SHA1 Message Date
weichen f938b3ca97 Record the vision routing review
ci / svc-realcombo (pull_request) Successful in 1m56s
ci / test (pull_request) Successful in 5m28s
ci / test-pg (pull_request) Successful in 7m38s
Why: the merge candidate needs a reviewer, base, and head before it can be pushed for CI.
Evidence: independent read-only review of 58e4e14 found no correctness or security issues; b79b4d9 has no non-card diff; task-sync changed=0 against ff3a562, receipt ae2c8f553111ec58179197b85971f25073a98bb948437c9a1ff96ea41adebfea.
Impact: task metadata only.
Refs: .task/feature-four-model-vision.md
2026-10-15 06:21:41 +00:00
weichen b79b4d9e12 Record the sync checkpoint
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=ff3a562e50375ed592126c36ed2c76327517688a; before_record=bc917c41973d24e86f1e92bca13b934724fc76ab.

Impact: task metadata only.

Refs: .task/feature-four-model-vision.md
2026-10-15 06:14:28 +00:00
weichen bc917c4197 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=ff3a562e50375ed592126c36ed2c76327517688a.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-15 06:14:05 +00:00
weichen fd1c3c5074 Record the synced vision-routing test
Why: the merge onto current main changed the candidate, so the earlier local test no longer covers this head.
Evidence: SELF make test exit 0; receipt 8225fe2d744ba24554bd9af6d6faf08585e34f89beeb6a6decd97190339a410e; before=58e4e1498bbace37e4937a874430e342e6ff7d27.
Impact: task metadata only.
Refs: .task/feature-four-model-vision.md
2026-10-15 06:08:17 +00:00
weichenandCursor 58e4e1498b Record the sync checkpoint
Why: bind the task validation checkpoint to the integration baseline.
Evidence: SELF make task-sync changed=0; sync_base=692735e91d6a9ab07ddd3686feb60a56b270728a; before_record=196d6f3cfdce9fb05f9cb0525c372ea01ddde66d.
Impact: task metadata only.
Refs: .task/feature-four-model-vision.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 06:00:52 +00:00
weichenandCursor 196d6f3cfd Merge authoritative main into the task branch
Why: include the current integration baseline before verification.
Evidence: fetched origin/main=692735e91d6a9ab07ddd3686feb60a56b270728a.
Impact: integrate upstream changes without rewriting task history.
Refs: task-sync
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 05:55:51 +00:00
weichenandCursor 8e5b44bc2c Seed the four-model setup on later service starts
Why: The dev service is an rdm build, so startup skipped model seeding and kept the old MiniMax chat model. Later starts need the saved env file applied even without an admin key command.

Evidence: seed and rdm launcher tests passed. The live dev database now uses the four-model chat route and keeps the original MiniMax endpoint as reserve.

Impact: Restart of a service with envfile set rewrites system model settings. HTTP seeding is unchanged for builds that can mint an admin key. MiniMax is stored separately because fallbacks cannot switch gateways.

Refs: .task/feature-four-model-vision.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 04:14:22 +00:00
weichenandCursor e568fef5f1 Record the local vision-routing verification
Why: The passing make test receipt and the four-profile image check need to stay on the task card.

Evidence: make test exit 0, SELF receipt 9519445485c2b5883acb1cd0a8e27c62c1d0e6a40a4d5e2686d6f8cf9733415d, tested head f48f344.

Impact: Task metadata only. Review and merge remain unauthorized.

Refs: .task/feature-four-model-vision.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 18:06:44 +00:00
weichenandCursor f48f3440d7 Record the vision package in the architecture baseline
Why: Context assembly, ingest and runtime now depend on the vision package, and the dependency ratchet rejects edges that are not recorded.

Evidence: scripts/lint-boundaries.sh reports architecture ok with 88 edges.

Impact: The three new edges are the allowed image path. No other package gains a dependency.

Refs: .task/feature-four-model-vision.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 18:01:14 +00:00
weichenandCursor 1a5afe219d Point the service at four-model vision routing
Why: Chat, lightweight, fallback and vision settings need a seed path, and the backend now sends current-turn images only to models declared capable of seeing them.

Evidence: The backend change is cfde38d. The seed test covers fallback and vision settings. A local image conversation on each builtin profile returned the pictured content from the expected model, and removing the chat model from the capable list switched that turn to the vision model.

Impact: New runs can use the four builtin profiles and image input. Secrets stay in the ignored env file. The live 8788 process is unchanged.

Refs: .task/feature-four-model-vision.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 17:51:29 +00:00
weichen 221b47e8d6 Record the task card for feature-four-model-vision
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-four-model-vision.md; R0=803a73e5d6621f7b5aac792f81f0fd449bd00be2.

Impact: task metadata only; the feature workspace starts at 803a73e5d6.

Refs: .task/feature-four-model-vision.md
2026-10-14 17:27:26 +00:00