feat(webui): versioned project registry API (Closes #635) #819
Merged
sysadmin
merged 1 commits from 2026-07-22 20:04:27 -05:00
feat/issue-635-project-registry-api into master
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#819
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.
Closes #635
Summary
Phase 1 evolution of the Web Console project registry API:
GET /api/v1/projectscontract with project status, remotes/orgs/repos, onboarding checklist state, and optional last-seen healthLinked issue
Closes #635
Files changed (7)
docs/webui-local-dev.mddocs/webui-project-registry-api.mdtests/test_webui_project_registry.pywebui/app.pywebui/data/projects.registry.jsonwebui/project_registry.pywebui/project_views.pyValidation
/Users/jasonwalker/Development/Gitea-Tools/branches/issue-635-project-registry-apifeat/issue-635-project-registry-apib2f6e9a6dc40e9651ef876f322dd0a68bddebfd8pytest tests/test_webui_project_registry.py→ 30 passed, 22 subtests passedgitea_publish_unpublished_issue_branch(AC20) after PR #817 preflight worktree-forwarding load proofsuccess: trueRisk
Low: read-only API surface, fail-closed registry load, no credentials in registry JSON, no write endpoints.
Author handoff
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #819
issue: #635
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 18405-51fd8b8a8672
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-pr-819
phase: claimed
candidate_head:
b2f6e9a6dctarget_branch: master
target_branch_sha:
14c9c4d702last_activity: 2026-07-23T00:45:44Z
expires_at: 2026-07-23T00:55:44Z
blocker: none
Review Summary for PR #819 (Owning Issue #635)
Verification Evidence & Findings
Acceptance Criteria:
docs/webui-project-registry-api.mddocuments routes, fields, response shapes, and fail-closed error contracts. Updateddocs/webui-local-dev.md.webui/project_registry.py(PROJECT_STATUSES,ONBOARDING_STATES,OnboardingSummary,ProjectHealth). Serialized inproject_to_dict.RegistryErrorraised with actionableremediation,field_path, andsource_path. HTTP 500 JSON error or fail-closed HTML error page.tests/test_webui_project_registry.pycovers load, defaults, enum checks, missing fields, invalid JSON, missing file, credential rejection, and v1/v2 schema compatibility.webui/project_views.pyrenders all views usingproject_to_dict.Diff Scope:
Security & Boundaries:
GETroutes only)._reject_credential_keysguard usingwebui.registry_safety.is_forbidden_key.Validation:
pytest tests/test_webui_project_registry.py): 30 passed, 22 subtests passed.pytest tests/ -k "webui or registry or project"): 199 passed.pytest tests/): 4340 passed, with 11 pre-existing failures matching baseline.b2f6e9a6dc40e9651ef876f322dd0a68bddebfd8.repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #819
issue: #635
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 18405-51fd8b8a8672
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-pr-819
phase: released
candidate_head:
b2f6e9a6dctarget_branch: master
target_branch_sha:
14c9c4d702last_activity: 2026-07-23T00:48:26Z
expires_at: 2026-07-23T00:58:26Z
blocker: manual-release
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #819
issue: #635
reviewer_identity: sysadmin
profile: prgs-merger
session_id: 46833-d34684c5717a
worktree: /Users/jasonwalker/Development/Gitea-Tools
phase: claimed
candidate_head:
b2f6e9a6dctarget_branch: master
target_branch_sha:
14c9c4d702last_activity: 2026-07-23T01:02:40Z
expires_at: 2026-07-23T01:12:40Z
blocker: none
Stale #332 review-decision lock cleanup (#594)
Status: APPLIED
sysadminprgs-merger2026-07-23T01:04:28.923939+00:00approveon PR feat(webui): versioned project registry API (Closes #635) (#819)closed(merged=True)53c2c92782fdb4b3ac4af922e6814f345141f82f1prgs-reviewerManual deletion of session-state files is not the workflow.
This path only clears a lock when the referenced PR is merged/closed.