docs(#138): track mechanical-consistency autonomy class for review agent - #167
docs(#138): track mechanical-consistency autonomy class for review agent#167fullsend-ai-coder[bot] wants to merge 2 commits into
Conversation
Add evidence-driven autonomy classes to the autonomy-spectrum problem doc, introducing a framework for granting review agents higher authority on narrow, well-defined categories of findings backed by empirical evidence. The first class is mechanical consistency in documentation repos (typos, numbering gaps, cross-reference errors, scope coherence). Add tracking data and validation plan to applied/konflux-ci/ based on evidence from konflux-ci/architecture PR #367, where the review agent caught 2 medium-severity mechanical consistency issues that 5 human reviewers missed. Both merged without fix because findings were posted at COMMENT level. Add cross-reference in code-review.md open questions linking to the autonomy class evidence. Note: pre-commit could not run in the sandbox due to a shellcheck network policy error (infrastructure issue, not code-related). Markdown link checker (lychee) passed with 0 errors across 1473 links. Closes #138
|
/fs-review |
Review —
|
| Dimension | Result |
|---|---|
| Correctness | ✅ Cross-references valid; evidence claims internally consistent between docs; validation plan logic is sound |
| Security | ✅ No secrets, injection patterns, permission changes, or steganographic content |
| Intent & coherence | ⚠ Scope matches #138; prescriptive framing noted (medium) |
| Style & conventions | ✅ Follows established patterns; heading structure, table format, and link style are consistent |
| Docs currency | ⚠ Glossary entry missing (medium) |
| Cross-repo contracts | ⏭ Skipped — no exported interfaces modified |
Previous run
Review — comment
Docs-only PR adding evidence-driven autonomy classes to autonomy-spectrum.md, org-specific tracking data to applied/konflux-ci/README.md, and a cross-reference in code-review.md. No code changes, no security surface. The content is well-structured and correctly separates general concepts (core doc) from org-specific tracking data (applied doc).
Two medium-severity findings worth noting — neither blocking, but both worth addressing.
Medium
1. Validation table row count mismatch (docs/problems/applied/konflux-ci/README.md)
The validation plan text says "Track the next 5 ADR PRs merged" but the tracking table has only 4 empty rows after the #367 baseline row. Either the table needs 5 empty rows to match the plan, or the text should say "next 4" if #367 is intended to count as one of the 5.
2. Prescriptive framing violates AGENTS.md (docs/problems/autonomy-spectrum.md)
AGENTS.md states: "Problem documents should present multiple options with trade-offs, not prescribe single solutions." The Proposed autonomy change subsection presents a single preferred outcome (CHANGES_REQUESTED instead of COMMENT for medium-severity mechanical findings) without exploring alternatives — e.g., a higher COMMENT tier, auto-filing tracking issues for unresolved findings, requiring a second agent pass, or human escalation. Reframing this as an options analysis with trade-offs would align with project conventions.
Low
3. Terminology mismatch with existing content (docs/problems/code-review.md)
Line 53 of code-review.md already uses "mechanical-matching dimensions" to describe sonnet-class sub-agents. The PR introduces the parallel term "mechanical-consistency" as the autonomy class name. These two phrases appear in adjacent docs without cross-reference, which could confuse readers about whether they name the same concept. Consider aligning terminology or explicitly relating them.
4. Dangling cross-reference (docs/problems/autonomy-spectrum.md)
The "CI-config-only changes" bullet says "See applied docs for tracking" but no CI-config tracking data exists anywhere in the applied docs directory. This is a forward reference to content that doesn't exist yet. Consider removing the link or noting it as future work.
5. Org-specific evidence in core doc (docs/problems/autonomy-spectrum.md)
AGENTS.md requires core problem documents to be organization-agnostic, with org-specific details in docs/problems/applied/<org-name>/. The Evidence field in the core autonomy-spectrum.md directly references a specific konflux-ci PR (#367) as the primary evidence. The applied doc already tracks this evidence in detail. The core doc's evidence field could instead use a generic description with a pointer to the applied directory.
6. Framework heading inconsistency (docs/problems/autonomy-spectrum.md)
The autonomy class framework definition lists component #5 as "Boundary conditions" but the mechanical consistency section uses "Boundary" as the heading — minor naming inconsistency between the framework definition and its first instantiation.
7. Scope beyond linked issue (docs/problems/autonomy-spectrum.md)
The "Other potential autonomy classes" subsection introduces CI-config-only changes and bot dependency bumps, neither of which is mentioned in issue #138 (scoped to mechanical consistency in documentation repos). These additions are low-risk but extend scope. Each new class would benefit from its own evidence-tracking issue.
8. H4 heading introduces new pattern (docs/problems/applied/konflux-ci/README.md)
The #### Mechanical consistency in the architecture repo heading introduces H4 depth, which doesn't exist elsewhere in this file. Existing subsections under H3 use bold inline labels (e.g., **Platform security** —). Consider using the established bold-label pattern for consistency.
9. Open question style (docs/problems/code-review.md)
The new open question bullet ends with trailing context after the question mark, making it read as a statement rather than a question. All 8 existing open questions in the same list are self-contained questions ending with ?. The trailing evidence reference could move to a parenthetical or footnote.
Labels: PR adds only documentation content across problem docs and applied docs
|
/fs-fix |
- Add 5th row to validation table to match '5 PRs' plan - Present 3 alternatives for proposed autonomy change - Rename 'Boundary' to 'Boundary conditions' per template - Generalize evidence to remove org-specific PR reference - Remove dangling CI-config tracking reference - Shorten code-review open question, align terminology Addresses review feedback on #167
🔧 Fix agent — iteration 1 (human-triggered)Addressed 7 of 9 review findings across 3 files. Fixed: table row count mismatch, single-outcome presentation, terminology alignment, dangling reference, org-specific content in core doc, heading naming inconsistency, and open question style. Disagreed with 2: scope-creep finding (extensibility framing is essential) and H4 heading finding (structurally correct hierarchy). Fixed (7):
Disagreed (2):
Tests: passed Updated by fullsend fix agent |
…story QualityFlow (a BYOA custom agent, .fullsend#93/#166/#167) writes intermediate pipeline artifacts — test plans, design reviews — to outputs/<id>/ in the target repo, then unconditionally runs `git add outputs/ qf_*` before pushing. Its own docs call outputs/ "intermediate, can be cleaned", but nothing stopped it from being committed anyway: PR fullsend-ai#6290 picked up three commits of STP/STD/review markdown under outputs/6290/ this way. git skips an explicitly-named ignored path on `git add` rather than failing the whole invocation, so this stops outputs/ from being staged while leaving the real deliverable — the generated qf_*_test.go files — committed exactly as before. No agent-side change needed, and no existing outputs/ directory exists anywhere in the repo to conflict with. Signed-off-by: guy oron <goron@redhat.com>
Add evidence-driven autonomy classes to the autonomy-spectrum problem doc, introducing a framework for granting review agents higher authority on narrow, well-defined categories of findings backed by empirical evidence. The first class is mechanical consistency in documentation repos (typos, numbering gaps, cross-reference errors, scope coherence).
Add tracking data and validation plan to applied/konflux-ci/ based on evidence from konflux-ci/architecture PR #367, where the review agent caught 2 medium-severity mechanical consistency issues that 5 human reviewers missed. Both merged without fix because findings were posted at COMMENT level.
Add cross-reference in code-review.md open questions linking to the autonomy class evidence.
Note: pre-commit could not run in the sandbox due to a shellcheck network policy error (infrastructure issue, not code-related). Markdown link checker (lychee) passed with 0 errors across 1473 links.
Closes #138
Post-script verification
agent/138-doc-review-autonomy-class)6757be26681aa98414a535299f9c279931d88c7e..HEAD)