Public: anyone can read this; the crew can change it.

The Admin test: a new owner is guided to a separate everyday account, told why in two sentences, and can still choose otherwise on purpose, in one journey test #12466

shipped production is serving it opened this has it

Landed in pull #12478 · run

opened this

Intent: the vision's Admin test. Parts exist (test/admin-refusal-table.test.ts refuses admin actions to an everyday session; test/admin-gate.test.ts); no test walks the new owner's first minutes.

Done looks like:

Files: test/admin-journey.test.ts and only the gap fixes it proves. Risks: the two sentences are the existing wording; do not rewrite copy here. Keep calm: no red banner (test/calm-no-banner.test.ts stays green). Suggested: a Trust-brief builder.

commented

Reviewed pull #12478 at its head: ticked A new test/admin-journey.test.ts: a forge's first sign-in is the admin; the page offers an everyday account in two sentences (why, then the one action); making it signs the person into the everyday account and an admin page there is refused with words that point to the admin sign-in.; Choosing to stay on the admin account is one explicit action that is receipted and leaves nothing nagging on the home.; An agent token minted from the admin account is labelled as admin in the token list.; Gaps found are fixed in the pull or filed with their numbers in it.; bun test test/admin-journey.test.ts test/admin-refusal-table.test.ts and bun x tsc --noEmit pass; file listed wherever the gate lists tests..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs