Repository navigation
Add merge-risk assessment for reviewed pull requests - #62
Merged
Merged
Conversation
Posts one scored comment assessing merge risk after Factory's own code review completes on a pull request. Assessment only — never approves, blocks, or merges.
Flue requires skill frontmatter metadata to be a string-to-string mapping; the nested credits object failed the build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
src/merge-risk/, that posts one scored risk comment on a pull request after Factory's ownFactory Reviewcheck completes. It never approves, blocks, or merges anything.skills/merge-risk/SKILL.md, adapted from Warp'smerge-riskskill) using a cheap, tool-free model call over PR metadata, the changed-file list, check conclusions, and review states — no repository checkout.good/ok/poorcategory verdicts and fixed weights, not trusted to the model's own arithmetic.check_run.completedon Factory's own review check (not on every push), so it only runs for pull requests that were actually labeled for review or hadastro-reviewerrequested — keeping cost down given PR volume.MergeRiskCoordinator/MergeRiskWorkflow(new Durable Object + Workflow binding,v10migration) and a newrouter.tsrule that validates the check run's app id before enqueueing.Testing
Docs
README.mdwith a "Merge risk" capability section, the architecture diagram, and the routing-rules summary. No external docs needed — this repo isn't published as a package.