docs(problems): add flapping and convergence problem doc - #3064
Conversation
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. |
PR Summary by Qododocs(problems): add flapping and convergence problem doc
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Site previewPreview: https://1b2799b3-site.fullsend-ai.workers.dev Commit: |
Code Review by Qodo
1.
|
| - **[Cross-Run Memory](cross-run-memory.md)** — Context injection during cooldown requires memory. Flapping detection across runs requires tracking prior attempts. Both create the trust and poisoning concerns that cross-run memory addresses. | ||
| - **[Operational Observability](operational-observability.md)** — Flapping agents are a key operational concern. Dashboards should surface flapping rate per repo, per agent role, and per task type. | ||
| - **[Code Review](code-review.md)** — Review ping-pong is one specific form of flapping. The code-review doc describes the review process but does not address what happens when the process does not converge. | ||
| - **[Trustworthiness Evidence](trustworthiness-evidence.md)** — Flapping rate is a negative trustworthiness signal. An agent that flaps frequently on a repo is less trustworthy than one that converges reliably. |
There was a problem hiding this comment.
2. Broken trustworthiness link 🐞 Bug ≡ Correctness
docs/problems/flapping-convergence.md links to trustworthiness-evidence.md, but that target file is not present in the repository, creating a dead cross-reference in the docs. This is easy to miss because the docs site config explicitly ignores dead links during build.
Agent Prompt
### Issue description
`docs/problems/flapping-convergence.md` links to `trustworthiness-evidence.md`, but there is no such document in the repo, so the link is broken.
### Issue Context
The docs site is built with VitePress and is configured with `ignoreDeadLinks: true`, so dead links will not fail CI/builds and can silently ship.
### Fix Focus Areas
- docs/problems/flapping-convergence.md[91-98]
- website/.vitepress/config.ts[135-142]
### Recommended fix
Choose one:
1) **Update the link** to an existing page/section (e.g. `../roadmap.md#trustworthiness-evidence` if that’s the intended reference), or
2) **Add the missing doc** at `docs/problems/trustworthiness-evidence.md` (even as a stub) so the cross-reference resolves.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
There was a problem hiding this comment.
| - **[Cross-Run Memory](cross-run-memory.md)** — Context injection during cooldown requires memory. Flapping detection across runs requires tracking prior attempts. Both create the trust and poisoning concerns that cross-run memory addresses. | ||
| - **[Operational Observability](operational-observability.md)** — Flapping agents are a key operational concern. Dashboards should surface flapping rate per repo, per agent role, and per task type. | ||
| - **[Code Review](code-review.md)** — Review ping-pong is one specific form of flapping. The code-review doc describes the review process but does not address what happens when the process does not converge. | ||
| - **[Trustworthiness Evidence](trustworthiness-evidence.md)** — Flapping rate is a negative trustworthiness signal. An agent that flaps frequently on a repo is less trustworthy than one that converges reliably. |
There was a problem hiding this comment.
[minor] Three existing docs touch on flapping-adjacent concepts (code-review.md on review iteration, agent-architecture.md on iteration limits, autonomy-spectrum.md on escalation triggers). Might be worth adding a backlink from those docs to this one so readers can discover it from context. Not blocking — could be a follow-up.
Addresses agent loops, fix-break oscillation, review ping-pong, and approach churn. Covers detection mechanisms (cycle hashing, diff-distance damping, cost accounting), response strategies (circuit breaker, strategy rotation, cooldown, abandon), and configurable thresholds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Benjamin Kapner <bkapner@redhat.com>
Change "fullsend's target scale (20+ repos...)" to "production scale (dozens of repos...)" to keep the problem doc org-agnostic. Signed-off-by: Benjamin Kapner <bkapner@redhat.com>
Add cross-references from agent-architecture.md, code-review.md, and autonomy-spectrum.md to the new flapping-convergence.md so readers can discover it from the contexts where flapping is most relevant. Assisted-by: Claude claude-opus-4-6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
d617c72 to
16621d8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
🤖 Finished Retro · ✅ Success · Started 4:31 PM UTC · Completed 4:39 PM UTC |
|
PR #3064 added a new flapping-convergence problem doc to fullsend-ai/fullsend. The workflow was mostly efficient (3 commits, ~6 hours to merge), with the Qodo bot catching two valid findings (org-specific wording, broken cross-PR link) and the human reviewer (ralphbean) adding backlinks from existing docs. However, both the automated and human reviewers missed that AGENTS.md requires new problem docs to be linked from README.md — flapping-convergence.md is now absent from the curated README index. The Qodo bot also identified the backlinks gap in its summary but did not elevate it to an actionable inline finding, requiring the maintainer to independently identify and implement the fix. Proposals filed
|
…lem docs The problem-doc guidance in AGENTS.md covered creating files and outbound linking but said nothing about inbound backlinks from existing docs that already discuss the new doc's topic. On PR fullsend-ai#3064 the maintainer had to add those backlinks manually after review. Codify the expectation so authors handle bidirectional cross-referencing in the same PR. Closes fullsend-ai#3122 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Shai Revivo <srevivo@redhat.com>
…ion and fix the grep Address review feedback on the reciprocal-backlink bullet: - A raw keyword grep over-fires (e.g. "autonomy" matches 17 of ~30 core problem docs, mostly one-line mentions). Gate on whether an existing doc *substantively discusses* the concept, and add a single contextual pointer at that passage — not a link at every match — matching the fullsend-ai#3064 precedent. - Note the applied/<org-name> scope: when the new doc is org-specific, frame core-doc backlinks as org-specific pointers so core docs stay organization-agnostic. - `grep '<concept>' docs/problems/` is not runnable on GNU grep (Is a directory); use `grep -rn`, matching the precedent in docs/contributing/documentation.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Shai Revivo <srevivo@redhat.com>
Summary
Flapping is referenced in three existing docs (autonomy-spectrum, agent-architecture, code-review) but never given dedicated treatment. At fullsend's target scale, flapping becomes an operational problem: cost waste, PR noise, blocking, and credibility loss with human maintainers.
The doc stays at the problem/exploration level. Detection mechanisms and response strategies are described as approaches with trade-offs, not as a prescribed architecture.