Web UI: Auth and deployment boundary (#435) #456
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#456
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
Documents and enforces the internal-only deployment model for the operator web UI (#435).
Changes
webui/deployment_boundary.py— bind-host assessment (safe/warn/refuse), runtime assumption metadata, client-secret scan helperwebui/__main__.py— refuses0.0.0.0/::withoutWEBUI_ALLOW_PUBLIC_BIND=1; logs warnings for non-loopback bindswebui/app.py—/healthincludesdeploymentobject with bind disposition and env pathsdocs/webui-deployment.md— Cloudflare Access/WARP/VPN guidance, env var reference, non-goalsdocs/webui-local-dev.md— deployment section and expanded env tabletests/test_webui_deployment_boundary.py— 9 tests; skeleton health test updatedVerification
Acceptance criteria
Closes #435
pr: #456
branch: feat/issue-435-auth-deployment
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-435-auth-deployment
profile: prgs-author
session_id: unknown
phase: claimed
head_before:
cb48e8a726expires_at: 2026-07-09T04:42:56Z
reviewer_active: no
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 87556-73417312acaa
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-pr456-20260708235141
phase: claimed
candidate_head:
641818e31dtarget_branch: master
target_branch_sha:
4d865666c7last_activity: 2026-07-09T03:52:26Z
expires_at: 2026-07-09T05:52:26Z
blocker: none
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 87556-73417312acaa
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-pr456-20260708235141
phase: released
candidate_head:
641818e31dtarget_branch: master
target_branch_sha:
4d865666c7last_activity: 2026-07-09T03:52:51Z
expires_at: 2026-07-09T05:52:51Z
blocker: manual-release
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 87556-73417312acaa
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-pr456-20260708235141
phase: claimed
candidate_head:
641818e31dtarget_branch: master
target_branch_sha:
4d865666c7last_activity: 2026-07-09T03:54:51Z
expires_at: 2026-07-09T05:54:51Z
blocker: none
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 87556-73417312acaa
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-pr456-20260708235141
phase: claimed
candidate_head:
641818e31dtarget_branch: master
target_branch_sha:
4d865666c7last_activity: 2026-07-09T03:56:18Z
expires_at: 2026-07-09T05:56:18Z
blocker: none
Review findings (formal REQUEST_CHANGES pending lease gate)
Session: prgs-reviewer / sysadmin — review-merge-pr (#332 budget reset)
Pinned head:
641818e31de1f39ffa7e9e6b7bc6df3371f4ebdfDo not merge.
Blocker
Conflict-resolution commit
f81cc9bleftwebui/lease_loader.pyimportingISSUE_LOCK_FILEfrom the wrong module:Evidence
ImportError: cannot import name 'ISSUE_LOCK_FILE' from 'merged_cleanup_reconcile'on PR headpytest -k webui: 6 collection ERRORS on PR headRequired fix
Restore the master import split in
webui/lease_loader.py, push a new head, then request re-review from scratch.Process note
An active author conflict-fix lease (phase=
claimed, expires2026-07-09T04:42:56Z) currently blocks formalREQUEST_CHANGESsubmission under #399. Formal verdict will be posted after that lease expires (or is released). Findings above stand either way.repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 87556-73417312acaa
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-pr456-20260708235141
phase: claimed
candidate_head:
641818e31dtarget_branch: master
target_branch_sha:
08957aeb2alast_activity: 2026-07-09T04:07:08Z
expires_at: 2026-07-09T06:07:08Z
blocker: none
Author follow-up (issue #435 / PR #456)
Pushed
73e82b6onfeat/issue-435-auth-deploymentto clear the reviewer blocker.Old head → new head
641818e31de1f39ffa7e9e6b7bc6df3371f4ebdf73e82b6c85d1636cd0d2c758c2fb5729c21c2c9fFiles
webui/lease_loader.py— importISSUE_LOCK_FILEfromissue_lock_provenance(notmerged_cleanup_reconcile, which does not export it)webui/__main__.py— validateWEBUI_HOSTbefore importing the full app stack so all-interface refuse exits immediately (fail-closed; avoids 3s hang in startup refusal)Validation
Ready for a fresh clean reviewer pass. Please re-pin head
73e82b6before approval.repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-456-aa299a
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-435-auth-deployment
phase: claimed
candidate_head:
c5d39da55btarget_branch: master
target_branch_sha: none
last_activity: 2026-07-09T13:31:38Z
expires_at: 2026-07-09T15:31:38Z
blocker: none
Review REQUEST_CHANGES — PR #456
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: #435
HEAD_SHA:
c5d39da55bREVIEW_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: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-456-aa299a
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-435-auth-deployment
phase: claimed
candidate_head:
c5d39da55btarget_branch: master
target_branch_sha:
cc4b95839dlast_activity: 2026-07-09T13:56:09Z
expires_at: 2026-07-09T15:56:09Z
blocker: none
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-456-aa299a
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-435-auth-deployment
phase: released
candidate_head:
c5d39da55btarget_branch: master
target_branch_sha:
cc4b95839dlast_activity: 2026-07-09T13:56:39Z
expires_at: 2026-07-09T15:56:39Z
blocker: manual-release
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-456-aa299a
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-435-auth-deployment
phase: claimed
candidate_head:
9c105df1c3target_branch: master
target_branch_sha:
cc4b95839dlast_activity: 2026-07-09T15:04:46Z
expires_at: 2026-07-09T17:04:46Z
blocker: none
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-456-aa299a
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-435-auth-deployment
phase: claimed
candidate_head:
9c105df1c3target_branch: master
target_branch_sha:
cc4b95839dlast_activity: 2026-07-09T15:06:31Z
expires_at: 2026-07-09T17:06:31Z
blocker: none
Canonical PR State
STATE: review-approved
WHO_IS_NEXT: merger
NEXT_ACTION: merge PR #456 after explicit operator authorization
NEXT_PROMPT:
WHAT_HAPPENED: Reviewed PR #456 (Web UI auth/deployment boundary); approved head
9c105df1c3.WHY: Internal-only bind assessment, refuses public bind without opt-in, deployment docs and health metadata.
ISSUE: #435
HEAD_SHA:
9c105df1c3REVIEW_STATUS: APPROVED
MERGE_READY: yes (awaiting explicit merge authorization)
BLOCKERS: none
VALIDATION: pytest tests/test_webui_*.py -> 76 passed
LAST_UPDATED_BY: sysadmin (prgs-reviewer)
Review notes
9c105df1c3to1334b0b320repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: continue-prgs-rc-456-aa299a
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-435-auth-deployment
phase: claimed
candidate_head:
1334b0b320target_branch: master
target_branch_sha:
8d1098f916last_activity: 2026-07-09T15:56:41Z
expires_at: 2026-07-09T17:56:41Z
blocker: none
Canonical PR State
STATE: review-approved
WHO_IS_NEXT: merger
NEXT_ACTION: merge PR #456 after explicit operator authorization
NEXT_PROMPT:
WHAT_HAPPENED: Re-approved PR #456 after conflict-fix rebase onto master; head
1334b0b320.WHY: Conflict resolution only (docs/webui-local-dev.md and related); tests pass at new head.
ISSUE: #435
HEAD_SHA:
1334b0b320REVIEW_STATUS: APPROVED
MERGE_READY: yes
BLOCKERS: none
VALIDATION: rebased onto master; targeted webui pytest green
LAST_UPDATED_BY: sysadmin (prgs-reviewer)
adopted_at: 2026-07-09T15:58:39Z
adopted_by_identity: sysadmin
adopted_by_profile: prgs-merger
adopted_from_session_id: continue-prgs-rc-456-aa299a
adopted_from_profile: prgs-reviewer
adopted_from_reviewer_identity: sysadmin
adopted_from_comment_id: 8242
adoption_reason: merger-handoff-approved-head
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #456
issue: #435
reviewer_identity: sysadmin
profile: prgs-merger
session_id: continue-prgs-rc-456-aa299a
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/merger-queue
phase: adopted
candidate_head:
1334b0b320target_branch: master
target_branch_sha:
8d1098f916last_activity: 2026-07-09T15:58:39Z
expires_at: 2026-07-09T17:58:39Z
blocker: none