Skip to content

Commit 4b28e26

Browse files
committed
docs(spec): regenerate dev-login reference and add the patch changeset
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzed5ZRLMtNcevsCJit
1 parent d84a0e9 commit 4b28e26

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
docs(spec): `demoStaff` and `devLogins` prose state what a seeded `sys_user` row really does, and `devLogins` points at `demoStaff`
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
- **Before.** `DemoStaffSchema`'s TSDoc said a `sys_user` row written through `data` is refused (ADR-0092). It is not: every seed write runs under the system execution context, which the identity-write guard stands aside for, so the row lands. `DevLoginSchema` told the author to "seed the account itself in `data`" in its prescriptions for the `permissions`, `capabilities` and `seed` keys, and its header and `email` description assumed the application seeds the account. Following that lands a directory row with no credential, which cannot sign in.
11+
- **Now.** The `demoStaff` TSDoc says the row lands as a directory row with no account and cannot sign in. The `devLogins` prescriptions, header and `email` description tell the author to declare the person in `demoStaff`, so that `os dev` creates an account that can sign in. The regenerated `references/system/dev-login.mdx` carries the new `email` description.
12+
- No schema, key or behaviour changes. Only prose and a refusal prescription's wording change.

‎content/docs/references/system/dev-login.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const result = DevLoginSchema.parse(data);
2828

2929
| Property | Type | Required | Description |
3030
| :--- | :--- | :--- | :--- |
31-
| **email** | `string` | ✅ | Email of an account this application seeds — printed by the development boot banner |
31+
| **email** | `string` | ✅ | Email of an account that can sign in, such as one declared in `demoStaff` — printed by the development boot banner |
3232
| **password** | `string` | optional | Development-fixture password printed beside the address; omit when the account signs in another way |
3333
| **label** | `string` | optional | The audience this account belongs to (e.g. `Hiring admin`) — printed before the address |
3434

0 commit comments

Comments
 (0)