Skip to content

[Phase 5.1] Settings page: PROOF9 defaults and workspace config #556

@frankbria

Description

@frankbria

Goal

Complete the Settings page with PROOF9 gate defaults and workspace configuration tabs.

Background

Gate strictness and workspace paths are currently config-file-only. Surfacing them in the UI removes the last CLI-only onboarding steps.

Scope

PROOF9 Defaults tab:

  • Checkbox list of all 9 gates — check = enabled by default for new projects
  • Strictness selector: strict (fail on any open non-waived REQ) vs warn (allow merge with warnings)
  • Calls GET/PUT /api/v2/proof/config (add if missing)

Workspace Config tab:

  • Workspace root path (text input with directory browser or manual entry)
  • Default branch (text input, default main)
  • Tech-stack auto-detection toggle (on/off) + manual override field
  • Calls GET/PUT /api/v2/workspace/config (add if missing)

Both tabs use save/discard pattern consistent with Agent tab.

Acceptance criteria

  • PROOF9 gate defaults load, toggle, and persist
  • Strictness setting persists and is respected by gate runs
  • Workspace config loads and persists
  • npm test and npm run build pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestphase-5Phase 5: Advanced Features & Polish

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions