Repository navigation
Add Administration and Maintenance lifecycle controls - #333
Merged
Merged
Conversation
Owner
Author
#329 implementation checkpointCurrent branch head: Completed:
Earlier CI exposed only a guardrail classification issue for new Admin controls; the repository guards now recognize explicit Scope is frozen. Exact next action: validate required checks on the current head; fix only concrete failures. Production acceptance will additionally require configuring |
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.
Issue
Implements #329.
Result
Administration / Maintenance is implementation-complete on exact head
68907836d1e720a57fb9026a29ed3d0929ab2b87.Server lifecycle boundary
/api/adminfunction backed byapi/_admin.js;INTAKE_ADMIN_TOKENauthorization with constant-time comparison;Browser maintenance console
sessionStorageunderkt-admin-session-v1;Persistence / summary separation
Admin controls are explicitly
data-persistence="session-only"and summary-excluded. Repository guards now recognize session-only privileged UI separately from Intake/local-only state.Documentation
Canonical contract:
docs/admin-maintenance.md.Also reconciled root/server AGENTS, SECURITY, README, AI onboarding, architecture overview, commenting guide, pre-production hardening, Classroom roadmap/architecture, and live workstream.
Validation — exact head 6890783
Production configuration dependency
The Admin endpoint intentionally fails closed with HTTP 503 until a valid 43-character URL-safe
INTAKE_ADMIN_TOKENis configured in the Vercel Production environment.The current Vercel connector can inspect deployments but returned HTTP 403 when asked to list or create production environment variables, so this secret must be configured by a project owner through Vercel before merge/production acceptance. Do not paste the secret into GitHub or chat.
After the Production environment variable exists, merge this unchanged green head, verify the exact merged deployment reaches READY, confirm unauthenticated
/api/adminreturns 401 (not 503), scan runtime errors, and close #329.Next roadmap slice
#330 — startup experience hub with explicit Continue / Work independently / Join a class / Run a class / Administration choices.