Skip to content

chore(dashboard): AIN-89 · remove unwired TestCall stub#40

Merged
hizrianraz merged 1 commit into
mainfrom
chore/ain-89-remove-unwired-testcall-stub
May 18, 2026
Merged

chore(dashboard): AIN-89 · remove unwired TestCall stub#40
hizrianraz merged 1 commit into
mainfrom
chore/ain-89-remove-unwired-testcall-stub

Conversation

@hizrianraz
Copy link
Copy Markdown
Contributor

Summary

  • Delete apps/dashboard/components/TestCall.tsx — never imported, returns setTimeout fake responses + synthetic receipt_id
  • Scaffolded in dashboard build commit ed731c7, dead for the full sprint cycle
  • Memory chore(deps): Bump next from 15.5.18 to 16.2.6 #5 (honest deferred > half-shipped fakes)

Why now

AIN-89 [Dashboard P9+10+11] verified state on the feature branch (off main):

  • ✅ Mint modal shipped (MintAgentTriggerMintAgentModal)
  • ✅ Provenance fields shipped (canonical_uri, did:web, registered_at, framework, installed_via, last_seen)
  • ✅ Spend-policy editor shipped (SpendPolicyEditorPATCH /v1/agents/{id}/spend-policy)
  • ❌ Test-call UI — only artifact was this unwired stub

A real test-call UI cannot be one-session-shipped: /v1/inference requires the agent's API key (one-time mint, not stored), and the dashboard runs as the tenant cookie-session. The "tenant signs-as-agent" auth path is the same gap blocking AIN-87 multi-key CRUD.

Better to delete the stub than leave it to be wired to fake data by a future agent.

Test plan

  • pnpm -F dashboard typecheck — no broken imports
  • pnpm -F dashboard build — no missing module errors

🤖 Generated with Claude Code

Stub component at apps/dashboard/components/TestCall.tsx was scaffolded
in dashboard build commit ed731c7 and never imported. It returns
setTimeout-fake responses ("[stubbed response for …]") and a synthetic
receipt_id — exactly the half-shipped fake button pattern Memory #5
warns against.

A real test-call UI needs auth that the dashboard cookie-session cannot
provide today: /v1/inference requires the agent's API key, and the
multi-key model (tenant signs-as-agent) is the same gap blocking AIN-87.
Deferring the test-call UI to land alongside that schema work instead
of leaving a dead stub for a future agent to wire to fake data.

Co-Authored-By: Claude <noreply@anthropic.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented May 18, 2026

You have used all Bugbot PR reviews included in your free trial for your GitHub account on this workspace.

To continue using Bugbot reviews, enable Bugbot for your team in the Cursor dashboard.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 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 18, 2026 2:24pm
ainfera-marketing Ready Ready Preview, Comment May 18, 2026 2:24pm
web Error Error May 18, 2026 2:24pm

Request Review

@supabase
Copy link
Copy Markdown

supabase Bot commented May 18, 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 hizrianraz merged commit fbc6173 into main May 18, 2026
6 of 7 checks passed
@hizrianraz hizrianraz deleted the chore/ain-89-remove-unwired-testcall-stub branch May 18, 2026 14: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.

1 participant