docs(#2215): extend forge abstraction scope to action.yml - #2219
Conversation
Site previewPreview: https://ccc04aee-site.fullsend-ai.workers.dev Commit: |
|
🤖 Finished Review · ✅ Success · Started 12:11 PM UTC · Completed 12:18 PM UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ReviewFindingsMedium
Info
Previous runReviewFindingsMedium
|
e2ccaab to
38cfc04
Compare
|
🤖 Finished Review · ✅ Success · Started 5:49 PM UTC · Completed 5:58 PM UTC |
The forge abstraction rule in CLAUDE.md and AGENTS.md was written with Go-specific examples (exec.Command, net/http) and did not explicitly cover action.yml bash scripts. This led the code agent in PR #2150 to correctly use forge.Client in Go but also add parallel inline gh api calls in action.yml, requiring substantial rework. Both files now state that new GitHub API operations in action.yml steps should be implemented as fullsend CLI subcommands (under internal/cli/) that use forge.Client, not as inline gh api calls. Existing gh api calls are grandfathered but should be migrated when touched. Note: make lint could not run in sandbox due to shellcheck installation failure (network restriction). This is a docs-only change with no code to test. Closes #2215
38cfc04 to
ccb76b7
Compare
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
1 similar comment
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
|
🤖 Finished Retro · ✅ Success · Started 10:01 AM UTC · Completed 10:11 AM UTC |
|
PR #2219 was a 2-line docs-only change to AGENTS.md that extended the forge abstraction scope to cover action.yml bash scripts. It originated from a retro on PR #2150, where the code agent correctly used forge.Client in Go but also added parallel inline gh api calls in action.yml — requiring 8 review cycles and ~29 hours of rework. The retro system worked well end-to-end: retro identified root cause → filed issue #2215 → code agent created minimal fix → merged. Two inefficiencies stand out: (1) the retro agent's issue directed the code agent to edit CLAUDE.md (a one-line pointer to AGENTS.md), causing an unnecessary modification that a human reviewer had to fix via force push 3 days later; (2) the 2-line docs change took 25 days from creation to merge — first human approval came in 3.5 hours, but a second approval wasn't received until 25 days later. Both are instances of known open issues (#2290 and #2004 respectively). Additionally, the review agent raised a valid terminology precision point about 'Action workflows' being ambiguous in GitHub Actions context, which was not addressed before merge. Proposals filed
|
The forge abstraction rule in CLAUDE.md and AGENTS.md was written with Go-specific examples (exec.Command, net/http) and did not explicitly cover action.yml bash scripts. This led the code agent in PR #2150 to correctly use forge.Client in Go but also add parallel inline gh api calls in action.yml, requiring substantial rework.
Both files now state that new GitHub API operations in action.yml steps should be implemented as fullsend CLI subcommands (under internal/cli/) that use forge.Client, not as inline gh api calls. Existing gh api calls are grandfathered but should be migrated when touched.
Note: make lint could not run in sandbox due to shellcheck installation failure (network restriction). This is a docs-only change with no code to test.
Closes #2215
Post-script verification
agent/2215-forge-action-yml-scope)9c19aa5cc7bd8f1d0d499453d12855e03c8b7f9c..HEAD)