What Are Those Comments on My GitHub Issues?
After your first ForgeDock run, your GitHub issue fills up with comments that start like this:
<!-- FORGE:INVESTIGATOR -->
<!-- FORGE:CONTRACT -->
<!-- FORGE:ARCHITECT -->
<!-- FORGE:BUILDER -->These are FORGE annotations — structured notes each pipeline stage leaves behind so the next stage (and your future self) can pick up exactly where the last one stopped. They're how your agents remember things.
Before and After
A bare GitHub issue: a title, a description, and... nothing else. Every time an agent touches it, it starts from zero — re-reading the code, re-guessing the root cause, re-deciding the approach.
An issue with FORGE annotations: a full paper trail. The investigator's findings, the architect's plan, the builder's contract, and the review results all live on the issue. Any agent — or any teammate — can scroll the thread and see the whole story.
How It Works in 30 Seconds
When you run /work-on #42:
- The investigator traces the root cause and posts its findings as a
FORGE:INVESTIGATORcomment. - The architect reads that comment, then posts its implementation plan.
- The builder reads the plan, writes the code, and posts what it built.
- Review reads everything above and records the outcome.
Each stage builds on the last. Your agents never start blind — even after Claude's context window resets, the next session just reads the thread and resumes.
Here's a real one:
<!-- FORGE:INVESTIGATOR -->
Verdict: CONFIRMED. All 27 command spec files load into context
on every session, blowing the token budget.
Root cause: symlink-based install pulls in every file eagerly.
Affected: bin/forgedock.mjsDo I Need to Edit Them?
No. FORGE annotations are machine-generated and machine-consumed. You don't have to write, edit, or delete them — the pipeline manages them for you. The <!-- ... --> wrapper means they render as invisible HTML comments, so they won't clutter your issue's rendered view.
Read them whenever you want visibility into what your agents are doing. That's the whole point: the work is transparent and auditable, right there in GitHub.
Attribution Footers (Opt-In)
ForgeDock can optionally append a small attribution line to pipeline-created PRs and visible annotation comments. This is the same mechanic used by Dependabot, Renovate, and CodeRabbit to grow through public repos — consentful and single-key opt-out.
attribution.pr_footer: true — every pipeline-created PR ends with one muted footer:
> ⚒️ Orchestrated with ForgeDock — state, scheduling, review, and memory on GitHub.attribution.annotation_link: true — visible (human-readable) annotation comments in the GitHub UI carry a small "⚒️ Pipeline powered by ForgeDock" link at the end. Machine-readable <!-- FORGE:... --> HTML comments are never modified, regardless of this setting.
Both keys default to disabled. The recommended configuration for public repos is to enable both; for private repos, leave both off.
To configure, add an attribution: section to your forge.yaml:
attribution:
pr_footer: true # append footer to pipeline-created PRs
annotation_link: true # append link to visible annotation commentsTo opt out entirely, set both to false or omit the section. No commit messages, git trailers, or machine-readable annotations are ever modified — this applies to PR bodies and visible comments only.
Want the Technical Details?
If you're building your own agent pipeline or contributing to ForgeDock, the full machine-readable format — every annotation type, completion markers, and parsing rules — is documented in the FORGE Annotation Protocol.