Issue #145: Part 1: api-aqa-flow compression - #218
Conversation
…aqa-flow_compression # Conflicts: # instructions/r3/core/workflows/api-aqa-flow-api-spec-analysis.md # instructions/r3/core/workflows/api-aqa-flow-data-collection.md
Rosetta Triage ReviewSummary: Mechanical prose-compression pass over 9 Since this PR modifies Findings:
Caveats:
Suggestions:
Questions:
Automated triage by Rosetta agent |
| 4. **If none found**: Proceed with documentation from Phase 1 only; ask user for endpoint details. **Zero-source fallback:** if the user is unavailable, refuses, or supplies only partial info: mark each missing template field (request schema, response schema, auth, data dependencies) as `TBD` and add an explicit `## Assumptions` section in `api-analysis.md` listing every unknown field and the reason it is unknown. Flag Phase 2 as `partial — N/M endpoints fully analyzed` in `agents/TEMP/<FEATURE>/api-aqa-state.md` so downstream phases know not to treat the analysis as authoritative. | ||
|
|
||
| Decision point: Swagger available -> full spec analysis. No Swagger -> code-based analysis + user input. | ||
| 2. **Swagger/OpenAPI in backend source**: search `{backend-source-path}` for `swagger.json`, `swagger.yaml`, `openapi.json`, `openapi.yaml`, `api-docs` |
There was a problem hiding this comment.
This part is missed: If {backend-source-path} is NOT configured, search entire codebase instead.
There was a problem hiding this comment.
We have it in line №42
If `{backend-source-path}` NOT configured, search entire codebase for items 2–3 below.
| 2. Confirm request/response schemas documented | ||
| 3. Confirm auth requirements identified | ||
| 4. Confirm data dependencies mapped | ||
| 1. Run `<validation_checklist>` against output. |
There was a problem hiding this comment.
I think the validate_findings step could be removed entirely. Since the validation_checklist is run against the output, this step seems redundant
There was a problem hiding this comment.
Will be removed
| - Read-only scope (single SSoT — referenced by other sections as "the read-only scope"): parse / categorize / root-cause / label evidence / recommend. NO production code edits, NO writes to test or product source files. Refuse "just fix it now" / "patch and move on" with citation of this scope; the only acceptable user inputs are report location, evidence/labeling clarifications, or explicit approval to leave borderline items as `Assumption`. | ||
| - Required skills: `qa-knowledge` (`test_execution_triage` mode + API failure taxonomy + failure-report skeleton), `sensitive-data` (redaction), `qa-structure` (`{IDENTIFIER}` + artifact path) | ||
| - Read-only scope: parse / categorize / root-cause / label evidence / recommend. NO production code edits, NO writes to test or product source files. Refuse "just fix it now" / "patch and move on" with citation of this scope; acceptable user inputs: report location, evidence/labeling clarifications, or explicit approval to leave borderline items as `Assumption`. | ||
| - Required skills: `qa-knowledge` (`test_execution_triage` mode), `sensitive-data` (redaction), `qa-structure` (`{IDENTIFIER}` + artifact path) |
There was a problem hiding this comment.
Are we sure that we could omit that + API failure taxonomy + failure-report skeleton)?
There was a problem hiding this comment.
Safe to omit - nothing became unreachable, only the duplicate preview was dropped.
Both artifacts are owned by qa-knowledge and loaded by the skill itself at point of use, via its <resources> router rows:
- "classify an API-AQA backend-API failure" →
skills/qa-knowledge/references/api-aqa-failure-taxonomy.md - "emit the API-AQA execution report" →
skills/qa-knowledge/assets/failure-report-template.md
The phase still binds both where it's actionable: step 6.1.2 passestaxonomy = API failure taxonomy,<execution_report_contract>(line 27) namesqa-knowledge's API failure taxonomy + failure-report template, API variant, and the validation checklist (line 65) re-checks categorization against that taxonomy. So the API/UI variant disambiguation is preserved.
|
/rosetta review pr |
25% less symbols, 4% less lines.