Skip to content

create-objectstack templates: AGENTS.md links objectstack.com, Dockerfile/docker-compose.yml still use the docs.objectstack.ai alias #10990

Description

@os-elon

Found while implementing #10321 (dispatch narrowed that card's file surface to root README.md + packages/create-objectstack/src/templates/blank/README.md only, so this is a genuine leftover, not a duplicate).

Census at origin/main (post #10321's fix)

FileHostOccurrences
packages/create-objectstack/src/templates/AGENTS.md:99objectstack.com1 — [ObjectStack Documentation](https://objectstack.com/docs)
packages/create-objectstack/src/templates/blank/Dockerfile:10docs.objectstack.ai1 — # Docs: https://docs.objectstack.ai/docs/deployment/self-hosting
packages/create-objectstack/src/templates/blank/docker-compose.yml:7docs.objectstack.ai1 — # Docs: https://docs.objectstack.ai/docs/deployment/self-hosting

Canonical host, already ruled

Maintainer ruling, 2026-08-21: 「这个仓的文档站规范 URL 是 https://objectstack.ai」. Enforced by CANONICAL_DOCS_ORIGIN = 'https://objectstack.ai' in scripts/check-published-readme-links.mjs. docs.objectstack.ai is an accepted-but-unratified alias (in DOCS_HOSTS, redirects path-preservingly per commit 02b3b07394's verified claim); objectstack.com is not in DOCS_HOSTS at all — it is a different, wrong domain, not an alias.

Commit 02b3b07394 ("converge runtime docs URLs on the canonical host") explicitly named "the create-objectstack templates (#10321)" as a deliberate survivor of its repo-wide sweep, owned elsewhere. #10321's dispatch then narrowed to two files, leaving these three lines uncovered by any card in the #10264 family (checked #10319/#10320/#10322/#10324/#10325 — none touch templates/AGENTS.md, the Dockerfile, or docker-compose.yml).

Why this still matters after #10321

Same "one scaffold run, multiple hostnames" defect: a fresh npm create objectstack@latest still ships an AGENTS.md pointing at the wrong domain (objectstack.com) alongside a README.md (fixed by #10321) now correctly pointing at objectstack.ai, plus a Dockerfile/docker-compose.yml pair still on the unratified docs.objectstack.ai alias.

Suggested landing

packages/create-objectstack/src/templates/AGENTS.md:99, packages/create-objectstack/src/templates/blank/Dockerfile:10, packages/create-objectstack/src/templates/blank/docker-compose.yml:7 — converge all three on https://objectstack.ai.

Filed by the os-dev seat working #10321; not fixed there because it fell outside that card's dispatched file surface.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions