[bug] Repair project issue/PR automation and blocker reconciliation

Open
#340 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@qiuethan is already working on this.

Since Nov 3, 2026.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, python
Domain
devops, tooling

Research direction

Review PR #344 and the .github/PROJECT-BOARD.md runbook first; it contains the replacement workflow and the state policy. After the PR merges, run the hosted workflow in dry-run mode to validate PROJECTS_TOKEN permissions, then write mode and check convergence. Done means hosted transitions and the explicitly linked issue are validated across draft, review, rework, approval, merge, abandonment and reopening while on-hold work and incomplete acceptance remain intact.

Written by the indexing model from the issue text.

Description

area/tooling type/bug
Current status — 2026-11-10

Native project workflows are enabled. The replacement repository reconciler and operational reports remain in open PR #344, awaiting approval and merge into staging. Contributor documentation #345 and agent guidance #346 have already merged.

PR #344's current head, d7edb79dc346261f8ab75424fcef6d9689b01550, has passing CI, including the activation regression guard. The October 27 hosted reconcile failure predates that fix; it is not the current head's CI result. The replacement workflow and scripts are still absent from staging, so hosted token validation, convergence and lifecycle/scheduled acceptance remain outstanding. Keep this issue open until those steps pass; do not re-enable the old workflow.

Area

tooling

Findings
  • blocked-ready-automation.yml is manually disabled; its last runs were in August. Its code never adds project cards and has no PR lifecycle triggers.
  • That old workflow targets a deleted Blocked status option, and its blocker-closure path can reset assigned dependents to Ready. Errors can be warnings in otherwise green runs.
  • Project 13 had no general auto-add rule. It had only sub-issue auto-add. Review changes/approval and reopening rules were disabled.
  • The default branch is already staging. Explicit closing links work there; a plain issue mention is not a closing link, and merge does not establish unperformed acceptance.
Completed configuration and verification
  • Enable native auto-add for open issues/PRs in UTMIST/Misty; exclude only the consolidated automation/report label.
  • Enable changes-requested → In progress, approved → In review and reopened → Backlog.
  • Verify existing new-item → Backlog, linked-PR → In progress, closed/merged → Done and Done → issue close settings; retain two-week closed-issue auto-archive.
  • Verify native issue auto-add, Done-to-close, reopen-to-Backlog and close-to-Done using temporary #343; close as not planned and archive the probe afterwards.
  • Verify native PR auto-add using the substantive on-hold bookkeeping update on #266. Its existing review state initially selected In progress; the explicit Backlog hold was restored manually. Native rules do not honor the new hold label until the replacement reconciler is live.
  • Record explicit on-hold labels for existing deferrals, so later reconciliation does not resume them.
  • Implement local current-state reconciliation for issue/PR/review events and a periodic repair pass, resolving live Status options by name and preserving unrelated project metadata.
  • Pass offline regression tests, Actionlint and label consistency; inspect a read-only live-API plan. No provider/runtime tests or deployment were performed.
Additional automations requested
  • Implement an independent workflow health check with a reusable incident and recovery handling.
  • Implement warning-only PR issue-link and full-scope closure advice.
  • Implement actual Railway deployment evidence on the exact merged PR and its explicit closing issues.
  • Implement one weekly exceptions report, including epic completion/acceptance review.
  • Pass Node 22 offline regression tests, Actionlint and label consistency; preview all additions through read-only live API requests.
  • Create automation/report, automation/health and no-issue-needed labels; save and read back the native auto-add exclusion for report issues.
  • Merge the additional workflows, validate hosted credentials and permissions with manual dry runs, then verify actual scheduled/event-driven execution.

Historical October 26 previews identified review/ownership exceptions and epic #60's acceptance gap. Production deployment 7323061607 resolved to PR #330 with three Railway service observations. Those previews posted no report issues or deployment comments; their queue and ownership snapshot is historical. The new Actions workflows remain pending installation through #344. Documentation companions #345 and #346 are merged.

Remaining before closure
  • Merge documentation companions #345 and #346.
  • Review and merge #344 into staging. It supplies the referenced runbook and replaces the disabled workflow with project-board.yml; do not re-enable the old implementation.
  • Run the new hosted workflow in dry-run mode to validate PROJECTS_TOKEN permissions, then run the write mode and confirm convergence.
  • Exercise draft/review/rework/approval/merge and abandoned/reopened PR transitions during legitimate development, checking the explicitly linked issue too. Preserve on-hold work and incomplete acceptance.
Policy and implementation

The .github/PROJECT-BOARD.md runbook in #344 records the native rules, exact state policy, validation limits, rollout/recovery and rationale for each changed file. GitHub owns issue closure through explicit closing links; the reconciliation code does not invent closure from arbitrary references or a merged partial implementation. Native settings are live; the additional Actions behavior remains pending merge.

Dominant language
Python
Stars
0
Forks
2
Avg merge
3d 3h
Merged PRs (30d)
31

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UTMIST/Misty

All issues in UTMIST/Misty

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.