Skip to content

fix: handle merged dependencies and preserve research review context - #22

Merged
christopherjnelson merged 3 commits into
mainfrom
fix/github-integration-and-research-context
Oct 3, 2026
Merged

christopherjnelson merged 3 commits into
mainfrom
fix/github-integration-and-research-context

Conversation

@christopherjnelson

Copy link
Copy Markdown
Member

What changed

Foreman now recognizes GitHub-confirmed merge commits, squash commits, and rebase commits as dependency evidence only when the PR repository, promoted branch, and reviewed head match. A dependent task becomes eligible when the confirmed merged commit is in local HEAD; stale checkouts, changed heads, unrelated PRs, open test-merge SHAs, and closed-unmerged PRs remain blocked. Preview and task start use the same proof. GitHub refresh and local-checkout update report progress, completion, stale errors, and local readiness; checkout updates stay clean-tree, correct-base, fast-forward-only. Foreman merge offers Squash by default, Rebase, and Merge commit, while respecting repository settings and merge queues. Generated branches, titles, and commit messages use conventional task-based names.

Task execution now carries the immutable run contract and captured public research into Worker and Reviewer contexts with digest bindings. Orchestration can gather bounded public HTTPS evidence across multiple rounds, refine cached captures without another request, and explicitly block when evidence or budget is insufficient. Configurable transport and evidence limits support larger source responses while preserving source provenance and reporting when complete evidence does not fit. Reviewer retry recovery preserves historical stop events and clears only a superseded stop after a matching successful recommendation. The local CLI bridge writes each prompt once, verifies complete delivery, and the UI reports actionable failures.

Validation

pnpm test: 718 passed, 1 skipped across 51 files. The direct local UHP bridge suite passed 83/83. pnpm typecheck, git diff --check, and isolated server/UI production builds passed; the build used a separate output directory and left dist untouched.

Using the changes

Stop the running Foreman server before rebuilding so its dist files are not overwritten while in use. Run pnpm build, restart the server, then refresh the browser. This branch did not modify .foreman-data or dist.

@christopherjnelson
christopherjnelson marked this pull request as ready for review October 3, 2026 19:55
@christopherjnelson
christopherjnelson merged commit e2e52f9 into main Oct 3, 2026
1 check passed
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