Skip to content

feat(github): board-owned project status, declared field sources and truthful project sync #703

Closed

Description

@dan-petty

Context & Rationale

Docs say devops gh project sync pushes task-file status to the board (src/devops_cli/lang/en/help.py:746-748, docs/MCP_TOOLS.md:852, docs/agent/tasks/README.md:13), but sync_remote_project only counts task items (src/devops_cli/github/projects.py:1485). project reconcile recomputes Status, Priority, Category, Value and Effort every pass (projects.py:1169-1225), and _filter_differing_fields (:1154) overwrites differing board values, so hand corrections revert, breaking AGENTS.md:61. Status matches labels by substring with a Ready fallback (:1004-1021): status/ready-to-merge and status/triage both yield Ready, and no .github/labels.yml label yields Backlog. Category/Value/Effort come from TAXONOMY_CATEGORY_MAPPING (:1046) keyed on the type/feature label roadmap sync puts on every issue (github/roadmap_sync.py:121), not the ROADMAP matrix; _derive_scope (:77) keyword-matches, which AGENTS.md:21 prohibits. Nothing records which branch decided, results are counts (projects.py:1431-1432), and a failed issue fetch returns [] (github/issues.py:118-140). vibes tools/sdlc_project_manager.py hit the same faults; tools/portfolio_balance.py classify() returns (kind, source).

Scope & Deliverables

  • Context & Rationale*: Docs say devops gh project sync pushes task-file status to the board (src/devops_cli/lang/en/help.py:746-748, docs/MCP_TOOLS.md:852, docs/agent/tasks/README.md:13), but sync_remote_project only counts task items (src/devops_cli/github/projects.py:1485). project reconcile recomputes Status, Priority, Category, Value and Effort every pass (projects.py:1169-1225), and _filter_differing_fields (:1154) overwrites differing board values, so hand corrections revert, breaking AGENTS.md:61. Status matches labels by substring with a Ready fallback (:1004-1021): status/ready-to-merge and status/triage both yield Ready, and no .github/labels.yml label yields Backlog. Category/Value/Effort come from TAXONOMY_CATEGORY_MAPPING (:1046) keyed on the type/feature label roadmap sync puts on every issue (github/roadmap_sync.py:121), not the ROADMAP matrix; _derive_scope (:77) keyword-matches, which AGENTS.md:21 prohibits. Nothing records which branch decided, results are counts (projects.py:1431-1432), and a failed issue fetch returns [] (github/issues.py:118-140). vibes tools/sdlc_project_manager.py hit the same faults; tools/portfolio_balance.py classify() returns (kind, source).
  • Deliverable*: Measure first: project reconcile --dry-run lists each change with field, old and new value, and source, and reconcile_project_custom_fields returns that list (live runs need read:project). Then the board owns Status: reconcile writes it only when unset or when issue/PR state forces Done, In Review or In Progress; other moves belong to the built-in workflows project workflows list audits. Status labels match exactly; status/blocked maps only if the template gains Blocked; CONST_PROJECT_WORKFLOW_EXPECTATIONS expects the template's Backlog, not Todo. Reconcile never overwrites a non-empty Category/Value/Effort with an inferred value. Once a join key exists (a test that every scheduled matrix row joins its item, or a key column), sync stamps Value/Effort from the matrix and Category through a declared category map; until then it stays unset. Sync reports the scope/cli fallback share. Fetch failures raise, fetches paginate past 200, and reconcile refuses a missing template board instead of defaulting to board 2 (src/devops_cli/commands/gh.py:613). Rewrite the three project sync texts. Separate: suffix priority (R1-16's first PR), priority refresh in issues reconcile-roadmap, promotion (planned devops gh pm deps), Ready ordering (Sprint Kanban sort_by), the literal-subset lint (Anti-Brittle Constant Elimination).
  • Constraint*: Making task files write Status creates a second owner fighting the board and Closes #N. A reconciler that overwrites Status reverts manual triage; one that skips closed or PR-backed items leaves merged work outside Done. An inferred field that keeps writing is worse than an unset one: the board presents it as decided. A raised fetch error must stay distinct from a successful empty list, or a new repository never syncs.
  • Measured*: gh issue list --state all --limit 2000 --json number --jq length: 265 issues, past the 200 fetched at roadmap_sync.py:410. uv run python probe/dedupe.py: 63 of 105 open roadmap items are untracked whether the issue list is empty, capped or full, so a silent [] goes unnoticed. uv run python probe/matrix_vs_reconcile.py: inferred Effort contradicts the matrix on 71 of 93 scheduled rows. uv run python probe/value_matrix_join.py: 50 of 93 rows join a body item by exact title. Scratch probes, run from the devops-cli root.
  • Source*: vibes patterns/autonomous-sdlc-project-management.md, tools/sdlc_project_manager.py, observations/devops-cli/06-rate-limits-and-anti-brittle-heuristics.md, tools/portfolio_balance.py, tools/project_tooling.py

Strategic Alignment

  • Milestone: v0.2.24 (Reactive Workstation Command Center, Interactive TUI & Unified Operations Hub)
  • Roadmap Reference: docs/ROADMAP.md

Activity

  1. added this to the v0.2.24 milestone on Sep 28, 2026
  2. added
    type/feature
    scope/github
    priority/p0-critical
    on Sep 28, 2026
  3. dan-petty commented on Oct 1, 2026

    @dan-petty
    OwnerAuthor

    Closed by #799, merged into release/v0.2.24.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

  4. added a commit that references this issue on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p0-criticalscope/githubtype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions