chore(web): SP-1 · canonicalize code-sample wire strings to ainfera-inference (AIN-271b)#64
chore(web): SP-1 · canonicalize code-sample wire strings to ainfera-inference (AIN-271b)#64hizrianraz wants to merge 1 commit into
Conversation
…nference (AIN-271b) Wire-string token sweep on contract surfaces: - apps/marketing/components/v15/HomeHeroCode.tsx — hero code sample - apps/marketing/app/quickstart/page.tsx — landing copy + curl - apps/marketing/app/docs/[[...slug]]/page.tsx — Python/cURL examples - apps/marketing/app/skill.md/route.ts — agent-discoverable skill doc - apps/marketing/app/skill/page.tsx — HTML rendering of /skill - apps/marketing/app/routing/page.tsx — routing-page code sample - apps/dashboard/app/(tenant)/agents/new/page.tsx — default model in the agent-creation form - apps/dashboard/app/(tenant)/models/page.tsx — models list label - apps/dashboard/app/api/agents/new/route.ts — API default Scope is strictly the wire-string TOKEN inside code blocks and form values, NOT marketing narrative/positioning copy or nav labels. The narrative re-frame (Routing/Mithril → Ainfera Inference at the positioning level) is the founder/Varda public-copy step, listed in FOUNDER ACTION REQUIRED. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
…g samples to ainfera-inference Reconciles PR #63 (chore/ain-243-dashboard-slash-fix) with SP-1 (AIN-271b) so the purge sweep does NOT ship `ainfera-mithril` as the new dashboard default. Replaces the dead wire strings with the SP-1 canonical `ainfera-inference` across the dashboard policy form + marketing code samples — matching the parallel `chore/sp1-inference-rename` branch (PR #64). Founder merge order: this PR (#63) can merge first OR after SP-1 web (#64) — both end states converge on the canonical string. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…mithril §Dashboard reconcile) (#63) * chore(web): AIN-243 · flip dashboard slash-as-value to hyphen wire (PARITY_mithril §Dashboard) Per Naming Canon §5a + mithril-routing-target-lock memory: slash-as-value `ainfera/mithril` and `ainfera/auto` are retired; hyphen `ainfera-mithril` is the canonical wire value; `ainfera-auto` remains a silent alias resolved at the router boundary so legacy callers keep working. PARITY_mithril.md claimed this was DONE for `apps/dashboard` but the slash-as-value still shipped on main: - `apps/dashboard/app/(tenant)/agents/new/page.tsx`: form default `useState("ainfera/auto")` → `useState("ainfera-mithril")`; select shows `ainfera-mithril` (default) + `ainfera-auto (legacy alias)` for back-compat with existing-agent UX; hint copy updated. - `apps/dashboard/app/(tenant)/models/page.tsx`: Default-policy KPI value `ainfera/auto` → `ainfera-mithril`. - `apps/dashboard/app/api/agents/new/route.ts`: backend fallback `body.policy ?? "ainfera/auto"` → `?? "ainfera-mithril"`. This delivers the founder-tap item #3 from PURGE_LOG.md (post-PR-#60 web dashboard slash-as-value). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * chore(web): SP-1 reconcile · canonicalize dashboard policy + marketing samples to ainfera-inference Reconciles PR #63 (chore/ain-243-dashboard-slash-fix) with SP-1 (AIN-271b) so the purge sweep does NOT ship `ainfera-mithril` as the new dashboard default. Replaces the dead wire strings with the SP-1 canonical `ainfera-inference` across the dashboard policy form + marketing code samples — matching the parallel `chore/sp1-inference-rename` branch (PR #64). Founder merge order: this PR (#63) can merge first OR after SP-1 web (#64) — both end states converge on the canonical string. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Closing as superseded by the doc/naming audit (AIN-328, merged 2026-05-31). Canonical wire string is now Branch preserved — reopenable. |
Summary
Wire-string token sweep on contract surfaces only — code blocks + form defaults:
HomeHeroCode.tsx,quickstart/page.tsx,docs/[[...slug]]/page.tsx,skill.md/route.ts,skill/page.tsx,routing/page.tsxagents/new/page.tsx,agents/new/route.ts,models/page.tsxOut of scope (founder/Varda public copy step — see FOUNDER ACTION):
web/.claude/CLAUDE.md(classifier-protected from agent edits; founder updates manually)Test plan
model="ainfera-inference"/quickstart,/skill,/skill.md,/docs/*code blocks all show canonicalainfera-inferenceainfera-mithril)🤖 Generated with Claude Code
Note
Low Risk
Low risk string-only updates to UI defaults, docs, and the agent creation API fallback; main risk is any missed references to the old token causing inconsistent UX.
Overview
Canonicalizes the routed-model/policy identifier across product surfaces by switching from
ainfera/auto/ainfera-autotoainfera-inference.This updates the dashboard agent-creation wizard and its
/api/agents/newhandler default routing policy, the models page “Default policy” KPI, and all marketing/docs/quickstart/skill/routing code samples to display and copy the new canonical string.Reviewed by Cursor Bugbot for commit fafb29f. Bugbot is set up for automated code reviews on this repo. Configure here.