Admin surface as a pi extension (supersedes the web panel, closes #5) - #15
Merged
Conversation
…c amendments" passed gates Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D3npQvQXLWsW6qsrRMAmNL
…ker runtime-settings + P0 fix" passed gates Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D3npQvQXLWsW6qsrRMAmNL
…in workspace scaffold + reads" passed gates Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D3npQvQXLWsW6qsrRMAmNL
…tes, agent tools, dashboard" passed gates Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D3npQvQXLWsW6qsrRMAmNL
…s closure + rules coverage" passed gates Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D3npQvQXLWsW6qsrRMAmNL
4 tasks
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.
Supersedes the planned web admin panel (issue #5) with an admin surface that lives fully inside the pi coding agent CLI: a pi extension in the new
admin/workspace providing/dispatchoperator commands (status, pause/resume, runs, logs, budget, triggers, settings, set/unset), a live TUI dashboard overlay, and exactly four LLM-callable tools (reads plus pause/resume — settings writes stay operator-only). Runtime settings ship as asettings.jsonoverlay (PI_SETTINGS_FILE) the worker re-reads per job with precedencejob.data > overlay > env > default, fail-closed on an invalid file before any budget slot is reserved. Specs amended spec-first:CONST-ISOLATION-CONTAINER-PER-JOBscoped to harness-invoked pi (maintainer-approved),DES-PANEL-SEPARATE-FROM-RECEIVERsuperseded byDES-ADMIN-VIA-PI-EXTENSION, newDES-RUNTIME-SETTINGS-FILE-OVERLAY,INT-CONFIG-OVERLAY-CONTRACT,REQ-ADMIN-VIA-PI-EXTENSION,REQ-RUNTIME-SETTINGS-PICKUP,OQ-008(trigger editing deferred, display-only).Also fixes a live P0: every GitHub-webhook job deterministically failed after burning a daily-cap slot (receiver sends no provider/model/maxTurns; the worker never filled defaults;
buildContainerEnvthrew afterreserveBudget). The per-job effective-fill is both the feature mechanism and the fix; a regression test enshrines the receiver-shaped job.Verification
Notes for review: operator pi version is uncontrolled — the extension probes its USED_API at load, all-or-nothing, refusing loudly on non-0.80.7; raw
.logoutput is structurally excluded from model context (overlay viewer only); pre-existing coverage gap flagged (no explicit duplicate-GUID second-delivery test) — not introduced here.Closes #5
🤖 Generated with Claude Code
https://claude.ai/code/session_01D3npQvQXLWsW6qsrRMAmNL