Skip to content

docs(#2215): extend forge abstraction scope to action.yml - #2219

Merged
ifireball merged 1 commit into
mainfrom
agent/2215-forge-action-yml-scope
Jul 7, 2026
Merged

docs(#2215): extend forge abstraction scope to action.yml#2219
ifireball merged 1 commit into
mainfrom
agent/2215-forge-action-yml-scope

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

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

  • Branch is not main/master (agent/2215-forge-action-yml-scope)
  • Secret scan passed (gitleaks — 9c19aa5cc7bd8f1d0d499453d12855e03c8b7f9c..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown

Site preview

Preview: https://ccc04aee-site.fullsend-ai.workers.dev

Commit: ccb76b7e0a983b1fdb1678e64aab07bdaf8a27b7

@fullsend-ai-review

fullsend-ai-review Bot commented Jun 12, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 12:11 PM UTC · Completed 12:18 PM UTC
Commit: e2ccaab · View workflow run →

@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fullsend-ai-review

fullsend-ai-review Bot commented Jun 12, 2026

Copy link
Copy Markdown

Review

Findings

Medium

Info

  • [terminology-precision] AGENTS.md:65 — The header "Action workflows" may cause confusion: in GitHub Actions terminology, "workflows" refers to .github/workflows/*.yml files, while action.yml defines a composite action. The parenthetical (action.yml) disambiguates in practice, but consider using "Composite actions" or "Action definitions" for terminological precision in a document that serves as authoritative guidance for agents.
Previous run

Review

Findings

Medium

@fullsend-ai-review fullsend-ai-review Bot added the requires-manual-review Review requires human judgment label Jun 12, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Jun 15, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 5:49 PM UTC · Completed 5:58 PM UTC
Commit: 38cfc04 · View workflow run →

@fullsend-ai-review fullsend-ai-review Bot added requires-manual-review Review requires human judgment and removed requires-manual-review Review requires human judgment labels Jun 15, 2026
@ralphbean
ralphbean requested a review from ggallen June 15, 2026 18:39
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
@rh-hemartin
rh-hemartin force-pushed the agent/2215-forge-action-yml-scope branch from 38cfc04 to ccb76b7 Compare July 1, 2026 08:37
@rh-hemartin
rh-hemartin requested a review from a team as a code owner July 1, 2026 08:37
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

E2E tests did not run

E2E tests run automatically for org/repo members and collaborators on pull requests.

For other contributors, a maintainer must add the ok-to-test label after the latest push.

See E2E testing guide for details.

1 similar comment
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

E2E tests did not run

E2E tests run automatically for org/repo members and collaborators on pull requests.

For other contributors, a maintainer must add the ok-to-test label after the latest push.

See E2E testing guide for details.

@ifireball
ifireball added this pull request to the merge queue Jul 7, 2026
Merged via the queue into main with commit 29df6d1 Jul 7, 2026
16 checks passed
@ifireball
ifireball deleted the agent/2215-forge-action-yml-scope branch July 7, 2026 09:59
@fullsend-ai-retro

fullsend-ai-retro Bot commented Jul 7, 2026

Copy link
Copy Markdown

🤖 Finished Retro · ✅ Success · Started 10:01 AM UTC · Completed 10:11 AM UTC
Commit: ccb76b7 · View workflow run →

@fullsend-ai-retro

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

requires-manual-review Review requires human judgment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify forge abstraction scope to cover action.yml bash scripts

2 participants