Repository navigation
Phase E4: Admin compute tab - #504
Merged
neuromechanist merged 26 commits intoNov 7, 2026
Merged
neuromechanist merged 26 commits into
neuromechanist merged 26 commits into
Conversation
Deploying nemar-website with
|
| Latest commit: |
bacfdcd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6485cf8e.nemar-website.pages.dev |
| Branch Preview URL: | https://feature-issue-497-admin-comp.nemar-website.pages.dev |
neuromechanist
force-pushed
the
feature/issue-497-admin-compute-tab
branch
from
November 7, 2026 15:21
52ad28c to
bacfdcd
Compare
neuromechanist
merged commit Nov 7, 2026
46ac1d5
into
feature/issue-493-epic-compute-web
4 of 5 checks passed
This was referenced Nov 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Phase E4 of epic #493 (issue #497): the admin Compute tab at
/admin/compute, after Mail. Base is the epic branch, notstaging. Website ADR 0030.dir="auto", full text always reachable). Grant, Deny, Suspend, Revoke, "Lift suspension" and "Grant again", each by id through its own dialog: optional reason (500 characters), Cancel focused first, Grant needs an unticked-by-default export-control acknowledgement, Revoke a typed word. One decision in flight page-wide, a POST is never retried, and after an outcome that cannot be told (a lost answer, a 5xx, which can follow a committed batch) the page says "not confirmed" and re-reads the account once. A non-owner's own Grant is disabled with the reason.requestedlisting (200+when more exist), fail-soft, in the shared admin shell.nemar admin compute.Backend contract
Epic D branch
feature/issue-2021-epic-compute-usersat e0685a25. Where the plan and the backend differed, the backend won: four flags not three, one flag per read,{ error, code }envelope (notreadError()), suspended rows offer Grant and Revoke, the list is in account creation order, a non-owner's self-grant is refused (self_decision), no drift route and no platform usage over time.nemar-cli issues and PR
compute_admin.*keys, mirrored exactly here)Merge order: nemar-cli#2089 first (it is the source of the copy). The account-copy-parity pair in nemar-cli CI is known red until these keys reach
dev.Tested
bunx vitest run: 178 files, 4842 tests pass, withNEMAR_CLI_ACCOUNT_COPY,NEMAR_CLI_COMPUTE_ADMIN_CONTRACTandNEMAR_CLI_COMPUTE_ACCESS_CONTRACTpointed at the nemar-cli copy branch (the drift tests are strict in CI and red until the compute epic is on nemar-clidev, as for E1).bun run typecheck0 errors,bun run lintclean,bun run buildpasses.NEMAR_CLI_DIR=<Epic D checkout> bun scripts/capture-compute-admin-fixtures.mjs(named in each test file). Access rows come from the backend suite's seeding and every state change goes through the real decision routes;stale_stateuses the backend suite's own race seam; flag columns are set with the UPDATE the backend's own reporting test uses.scripts/local-backend.mjs, extended with the admin world): the badge; own Grant disabled; Cancel focused on open; Grant gated by the acknowledgement and double-clicked sends one POST; deny with a reason, suspend, revoke gated by the typed word, grant again; a decision a second admin made first answers the backend's 409 sentence and redraws the row; Escape closes and returns focus; the hostile purpose (markup, bidirectional controls, a tab) renders as visible escaped text with no node created; Pools, Flagged and Reconciliation views; dark theme; no horizontal page scroll.Not verified
/computepage after a decision (that page is another phase).email_sent: falselocally, which the row reports), real scheduler data, a real tenant.