Skip to content

docs(#3862): remove ADR links from user-facing documentation - #5413

Merged
rh-hemartin merged 3 commits into
mainfrom
agent/3862-docs-remove-adr-links
Jul 30, 2026
Merged

docs(#3862): remove ADR links from user-facing documentation#5413
rh-hemartin merged 3 commits into
mainfrom
agent/3862-docs-remove-adr-links

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Summary

User-facing documentation linked to internal Architecture Decision Records (ADRs) as primary references for end-user tasks. ADRs are internal architectural decisions written for contributors — directing end users and LLMs to ADRs creates confusion and a poor onboarding experience.

This PR removes all ADR links from user-facing guides and replaces them with inline explanations or links to existing user-facing documentation. ADR references in contributor-facing dev docs are preserved.

Changes

  • Removed ADR links from 14 user-facing documentation files across docs/guides/user/, docs/guides/infrastructure/, and docs/guides/getting-started/
  • Replaced ADR references on deprecated features with links to the recommended user-facing guide (Bring Your Own Agent)
  • Added inline explanations where ADR links were the sole source of context (e.g., integrity hash requirements, pre-commit security rationale)
  • Preserved ADR references in contributor-facing docs (docs/guides/dev/) and the guides index navigation

Testing

  • Verified zero ADR references remain in docs/guides/user/, docs/guides/infrastructure/, and docs/guides/getting-started/ via grep
  • Verified ADR references in docs/guides/dev/ (contributor docs) are untouched
  • No code changes — documentation only

Closes #3862

Post-script verification

  • Branch is not main/master (agent/3862-docs-remove-adr-links)
  • Secret scan passed (gitleaks — c088a3c72eabffcc350196a71b6351fb7d6af659..HEAD)
  • PR body secret scan passed (gitleaks — no-git)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from a team as a code owner July 21, 2026 13:23
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Triggers review agent dispatch label Jul 21, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Jul 21, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:24 PM UTC · Completed 1:42 PM UTC
Commit: e32aa73 · View workflow run →

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown

Site preview

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

Commit: 223d0881fc0a4837b142b036180665c21102d9d9

@codecov

codecov Bot commented Jul 21, 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 Jul 21, 2026

Copy link
Copy Markdown

Review

Findings

Low

  • [visual correctness] docs/guides/user/customizing-agents.md:150 — The replacement text in the ASCII box header is 2 display characters wider than the box border. The box top/bottom borders have a display width of 64 columns, but the content line │ Configuration Layering (deprecated — use base: composition) │ has a display width of 66 columns, breaking visual alignment in monospace rendering. Shorten the text by 2 characters (e.g., Configuration Layering (deprecated; use base: instead)) or widen the entire box by 2 characters.
  • [conflicting-with-documented-decision] — This PR removes ADR links from user-facing guides, which is in tension with ADR 0023 writing rule Use AI to help formalise intent after rapid local prototyping #4 ("Link, don't restate"). The PR is backed by issue Documentation shouldn't link to ADRs #3862, representing an intentional editorial policy change. Consider updating ADR 0023's writing rule Use AI to help formalise intent after rapid local prototyping #4 to note that user-facing guides should provide inline context rather than linking to ADRs, per the policy established in Documentation shouldn't link to ADRs #3862.
Previous run

Review

Findings

Medium

Low

  • [Documentation completeness] docs/guides/infrastructure/distributed-tracing.md:108 — Replacement text "documents the planned contract" changes the semantic emphasis from "decided" (finalized) to "planned" (tentative). The preceding callout already states "Planned: Level 3 content capture is not yet implemented", so "planned contract" is contextually coherent, but "documents the telemetry contract" would be slightly cleaner.
  • [Comment clarity] docs/guides/user/bring-your-own-agent.md:186 — Inline YAML comment "Optional CEL expression over normevent" removes the ADR-0061 reference. The term "normevent" is not explained locally, though as an inline YAML comment in a reference section this is a minor gap.
  • [Comment clarity] docs/guides/user/bring-your-own-agent.md:196 — Inline YAML comment "Network access via provider profiles" removes the ADR-0065 reference. The comment still describes the field's purpose adequately.

Labels: PR modifies only documentation files under docs/guides/

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added requires-manual-review Review requires human judgment component/docs User-facing documentation labels Jul 21, 2026

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review-squad pass (3 independent agents: Claude x2, Grok). This is a clean, well-scoped docs-only change — dangling-link checks, cross-reference targets, and the dev-docs/ADR-index preservation policy all came back correct across all 14 touched files. Two MEDIUM+ issues surfaced where a removed ADR link left a term undefined or the replacement text made an inaccurate claim; see inline comments. Everything else raised (diagram alignment, a couple of dropped citations) was LOW/INFO and not included here.

Comment thread docs/guides/infrastructure/advanced-setup.md Outdated
Comment thread docs/guides/user/customizing-agents.md Outdated
@rh-hemartin

rh-hemartin commented Jul 22, 2026

Copy link
Copy Markdown
Member

@waynesun09 how @deboer-tim should proceed to fix these issues you and the bot mention? I don't think he would be able to push to this branch, as he lacks write permissions. Any recommendation?

@rh-hemartin

Copy link
Copy Markdown
Member

/fs-fix address the comments on the PR and rebase resolving conflicts.

@rh-hemartin rh-hemartin self-assigned this Jul 27, 2026
@fullsend-ai-coder

fullsend-ai-coder Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 8:43 AM UTC · Completed 8:51 AM UTC
Commit: e32aa73 · View workflow run →

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 1 (human-triggered)

Rebased PR onto current main (resolving 3 merge conflicts in org-mode.md, bring-your-own-agent.md, and customizing-with-agents-md.md). Addressed all review findings: fixed HIGH (undefined SaaS term) by adding inline explanation, fixed MEDIUM (hash-pinning misattribution) by correcting the claim, fixed LOW (planned contract phrasing). Disagreed with 3 findings: ADR 0023 conflict is out of scope, normevent issue was resolved by conflict resolution, and providers comment was adequate as-is.

Fixed (6):

  1. SaaS installation profile term left undefined (docs/guides/infrastructure/advanced-setup.md): Added inline explanation tying 'SaaS installation profile' back to the Managed model taxonomy already defined on the same page, as suggested by the reviewer.
  2. Replacement text misattributes hash-pinning to agent add CLI (docs/guides/user/customizing-agents.md): Removed the incorrect claim that 'fullsend agent add' computes hashes for provider/profile URLs. Replaced with accurate statement that the hash is checked on every resolution.
  3. Planned contract semantic emphasis (docs/guides/infrastructure/distributed-tracing.md): Changed 'documents the planned contract' to 'documents the telemetry contract' for cleaner phrasing, as suggested by the reviewer.
  4. Merge conflicts with main branch (docs/guides/getting-started/org-mode.md): Resolved merge conflict by adopting main's updated deprecation notice (which already omits the ADR link and uses improved wording with migration instructions).
  5. Merge conflicts with main branch (docs/guides/user/bring-your-own-agent.md): Resolved two merge conflicts: (1) preserved main's new introductory paragraphs while keeping ADR link removal from PR; (2) adopted main's updated trigger comment using 'NormalizedEvent' with CEL Triggers Reference link, which also resolves the bot's LOW finding about 'normevent' being unexplained.
  6. Merge conflicts with main branch (docs/guides/user/customizing-with-agents-md.md): Resolved merge conflict in deprecation notice wording, using em-dash style consistent with the rest of the PR.

Disagreed (3):

  1. ADR 0023 writing rule conflict: The bot flagged that removing ADR links conflicts with ADR 0023 writing rule Use AI to help formalise intent after rapid local prototyping #4. This PR implements issue Documentation shouldn't link to ADRs #3862, which represents an intentional editorial policy change. Writing or updating ADR 0023 is a separate task outside the scope of this documentation PR.
  2. Comment clarity - normevent term unexplained: Resolved by the merge conflict resolution: main already updated this YAML comment to use 'NormalizedEvent' with a cross-reference to the CEL Triggers Reference guide.
  3. Comment clarity - ADR-0065 reference removed from providers comment: The reviewer noted the comment 'still describes the field's purpose adequately' without the ADR reference. No change needed.

Tests: passed

Updated by fullsend fix agent

@rh-hemartin

Copy link
Copy Markdown
Member

/fs-fix

@fullsend-ai-coder

fullsend-ai-coder Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 12:56 PM UTC · Completed 1:05 PM UTC
Commit: 78423bf · View workflow run →

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 1 (human-triggered)

Rebased PR branch onto current main. After rebase, 5 ADR references remained in user-facing docs (introduced by files created/modified on main after the original PR). Removed all 5 to restore the PR's stated invariant of zero ADR links in docs/guides/user/, docs/guides/infrastructure/, and docs/guides/getting-started/.

Fixed (5):

  1. ADR 0054 reference in dispatch diagram (bring-your-own-agent.md) (docs/guides/user/bring-your-own-agent.md): Removed ADR 0054 parenthetical from the ASCII dispatch diagram. The step label 'Authorize' is self-explanatory without the ADR number.
  2. ADR 0054 inline link in cel-triggers-reference.md (docs/guides/user/cel-triggers-reference.md): Removed ADR 0054 link from the Authorize step description. This file was created on main (split from bring-your-own-agent.md) after the original PR, introducing new ADR references.
  3. ADR 0058 inline link in cel-triggers-reference.md (docs/guides/user/cel-triggers-reference.md): Removed ADR 0058 link from the Enumerate step description. The text still explains scaffold discovery adequately without the ADR cross-reference.
  4. ADR 0044 inline link in repo-management.md (docs/guides/getting-started/repo-management.md): Removed ADR 0044 parenthetical from the per-org migration section. The context ('migrating from per-org mode') is self-explanatory.
  5. ADR 0057 reference in repo-management.md See Also section (docs/guides/getting-started/repo-management.md): Removed ADR 0057 reference link from the See Also section. ADR links in reference sections of user-facing docs are out of scope per issue Documentation shouldn't link to ADRs #3862.

Tests: passed

Decision points
  • Rebased branch onto current main before making fixes, since the branch was behind by 20+ commits (alternatives: Skip rebase and only fix new ADR references, Merge main instead of rebase; rationale: Rebase keeps the commit history linear and is consistent with the first fix iteration's approach. The rebase resolved cleanly with no conflicts.)

Updated by fullsend fix agent

fullsend-ai-coder Bot added a commit that referenced this pull request Jul 27, 2026
After rebase onto main, 5 ADR references remained in user-facing docs:
- bring-your-own-agent.md: ADR 0054 in dispatch diagram
- cel-triggers-reference.md: ADR 0054 and ADR 0058 inline links
  (file created on main after original PR)
- repo-management.md: ADR 0044 and ADR 0057 references
  (file modified on main after original PR)

Removed all to match the PR's goal of zero ADR links in
docs/guides/user/, docs/guides/infrastructure/, and
docs/guides/getting-started/.

Addresses review feedback on #5413
@fullsend-ai-coder
fullsend-ai-coder Bot force-pushed the agent/3862-docs-remove-adr-links branch from 78423bf to 653b2d4 Compare July 27, 2026 13:05
@rh-hemartin

Copy link
Copy Markdown
Member

/fs-review

@fullsend-ai-review

fullsend-ai-review Bot commented Jul 28, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 9:54 AM UTC · Completed 10:13 AM UTC
Commit: 653b2d4 · View workflow run →

Comment thread docs/guides/user/customizing-agents.md Outdated
@fullsend-ai-review fullsend-ai-review Bot added ready-for-merge All reviewers approved — ready to merge and removed requires-manual-review Review requires human judgment labels Jul 28, 2026
Benkapner pushed a commit to Benkapner/fullsend that referenced this pull request Jul 29, 2026
Convert the Agent Role Architecture ASCII box-drawing table in
customizing-agents.md to a standard markdown table. The
box-drawing format was fragile and prone to display-width
misalignment when edited (as seen in PR fullsend-ai#5413 review). The
markdown table preserves the same tabular data (Role, GitHub
App, Purpose) while being immune to alignment issues. Naming
conventions and the "fix" role note are restructured as a list
and blockquote respectively.

Closes fullsend-ai#5677
@rh-hemartin

Copy link
Copy Markdown
Member

/fs-fix rebase

@fullsend-ai-coder

fullsend-ai-coder Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ❌ Failure · Started 3:46 PM UTC · Completed 3:51 PM UTC
Commit: 653b2d4 · View workflow run →

User-facing guides under docs/guides/user/, docs/guides/infrastructure/,
and docs/guides/getting-started/ linked to internal Architecture Decision
Records (ADRs) as documentation references. ADRs are internal
architectural decisions written for contributors — directing end users
to ADRs creates confusion and a poor onboarding experience.

Removed all ADR links from 14 user-facing documentation files.
Where an ADR link was the sole explanation, replaced it with an inline
description of the relevant behavior. Where deprecated features
referenced ADRs, kept the deprecation notice but pointed to the
recommended user-facing guide instead (e.g., Bring Your Own Agent).

ADR references in contributor-facing docs (docs/guides/dev/) and
structural navigation (docs/guides/README.md) are preserved, as those
audiences benefit from architectural context.

Closes #3862
After rebase onto main, 5 ADR references remained in user-facing docs:
- bring-your-own-agent.md: ADR 0054 in dispatch diagram
- cel-triggers-reference.md: ADR 0054 and ADR 0058 inline links
  (file created on main after original PR)
- repo-management.md: ADR 0044 and ADR 0057 references
  (file modified on main after original PR)

Removed all to match the PR's goal of zero ADR links in
docs/guides/user/, docs/guides/infrastructure/, and
docs/guides/getting-started/.

Addresses review feedback on #5413
@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

⚠️ Post-fix script failed — Structured output processing failed (exit code 1)

The fix agent completed, but the post-fix script failed before finishing.

Workflow run: https://github.com/fullsend-ai/.fullsend/actions/runs/30467439563

Details:
process-fix-result.py failed with exit code 1 (bad input) for PR #5413 in fullsend-ai/fullsend
Please check the workflow logs for full details and retry with /fs-fix if appropriate.

@rh-hemartin

Copy link
Copy Markdown
Member

/fs-fix

@fullsend-ai-coder

fullsend-ai-coder Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ❌ Failure · Started 6:49 AM UTC · Completed 6:57 AM UTC
Commit: 7f2d7e8 · View workflow run →

Shorten the Configuration Layering box header text to match the
62-character border width, fixing visual misalignment in
monospace rendering.

Addresses review feedback on #5413
@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

⚠️ Post-fix script failed — Structured output processing failed (exit code 1)

The fix agent completed, but the post-fix script failed before finishing.

Workflow run: https://github.com/fullsend-ai/.fullsend/actions/runs/30520752125

Details:
process-fix-result.py failed with exit code 1 (bad input) for PR #5413 in fullsend-ai/fullsend
Please check the workflow logs for full details and retry with /fs-fix if appropriate.

@rh-hemartin
rh-hemartin enabled auto-merge July 30, 2026 07:05
@rh-hemartin
rh-hemartin added this pull request to the merge queue Jul 30, 2026
Merged via the queue into main with commit 2b3fcca Jul 30, 2026
16 checks passed
@rh-hemartin
rh-hemartin deleted the agent/3862-docs-remove-adr-links branch July 30, 2026 07:16
@fullsend-ai-retro

fullsend-ai-retro Bot commented Jul 30, 2026

Copy link
Copy Markdown

🤖 Finished Retro · ✅ Success · Started 7:19 AM UTC · Completed 7:31 AM UTC
Commit: 223d088 · View workflow run →

@fullsend-ai-retro

Copy link
Copy Markdown

Retro: PR #5413 — docs(#3862): remove ADR links from user-facing documentation

Timeline: Issue #3862 filed → triage (4 min) → code agent (12 min) → PR #5413 opened (July 21) → initial bot review (19 min, COMMENT verdict) → human review-squad pass by waynesun09 (July 22, found HIGH + MEDIUM issues) → 5-day wait → 2 successful /fs-fix runs (July 27) → bot re-review APPROVED (July 28) → 2 failed /fs-fix runs (July 29–30, post-fix script crash) → human approval → merged (July 30). Total: 9 days, 9 agent runs (1 triage, 1 code, 2 review, 4 fix, 1 retro).

Outcome: The docs-only PR was well-scoped (+43/−54 across 15 files). The code agent produced a clean initial implementation. Two fix iterations were needed to address legitimate review findings and branch drift. Two additional fix iterations failed due to a known platform bug. Human merged after manual approval.

Key findings — all map to existing open issues

1. Post-fix script crash (agents#534). Both failed fix runs (30467439563, 30520752125) failed because process-fix-result.py uses __file__-relative paths (../schemas/fix-result.schema.json) to locate its schema, but the content-addressed cache stores scripts/ and schemas/ in separate SHA-keyed directories. This is the exact bug described in agents#534. This retro provides a second data point confirming the bug is actively blocking users — rh-hemartin had to trigger /fs-fix twice before giving up and manually approving.

2. Challenger dismissed valid HIGH finding (fullsend#1972). The review sub-agents detected a HIGH-severity finding ("authorization tier mismatch") on the initial review, but the challenger pass classified it as a "category error" and dismissed it. The human review-squad pass (waynesun09, 3 independent agents across 2 model families) independently confirmed the underlying issue: removing the ADR 0033 link left the "SaaS installation profile" term completely undefined, with no local explanation or link to the page's own taxonomy. This supports fullsend#1972 (require evidence before dismissing findings as false positives).

3. Correctness sub-agent missed factual inaccuracy (fullsend#2199). The correctness sub-agent (opus) reported zero findings, but the human review found that replacement text in customizing-agents.md misattributed hash-pinning computation to fullsend agent add — a claim not supported by the referenced ADR or any documented CLI behavior. This is a documentation fact-checking gap consistent with fullsend#2199 (review agent should fact-check technical claims in documentation PRs).

4. Finding too abstract to survive challenger (fullsend#5264). The sub-agent's finding was titled "authorization tier mismatch" — an abstract architectural label. A concrete finding like "SaaS installation profile term left undefined after ADR link removal, no definition exists elsewhere in docs/guides/" would have been harder for the challenger to dismiss. This supports fullsend#5264 (correctness sub-agent should construct concrete impact examples).

What went well

  • Triage → code → review pipeline completed in under 40 minutes with no human intervention.
  • Fix agent successfully rebased across 20+ commits, resolved 3 merge conflicts, addressed review findings with clear reasoning, and correctly disagreed with out-of-scope findings (ADR 0023 update).
  • Review agent correctly identified the ADR 0023 tension as a policy question rather than a blocking defect, and the second review correctly approved after fixes were applied.
  • No new proposals filed — all findings map to existing open issues. Filing duplicates would add noise.

HofniGartner pushed a commit to HofniGartner/fullsend that referenced this pull request Aug 19, 2026
…ntation

Remove all ADR cross-references from docs/agents/ and
docs/guides/user/, continuing the cleanup started in fullsend-ai#3862
(fixed via fullsend-ai#5413). These internal architecture decision
records are not meaningful to end users.

Seven files cleaned across two documentation sections:
- docs/agents/: README, code, fix, review, default-vs-custom
- docs/guides/user/: customizing-agents, jira-integration

ADR references in developer/contributor docs (docs/guides/dev/,
docs/guides/infrastructure/, docs/contributing/) are left
intact — those audiences benefit from ADR context.

Where an ADR link was the only content in a sentence or list
item, the surrounding text was lightly reworded to remain
grammatical. Where an ADR link appeared alongside a user-facing
doc link, only the ADR link was removed.

Note: pre-commit could not run (sandbox network restriction).
The post-script runs it authoritatively on the runner.

Closes fullsend-ai#6328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/docs User-facing documentation ready-for-merge All reviewers approved — ready to merge ready-for-review Triggers review agent dispatch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation shouldn't link to ADRs

3 participants