Uh oh!
There was an error while loading. Please reload this page.
docs(cli): make the TS legacy shell the source of truth in agent instructions - #6281
Conversation
…ructions The Go->TS port is complete, so the agent instructions no longer treat the Go CLI as the parity reference: src/legacy/ is the authoritative implementation, apps/cli-go/ is documented as a residual delegation surface slated for removal, and new "Go parity" framing in comments/docs is explicitly disallowed. next/ is marked frozen and departing to its own branch, with its porting-era guidance (reuse-from-next, phase 0 wrapping, divergence tracking) removed or reframed around the legacy shell's own established behavior. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:c86231e569
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Uh oh!
There was an error while loading. Please reload this page.
Supabase CLI previewnpx --yes https://pkg.pr.new/supabase/cli/supabase@cacbba42a3020ba5bb6635623351571a1817b29dPreview package for commit |
…and fix formatting Wrapper removal guidance no longer permits deleting user-facing command trees: the CLI-1964 ruling keeps db branch/db remote/gen keys retained indefinitely, so shrinking the Go delegation surface means native replacement, and dropping a public command path stays a product decision. Also runs oxfmt over the rewritten AGENTS.md to satisfy supabase:fmt:check. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:96b99c28d8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Follow-ups from review: native wrapper replacements must port from the current in-tree Go source (the shipped implementation) rather than the pre-trim pin, which already differs (db remote --password precedence); the divergences ledger's own intro now states it is frozen so it agrees with AGENTS.md; and binary-distribution.md now separates the two lifecycles — retained public commands vs Go implementations slated for native replacement, after which supabase-go stops shipping. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Summary
Updates the repo agent instructions (
AGENTS.mdfiles and the delegation-surface doc) to reflect where the CLI actually stands after the Go→TS migration:src/legacy/is the source of truth. The rewrittenapps/cli/AGENTS.mdreplaces the "Go CLI Authority" framing with a "Source of Truth" section: the compatibility standard is the legacy shell's own established behavior (tests,SIDE_EFFECTS.md, shipped output), not comparison against Go. It also explicitly disallows new comments/docs/helper names framed as "Go parity", with old framing cleaned up opportunistically.next/is frozen and departing. The shell-architecture section now documents thatnext/development moves to its own branch and the folder will leave this tree; no new features land there. Porting-era guidance built around it ("Reusing next/ implementations") is removed, and the dual-write file-location rule is noted as leaving withnext/.apps/cli-go/is authoritative solely for the still-proxied commands' flag definitions until they are removed.docs/go-cli-porting-status.mdandapps/cli-e2e/AGENTS.mdget matching one-line reframes.shared/telemetry/event-catalog.tsas canonical in its own right; all operational rules (telemetry ensuring, stderr error shape,--debuglog format,-ovs--output-format, CLI-1546 spinner rule) survive unchanged.docs/go-cli-divergences.mdis declared a frozen historical record — new flags/features are just new CLI behavior and no longer tracked as divergences.Docs-only change; no runtime behavior is affected.
Linked issue
Closes #
open-for-contributionlabel (or I'm a Supabase maintainer).Checklist
fix(cli): …).pnpm check:allandpnpm testpass for the workspace(s) I touched. (No code touched; no markdown checks in CI.)🤖 Generated with Claude Code