Project Reconciliation
Intro
Use /pk-reconcile to turn the recurring cleanup request into one guarded
workflow. It owns the combined migration, pk-doctor, issue, and pull-request
queues; the specialist skills continue to own their individual remediations.
Overview
Select a scope
| Scope |
Behaviour |
all (default) |
Reconcile migrations, doctor findings, and repository queues. |
session-start |
Resolve safe migrations and health work; inventory GitHub state without closing issues or merging pull requests. |
migrations |
Resolve only pending and in-progress migrations. |
doctor |
Resolve the pk-doctor remediation queue. |
repo |
Run guarded repository reconciliation for issues, pull requests, local commits, and push readiness. |
report-only |
Inspect every selected queue and make no changes. |
Reconcile in order
- Migrations. Apply or continue unambiguous migrations; reject clearly
malformed no-op migrations. Ask before policy-changing, destructive,
ambiguous, conflicting, or externally blocked changes.
- Health. Run
pk-doctor; build a queue from every ERROR, WARN, and
actionable INFO. Use the owning tool to fix safe, unambiguous findings,
then rerun the doctor.
- Repository. Run
pk-repo-reconcile in plan mode. Resolve issues only
with evidence and merge only non-draft pull requests that satisfy branch
protection and checks. Obtain the existing confirmation tokens before
external close or merge actions.
- Report. Rerun the selected checks. State what was fixed, what remains,
the owner or blocker for each remaining item, and the next exact action.
/pk-resume invokes pk-reconcile session-start before generating its
briefing. It does not repeat the reconciliation logic or silently close an
issue or merge a pull request at session start.
Gotchas
- Treating every finding as safe to auto-fix. Errors, warnings, and
actionable INFO are a queue, not blanket permission. Preserve the owning
skill's confirmation and state-machine rules.
- Closing GitHub issues because a related change exists. Link concrete
evidence and use the repository tool's required confirmation; otherwise
leave a proposed resolution in the report.
- Merging a pull request merely because it is open. Draft state, missing
checks, unresolved comments, and branch protection remain hard blockers.
- Running full repository mutation during pk-resume. Session start may
inspect GitHub state, but external close and merge actions require the
explicit full reconciliation scope and its confirmations.
- Reporting doctor totals without action totals. A zero-WARN result is
not clean if actionable INFO remains. Always account for both queues.
- Moving migration files by hand. Use migration-management tools so
validation, state transitions, and audit events remain consistent.
Full reference
Completion contract
Report each selected queue using this shape:
Scope:
Resolved:
Remaining:
Blocked or confirmation-required:
Recheck evidence:
Next action:
all is complete only when every selected item is fixed, explicitly
deferred with a reason, linked to evidence or a tracking item, or reported as
blocked by missing authority or external state.
Anti-patterns
- Replacing specialist remediation with a generic script. Delegate to
the migration, doctor, and repository owners; this skill coordinates order
and reporting only.
- Treating a plan as execution. A dry run is valuable but does not resolve
work. Say clearly which mutations were applied and which require approval.
- Hiding an external blocker. Missing authentication, branch protection,
or a required reviewer is an actionable result, not a clean outcome.
Cross-references
migration-management — migration state transitions
pk-doctor — health finding remediation
repo-management — guarded issues, pull requests, commits, and pushes
1---2name: project-reconciliation3description: |4 Reconcile a processkit project’s migrations, health findings, and5 repository collaboration queue. Use when resolving all migrations,6 pk-doctor findings, GitHub issues, pull requests, or release blockers.7metadata:8 source: https://skillmd.com/skills/projectious-work/project-reconciliation9 processkit:10 apiVersion: processkit.projectious.work/v211 id: SKILL-project-reconciliation12 version: "1.0.0"13 created: 2026-07-21T19:30:00Z14 category: processkit15 layer: 416 uses:17 - skill: migration-management18 purpose: "Query and resolve pending or in-progress migrations through their state-machine tools."19 - skill: pk-doctor20 purpose: "Build and remediate the repository-health queue from errors, warnings, and actionable findings."21 - skill: repo-management22 purpose: "Plan and apply guarded issue, pull-request, local-commit, and push reconciliation."23 provides:24 processes: [project-reconciliation]25 commands:26 - name: pk-reconcile27 args: "scope (optional: all, session-start, migrations, doctor, repo, report-only)"28 description: "Reconcile a project's migration, health, and repository queues with guarded remediation."29---3031# Project Reconciliation3233## Intro3435Use `/pk-reconcile` to turn the recurring cleanup request into one guarded36workflow. It owns the combined migration, pk-doctor, issue, and pull-request37queues; the specialist skills continue to own their individual remediations.3839## Overview4041### Select a scope4243| Scope | Behaviour |44| --- | --- |45| `all` (default) | Reconcile migrations, doctor findings, and repository queues. |46| `session-start` | Resolve safe migrations and health work; inventory GitHub state without closing issues or merging pull requests. |47| `migrations` | Resolve only pending and in-progress migrations. |48| `doctor` | Resolve the pk-doctor remediation queue. |49| `repo` | Run guarded repository reconciliation for issues, pull requests, local commits, and push readiness. |50| `report-only` | Inspect every selected queue and make no changes. |5152### Reconcile in order53541. **Migrations.** Apply or continue unambiguous migrations; reject clearly55 malformed no-op migrations. Ask before policy-changing, destructive,56 ambiguous, conflicting, or externally blocked changes.572. **Health.** Run `pk-doctor`; build a queue from every ERROR, WARN, and58 actionable INFO. Use the owning tool to fix safe, unambiguous findings,59 then rerun the doctor.603. **Repository.** Run `pk-repo-reconcile` in plan mode. Resolve issues only61 with evidence and merge only non-draft pull requests that satisfy branch62 protection and checks. Obtain the existing confirmation tokens before63 external close or merge actions.644. **Report.** Rerun the selected checks. State what was fixed, what remains,65 the owner or blocker for each remaining item, and the next exact action.6667`/pk-resume` invokes `pk-reconcile session-start` before generating its68briefing. It does not repeat the reconciliation logic or silently close an69issue or merge a pull request at session start.7071## Gotchas7273- **Treating every finding as safe to auto-fix.** Errors, warnings, and74 actionable INFO are a queue, not blanket permission. Preserve the owning75 skill's confirmation and state-machine rules.76- **Closing GitHub issues because a related change exists.** Link concrete77 evidence and use the repository tool's required confirmation; otherwise78 leave a proposed resolution in the report.79- **Merging a pull request merely because it is open.** Draft state, missing80 checks, unresolved comments, and branch protection remain hard blockers.81- **Running full repository mutation during pk-resume.** Session start may82 inspect GitHub state, but external close and merge actions require the83 explicit full reconciliation scope and its confirmations.84- **Reporting doctor totals without action totals.** A zero-WARN result is85 not clean if actionable INFO remains. Always account for both queues.86- **Moving migration files by hand.** Use migration-management tools so87 validation, state transitions, and audit events remain consistent.8889## Full reference9091### Completion contract9293Report each selected queue using this shape:9495```text96Scope:97Resolved:98Remaining:99Blocked or confirmation-required:100Recheck evidence:101Next action:102```103104`all` is complete only when every selected item is fixed, explicitly105deferred with a reason, linked to evidence or a tracking item, or reported as106blocked by missing authority or external state.107108### Anti-patterns109110- **Replacing specialist remediation with a generic script.** Delegate to111 the migration, doctor, and repository owners; this skill coordinates order112 and reporting only.113- **Treating a plan as execution.** A dry run is valuable but does not resolve114 work. Say clearly which mutations were applied and which require approval.115- **Hiding an external blocker.** Missing authentication, branch protection,116 or a required reviewer is an actionable result, not a clean outcome.117118### Cross-references119120- `migration-management` — migration state transitions121- `pk-doctor` — health finding remediation122- `repo-management` — guarded issues, pull requests, commits, and pushes