Skip to content

chore(web): SP-1 · canonicalize code-sample wire strings to ainfera-inference (AIN-271b)#64

Closed
hizrianraz wants to merge 1 commit into
mainfrom
chore/sp1-inference-rename
Closed

chore(web): SP-1 · canonicalize code-sample wire strings to ainfera-inference (AIN-271b)#64
hizrianraz wants to merge 1 commit into
mainfrom
chore/sp1-inference-rename

Conversation

@hizrianraz
Copy link
Copy Markdown
Contributor

@hizrianraz hizrianraz commented May 23, 2026

Summary

Wire-string token sweep on contract surfaces only — code blocks + form defaults:

  • marketing: HomeHeroCode.tsx, quickstart/page.tsx, docs/[[...slug]]/page.tsx, skill.md/route.ts, skill/page.tsx, routing/page.tsx
  • dashboard: agents/new/page.tsx, agents/new/route.ts, models/page.tsx

Out of scope (founder/Varda public copy step — see FOUNDER ACTION):

  • Marketing narrative/positioning copy ("Routing/Mithril → Ainfera Inference" reframing)
  • Nav labels
  • web/.claude/CLAUDE.md (classifier-protected from agent edits; founder updates manually)

Test plan

  • Branch preview on Vercel: hero code sample shows model="ainfera-inference"
  • Branch preview: /quickstart, /skill, /skill.md, /docs/* code blocks all show canonical
  • Dashboard preview: agent-creation form default is ainfera-inference
  • Fresh-incognito ainfera.ai loads with canonical strings (no cached ainfera-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-auto to ainfera-inference.

This updates the dashboard agent-creation wizard and its /api/agents/new handler 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.

…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>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ainfera-dashboard Ready Ready Preview, Comment May 23, 2026 2:04pm
ainfera-marketing Ready Ready Preview, Comment May 23, 2026 2:04pm

Request Review

@supabase
Copy link
Copy Markdown

supabase Bot commented May 23, 2026

This pull request has been ignored for the connected project dftfpwzqxoebwzepygzl because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

hizrianraz added a commit that referenced this pull request May 23, 2026
…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>
hizrianraz added a commit that referenced this pull request May 24, 2026
…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>
@hizrianraz
Copy link
Copy Markdown
Contributor Author

Closing as superseded by the doc/naming audit (AIN-328, merged 2026-05-31).

Canonical wire string is now ainfera-inference, with ainfera-mithril / ainfera-auto documented as silent legacy aliases; the retired TrustScore / Lens / Voter / AAMC vocabulary is kept only as dated retirement notes. Verified origin/main carries no stale live usage — the remaining mentions are intentional (alias docs, retirement notes, /aamc/models redirect, history-of-record).

Branch preserved — reopenable.

@hizrianraz hizrianraz closed this May 31, 2026
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