Skip to content

Commit dd84ddd

Browse files
claude[bot]claude
andauthored
docs: name the canonical docs host in the governed protection examples (#11194)
The maintainer ruled on 2026-08-21 that this repo's canonical docs-site URL is https://objectstack.ai. Four `protection.docsUrl` occurrences on governed surfaces still carried the `docs.objectstack.ai` spelling. All four are the same literal, and the host was only half the defect: the `/adr/0010-metadata-protection` path is not a route on any host (the docs site mounts `content/docs` under `/docs`, and `docs/adr/` is not published). They now match the literal that landed in source: the published reference for the very schema that carries the field. - skills/objectstack-data/SKILL.md (3) — the propagating surface; the published skill teaches AI authors what to write into a `protection` block, so a dead URL travels outward into codebases this repo cannot see. - docs/adr/0010-metadata-protection-model.md (1) — a verbatim quotation of the `packages/spec/src/shared/protection.zod.ts` example; the docsUrl line was the block's only divergence from the source it quotes. docs/adr/0046-package-docs-as-metadata.md:85 is deliberately left alone: it names the host in a Non-goals bullet recording a scope boundary, not as a link. Prime Directive #13 — an accepted ADR is not silently reworded. Byte-neutral: both literals are 56 bytes, so SKILL.md stays at 55265 bytes and the skills token ratchet stays at 13817/13817. Co-authored-by: Claude <noreply@anthropic.com>
1 parent de6e2bf commit dd84ddd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/adr/0010-metadata-protection-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ export const SETUP_APP: App = {
562562
protection: {
563563
lock: 'full',
564564
reason: 'Core admin UI shipped by @objectstack/platform-objects.',
565-
docsUrl: 'https://docs.objectstack.ai/adr/0010-metadata-protection',
565+
docsUrl: 'https://objectstack.ai/docs/references/shared/protection',
566566
},
567567
// ...
568568
};

skills/objectstack-data/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ export const SysUserObject = ObjectSchema.create({
895895
protection: {
896896
lock: 'full',
897897
reason: 'Core identity object — see ADR-0010.',
898-
docsUrl: 'https://docs.objectstack.ai/adr/0010-metadata-protection',
898+
docsUrl: 'https://objectstack.ai/docs/references/shared/protection',
899899
},
900900
fields: { /* ... */ },
901901
});
@@ -913,7 +913,7 @@ export const SysRoleObject = ObjectSchema.create({
913913
protection: {
914914
lock: 'no-overlay',
915915
reason: 'RBAC schema is platform-defined — see ADR-0010.',
916-
docsUrl: 'https://docs.objectstack.ai/adr/0010-metadata-protection',
916+
docsUrl: 'https://objectstack.ai/docs/references/shared/protection',
917917
},
918918
fields: { /* ... */ },
919919
});
@@ -934,7 +934,7 @@ export const SetupApp = defineApp({
934934
protection: {
935935
lock: 'full',
936936
reason: 'Core admin UI shipped by @objectstack/platform-objects — see ADR-0010.',
937-
docsUrl: 'https://docs.objectstack.ai/adr/0010-metadata-protection',
937+
docsUrl: 'https://objectstack.ai/docs/references/shared/protection',
938938
},
939939
// ...
940940
});

0 commit comments

Comments
 (0)