Skip to content

fix(refs): stale postplan.tapetide.com defaults left from the rename - #31

Merged
Hitesh-Sisara merged 1 commit into
mainfrom
fix/stale-postplan-refs
Aug 9, 2026
Merged

Hitesh-Sisara merged 1 commit into
mainfrom
fix/stale-postplan-refs

Conversation

@Hitesh-Sisara

Copy link
Copy Markdown
Contributor

Found while reading tests/brutal.sh before running it: the adversarial suite's default API/CONTENT env values still pointed at the pre-rename postplan.tapetide.com, so anyone running it without explicit env overrides fired 198 assertions at the wrong deployment.

Swept the whole tree — 10 stale references in 5 files:

file what was stale
tests/brutal.sh default API/CONTENT + usage comment
docs/api.md base URL + content origin
docs/openapi.yaml servers[0].url
docs/cli.md config.json example
cli/cmd/fetch.go two host-derivation comment examples

Shipped behaviour was already correct — config.go DefaultAPIURL is https://api.agentdraft.tapetide.com, so the CLI never used the old host. This is docs + test-harness + comments only, no code-path change.

Verified: CLI still builds and vets clean (fetch.go touched), openapi still parses (servers: ['https://api.agentdraft.tapetide.com']), 0 postplan references remain repo-wide.

Separately flagged to the owner: postplan.tapetide.com still serves 200 as a live duplicate deployment (google_oauth_enabled:false, its own content_base_url) — that's an infra cleanup question, not part of this docs fix.

…name

The docs base URLs, the openapi `servers` url, the CLI config example, two
fetch.go comment examples and the brutal.sh env defaults all still named the
pre-rename `postplan.tapetide.com`. The CLI's compiled-in default was already
`agentdraft` (config.go DefaultAPIURL), so shipped behaviour was correct — but
anyone copy-pasting the docs, running the openapi spec, or invoking brutal.sh
with no env override was pointed at the old host. brutal.sh was the worst of
these: its defaults sent the adversarial suite at the wrong deployment
entirely.
@Hitesh-Sisara
Hitesh-Sisara merged commit 208681a into main Aug 9, 2026
3 checks passed
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