Repository navigation
A hand-off to a person is typed, and CoderHelm owns its own limits #930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # xd. `xd_own_limits_never_a_persons` | ||
|
|
||
| **What happened:** A fix run's own review asked for one proof: run the fixed end-to-end test twenty times. The fix round couldn't, because CoderHelm's own sandbox couldn't reach the sites the test runs against. It ended with "NEEDS A PERSON ... outside_reach", asking someone to widen CoderHelm's own network allowlist or run the command themselves. It called a repeat run in CI "outside this ticket". CoderHelm doesn't merge over its own review, so the pull request sat with nothing moving it. The same shape came back from other limits CoderHelm owns: its time budget, its tools, a workflow's triggers it hadn't read, and a proof its review asked for that none of its routes could run. | ||
|
|
||
| **The guarantee:** A hand-off to a person is a typed value (`common::person_only::PersonOnly`) from a closed set: a named permission an owner or admin grants, a product decision, an approval the repository's or team's rules require, a credential only the person holds, work someone else holds, or a real-world action. Its text is private to the module, and no variant covers CoderHelm's sandbox, network allowlist, budgets, tools, CI use, labels, tests or reads. Every written hand-off goes through one parser (`person_only::parse`, `of_reason`, `of_human_only`): the person gate's items, a fix round's `NEEDS A PERSON` line, and hand-backs. A limit CoderHelm owns comes back as an `OwnProblem`. That becomes an internal alert for CoderHelm's maintainers and one plain line on the run page, and the work goes on by another route. On its own pull request, CoderHelm's reviewer blocks only on what one of its routes can satisfy: an edit, a sandbox run, CI, or a page check. Anything else becomes one question or CoderHelm's own note (`review_feasible`). A pull request with no progress for a day gets a self-diagnosis, a retry along its next route and an internal alert (`own_problems::check`, on the 15-minute sweep). The team's hand-offs are counted by reason, its own problems by subject, along with the time each pull request spent blocked. |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.