Skip to content

Commit ab540ed

Browse files
claude[bot]claude
andauthored
docs(qa): re-quote --seed-admin flag contract in the platform checklist (#14515)
The zero-user predicate in packages/cli/src/commands/dev.ts's --seed-admin flag text changed (#14157): "only acts on a zero-user DB" became "it acts only while no account holds the seed address and no local password login exists anywhere". Two verbatim quotations of that sentence in docs/qa/platform-checklist/areas/cli.json (the :42 verify clause and the :797 knownGaps note) go stale on the day it lands. Re-quotes both fragments from dev.ts:142, unchanged otherwise. The :42 step itself is not rewritten — "never overwrites an existing account" is the half that survived the rewrite, so the step still tests what it claims to (idempotency across a restart with a changed --admin-password). Co-authored-by: Claude <noreply@anthropic.com>
1 parent fa7292c commit ab540ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • docs/qa/platform-checklist/areas

docs/qa/platform-checklist/areas/cli.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{
4040
"clause": "--seed-admin provisions the FIXED well-known dev admin (admin@objectos.ai / admin123) loginable via the real auth endpoint, and the seed is idempotent — a later boot with a different --admin-password does NOT overwrite the existing account",
4141
"oracle": "api",
42-
"verify": "login succeeds with the original credentials after the changed-password restart (flag contract: 'only acts on a zero-user DB, never overwrites an existing account')",
42+
"verify": "login succeeds with the original credentials after the changed-password restart (flag contract: 'it acts only while no account holds the seed address and no local password login exists anywhere, never overwrites an existing account')",
4343
"evidence": "the two auth responses"
4444
},
4545
{
@@ -794,7 +794,7 @@
794794
],
795795
"knownGaps": [
796796
"This item deliberately does NOT re-prove what two existing items already cover. The scaffold→install→validate→build→artifact-boot chain belongs to cli.scaffold-first-run (automated by .github/workflows/scaffold-e2e.yml); the console-on-a-populated-app half belongs to cli.dev-boot-contract, which drives examples/app-showcase. What is untested is the SEAM: the Console rendering against a freshly scaffolded BLANK project — one object and no seed data. Score only the seam; cite the two siblings for the halves.",
797-
"A blank scaffold DOES have a loginable identity out of the box: `seed-admin` is default-ON in dev (commands/dev.ts: flags['seed-admin'] ?? true, 'Default: on (idempotent — only acts on a zero-user DB, never overwrites an existing account)'), so bare `objectstack dev` seeds admin@objectos.ai / admin123 on an empty DB and the banner prints the credentials. Clause 4 therefore scores whether the newcomer can COMPLETE the documented visual check with that identity, not whether one exists. Still do not import showcase credentials."
797+
"A blank scaffold DOES have a loginable identity out of the box: `seed-admin` is default-ON in dev (commands/dev.ts: flags['seed-admin'] ?? true, 'Default: on (idempotent — it acts only while no account holds the seed address and no local password login exists anywhere, never overwrites an existing account)'), so bare `objectstack dev` seeds admin@objectos.ai / admin123 on an empty DB and the banner prints the credentials. Clause 4 therefore scores whether the newcomer can COMPLETE the documented visual check with that identity, not whether one exists. Still do not import showcase credentials."
798798
]
799799
},
800800
"steps": [

0 commit comments

Comments
 (0)