Skip to content

upstreaming: refresh dossiers on existing PRs - #5005

Merged
luhenry merged 1 commit into
mainfrom
upstreaming-pipeline
Nov 20, 2026
Merged

luhenry merged 1 commit into
mainfrom
upstreaming-pipeline

Conversation

@luhenry

@luhenry luhenry commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

Add a normal, non-destructive dossier refresh path for an existing development PR.

New command:

/upstreaming refresh revision=N reason="Re-investigate the existing PR with current policy."

The command:

  • requires an exact current revision, development or handoff, a verified existing fork/PR/head, and no active Work, writer operation, or publication;
  • preserves the fork, riscv64 head, development PR, processed review cursors, pending authorized feedback, and lifecycle history;
  • invalidates old dossier-derived scope, readiness, proposal and CI evidence;
  • queues a complete fresh investigation using the latest investigator prompt;
  • gives that investigator the refresh reason plus existing PR/head context and requires it to read all PR discussion, reviews, CI runs and logs;
  • records the new verified dossier and replaces the old admission class and exact multi-path scope;
  • returns a develop result directly to development/fix_needed, without reprovisioning or recreating the PR;
  • automatically allocates one fresh repair Work revision;
  • always includes the latest dossier as structured worker reason evidence, alongside pending review and CI evidence;
  • teaches the latest worker prompt to treat refreshed dossier path/dependency/topology findings as authoritative current research while revalidating them;
  • parks normally if the fresh dossier says no bounded work is actionable.

The abandoned-generation restart command remains the destructive clean-room fallback.

Validation

  • 216 upstreaming tests pass.
  • Regression coverage includes command gating, fork/PR preservation, scope invalidation, immutable refresh context, refreshed dossier reconciliation, no reprovisioning, automatic worker allocation, dossier reason propagation, and lifecycle ledger guidance.
  • Investigator and worker locks were regenerated with gh-aw v1.2.2.
  • Full gh-aw v1.2.2 checks pass.
  • git diff --check passes.

@luhenry
luhenry merged commit df1bc4d into main Nov 20, 2026
4 checks passed
@luhenry
luhenry deleted the upstreaming-pipeline branch November 20, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant