Add Everhour estimate generator for GitHub issues#4302
Open
Copilot wants to merge 6 commits into
Open
Conversation
Copilot
AI
changed the title
[WIP] Add Everhour estimate generator for GitHub issues
Add Everhour estimate generator for GitHub issues
May 25, 2026
Contributor
|
@copilot I found the following issue in the
|
…ogging Co-authored-by: raineorshine <750276+raineorshine@users.noreply.github.com>
…ogging Co-authored-by: raineorshine <750276+raineorshine@users.noreply.github.com>
Contributor
Author
Fixed in the latest commit.
Tasks like 8 new unit tests added in |
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.
Automated estimation system that uses GitHub Models inference to estimate GitHub issues, writes estimates to Everhour, and supports manual corrections via
/estimate Nhcommands.Changes
Everhour API Client (
src/everhour/)Estimation Engine (
src/estimation/)loadInstructions.ts/loadSamples.ts— loads prompt corpus from.github/instructions/estimate/buildPrompt.ts— assembles instructions + samples + issue into model promptcallGitHubModel.ts— callsgpt-4o-minivia GitHub Models with retryvalidateEstimate.ts— strict schema validation with 3-attempt retry, hard failWorkflows (
.github/workflows/)estimate-issue-opened.yml— triggers onissues: [opened], skips empty bodiesestimate-command.yml— triggers on/estimate Nhcomments, validates hours, checks commenter trust, updates Everhour immediately, opens PR with samplebackfill-everhour-estimates.yml—workflow_dispatchwithlimitanddry_runinputs, traverses Everhour project tasks → missing estimates → GitHub issues → inferenceScripts (
scripts/)estimate-issue.ts/estimate-command.ts/backfill-everhour-estimates.tsTests (28 passing)
Usage
Valid estimate values:
1h(XXS),2h(XS),4h(S),8h(M),16h(L),24h(XL),48h(XXL).Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
ofcncog2cu-dsn.algolia.net/opt/hostedtoolcache/node/22.22.3/x64/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/yarn add -D tsx zod(dns block)If you need me to access, download, or install something from one of these locations, you can either: