Repository navigation
chore(cli): remove per-command SIDE_EFFECTS.md files - #7727
Conversation
The files were the parity checklist for the dual Go/TypeScript build. The port is finished and nothing reads them; tests, shipped behavior and the generated references now carry the contract. Rationale that existed only there moves into code comments, compute-commands.md and stack-commands.md.
CLI benchmark (Lightweight Commands): no changes foundCommit
API calls: unchanged for all 9 commands. Binary size: 135.3 MB, unchanged. Details: timing ranges, API calls per command, slowest phasesTiming ranges
API calls per command
Slowest phasesNo command moved beyond noise, so there are no phase deltas. Comment |
There was a problem hiding this comment.
🤖 AI Review
CLI reference prose guidance: snapshot supabase/supabase@90a7bb0 supplied to reviewers (advisory, not a style pass).
The revised review prompts can suppress a real compatibility regression when merge-base tests disagree with stable behavior. The contributor guide makes telemetry artifact updates unconditional, and the Compute and Stack guides misstate two details. The duplicate Stack outage finding was refuted because start reuses fresh pins without fetching their releases. Both independent reviews were available. The diff changes no runtime behavior and contains no CLI reference prose in scope for the supplied style guidance.
Findings
| Severity | Location | Category | Sources | Claim |
|---|---|---|---|---|
| 🟠 MAJOR | .github/ai-review/adjudicate-prompt.md:99 |
review-correctness |
codex | The revised prompts can suppress a real break in released CLI behavior when a merge-base test asserts a different behavior. |
| 🟡 MINOR | apps/cli/AGENTS.md:61 |
contributor-guidance |
codex | The compatibility instructions require updating the error-tag fixture and telemetry event catalog for every intentional CLI behavior change. |
| ⚪ NIT | apps/cli/docs/compute-commands.md:90 |
documentation |
claude | The Compute guide says the error for a fully excluded source names the patterns. The error identifies the exclude setting and its suggestion gives the config path. |
| ⚪ NIT | apps/cli/docs/stack-commands.md:439 |
documentation |
codex | The Stack guide says missing ignore entries are added but omits that a frozen start skips the .gitignore update. |
Refuted findings (kept for transparency, not posted as review comments)
apps/cli/docs/stack-commands.md:442(documentation): The Stack guide omits astartoutage path that retains a reusable lock entry and warns withkept <version>. The same path is claimed to handle a failed hosted-version read duringstart.
Refuted: A fresh entry bypasses release resolution, so an outage cannot trigger akept <version>warning for it duringstart. A stale or missing entry fails the retention guard and falls back to the bundled pin on a transient fetch failure. The stored observation used bystartcannot produce a failed hosted probe.
Stats
Claude findings: 2 · Codex findings: 4 · Confirmed: 4 · Refuted: 1 · Uncertain: 0
Models: claude-opus-5-5 + gpt-6.2-sol · Trigger: auto · Workflow run
This review runs once per PR. A maintainer can request another with a /ai-review comment.
Removes the per-command
SIDE_EFFECTS.mdfiles andapps/cli/src/SIDE_EFFECTS_TEMPLATE.md. They duplicated what the handlers, tests and user docs already state, and they drifted out of date.apps/cli/docs/compute-commands.md,stack-commands.md,command-target.md).apps/cli/AGENTS.mdnames tests, the error-tag fixture, the telemetry event catalog and shipped behavior as the source of truth.SIDE_EFFECTS.md.