Web UI: Gated action framework (#434) #455
Labels
Clear labels
allocator
anti-stomp
architecture
bug
chore
codex
concurrency
contamination
control-plane
dashboard
database
design
documentation
enhancement
gitea
glitchtip
important
incident
incident-bridge
integration
jenkins
labels
leases
mcp
mcp-health
mcp-menu
multi-project
mutating
nice-to-have
observability
portability
preflight
protected-branch
queue
read-only
reconnect
recovery
refactor
release
reliability
resumable-review
reviewer
roadmap
safety
security
self-hosted
sentry
stale-runtime
status:blocked
status:in-progress
status:pr-open
status:ready
terminal-lock
testing
tracker
type:bug
type:feature
type:feature
type:guardrail
visibility
workflow
workflow-hardening
workflow-hardening
Controller-owned work allocator
Prevent concurrent LLM session stomping
Architecture / structural design
OpenAI Codex client / workflow session surface
Concurrent session safety
Workflow or session contamination incident
MCP control-plane coordination and allocation authority
MCP operational dashboard/queue view
Internal coordination storage (SQLite/Postgres)
Design / investigation, no implementation
Docs / runbooks
New feature or improvement
Gitea MCP workflow
GlitchTip integration
Operational or process incident requiring durable audit trail
Sentry-to-Gitea incident bridging
Integration testing
Jenkins integration
Label taxonomy management
Lease adopt/release/expire lifecycle
MCP server / tooling
MCP namespace and runtime health
MCP menu surface
Work spanning multiple monitoring projects or Gitea repos
Mutating action; requires gating
Observability, metrics, traces, error reporting
Cross-platform / portability
Shared preflight gates before mutation
Protected branch / stable-branch policy concern
Work queue visibility and allocation
Read-only, no mutation
MCP client reconnect/reload recovery path
Recovery paths for stale/foreign leases
Code refactor / restructure
Release / versioning
Reliability / failure handling
Persist and resume prepared review verdicts across sessions
Reviewer workflow tooling
Roadmap / umbrella issue
Safety rails and fail-closed mutation guards
Security / trust boundary
Self-hosted infrastructure integration
Sentry error monitoring integration
Stale backend daemon / runtime-vs-master parity failures
Issue is blocked
Issue is being worked on
Issue has an open pull request
Issue is ready for work
Terminal review lock (#332) path
Tests / test coverage
Issue tracker hygiene / meta
Bug or defect
Feature or enhancement
Feature or enhancement
Safety gate or guardrail
Workflow state visibility for LLMs/operators
Cross-tool workflow
LLM workflow coordination hardening
LLM workflow coordination hardening
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Scaled-Tech-Consulting/Gitea-Tools#455
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Implements the disabled-by-default gated action framework for future UI write paths (#434).
Changes
webui/gated_actions.py— action registry aligned withtask_capability_map; mutation-ledger previews;attempt_actionfail-closedwebui/gated_action_views.py—/actionspage with disabled buttons and ledger previews/actions,/api/actions,/api/actions/{id}/preview,/api/actions/{id}/attempt(403 fail-closed)tests/test_webui_gated_actions.py— 11 tests (registry alignment, disabled defaults, no MCP imports, route behavior)Verification
Acceptance criteria
Closes #434
pr: #455
branch: feat/issue-434-gated-actions
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-434-gated-actions
profile: prgs-author
session_id: unknown
phase: claimed
head_before:
84b841c727expires_at: 2026-07-09T04:42:47Z
reviewer_active: no
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #455
issue: #434
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 38902-49f495a955f7
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-feat-issue-434-gated-actions
phase: claimed
candidate_head: 22d47352309f7a77eeb55743b171694f4a475141
target_branch: master
target_branch_sha: none
last_activity: 2026-07-09T03:13:59Z
expires_at: 2026-07-09T05:13:59Z
blocker: none
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #455
issue: #434
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 38902-49f495a955f7
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-feat-issue-434-gated-actions
phase: released
candidate_head: 22d47352309f7a77eeb55743b171694f4a475141
target_branch: master
target_branch_sha: none
last_activity: 2026-07-09T03:14:09Z
expires_at: 2026-07-09T05:14:09Z
blocker: manual-release
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #455
issue: #434
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-455-678278
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-434-gated-actions
phase: claimed
candidate_head:
46709537c1target_branch: master
target_branch_sha: none
last_activity: 2026-07-09T13:31:25Z
expires_at: 2026-07-09T15:31:25Z
blocker: none
Review REQUEST_CHANGES — PR #455
Cannot approve: Gitea reports Conflicted / Not Mergeable against current master.
Master has advanced (including web UI hygiene #453, audit paste #452, thread ledger #511, BLOCKED+DIAGNOSE #554). This stack tip must be rebased/merged onto current master and conflicts resolved by the author.
Canonical PR State
STATE: blocked on merge conflicts with master
WHO_IS_NEXT: author
NEXT_ACTION: merge or rebase onto current prgs/master, resolve conflicts, re-run web UI tests, push mergeable tip, re-request review
NEXT_PROMPT:
WHAT_HAPPENED: Reviewer skipped full code review because PR is not mergeable
WHY: Conflicted base after master advanced; re-review only after green mergeable tip
ISSUE: #434
HEAD_SHA:
46709537c1REVIEW_STATUS: REQUEST_CHANGES
MERGE_READY: no
BLOCKERS: merge conflict with master — unblocks when author resolves conflicts against prgs/master, pushes a mergeable tip, and re-requests review
VALIDATION: not run at conflicted tip
LAST_UPDATED_BY: sysadmin (prgs-reviewer)
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #455
issue: #434
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-455-678278
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-434-gated-actions
phase: claimed
candidate_head:
46709537c1target_branch: master
target_branch_sha:
cc4b95839dlast_activity: 2026-07-09T13:55:33Z
expires_at: 2026-07-09T15:55:33Z
blocker: none
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #455
issue: #434
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-455-678278
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-434-gated-actions
phase: released
candidate_head:
46709537c1target_branch: master
target_branch_sha:
cc4b95839dlast_activity: 2026-07-09T13:55:47Z
expires_at: 2026-07-09T15:55:47Z
blocker: manual-release
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #455
issue: #434
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-455-678278
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-434-gated-actions
phase: claimed
candidate_head:
ddb1dd941btarget_branch: master
target_branch_sha:
cc4b95839dlast_activity: 2026-07-09T15:04:17Z
expires_at: 2026-07-09T17:04:17Z
blocker: none
Canonical PR State
STATE: review-approved
WHO_IS_NEXT: merger
NEXT_ACTION: merge PR #455 after explicit operator authorization
NEXT_PROMPT:
WHAT_HAPPENED: Reviewed PR #455 (Web UI gated actions); approved head
ddb1dd941b.WHY: Disabled-by-default gated action framework aligned with task capabilities; fail-closed attempt path.
ISSUE: #434
HEAD_SHA:
ddb1dd941bREVIEW_STATUS: APPROVED
MERGE_READY: yes (awaiting explicit merge authorization)
BLOCKERS: none
VALIDATION: pytest tests/test_webui_*.py -> 79 passed
LAST_UPDATED_BY: sysadmin (prgs-reviewer)
Review notes
adopted_at: 2026-07-09T15:39:09Z
adopted_by_identity: sysadmin
adopted_by_profile: prgs-merger
adopted_from_session_id: continue-prgs-rc-455-678278
adopted_from_profile: prgs-reviewer
adopted_from_reviewer_identity: sysadmin
adopted_from_comment_id: 8179
adoption_reason: merger-handoff-approved-head
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #455
issue: #434
reviewer_identity: sysadmin
profile: prgs-merger
session_id: 1956-5bfb383ad655
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/merger-queue
phase: adopted
candidate_head:
ddb1dd941btarget_branch: master
target_branch_sha:
cc4b95839dlast_activity: 2026-07-09T15:39:09Z
expires_at: 2026-07-09T17:39:09Z
blocker: none