@mknrt/autotests-overkill 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/README.md +17 -5
  2. package/bin/autotests-overkill.js +3 -1
  3. package/dist/src/appContext.d.ts +2 -0
  4. package/dist/src/appContext.js +4 -0
  5. package/dist/src/config/consumerConfig.d.ts +5 -0
  6. package/dist/src/config/consumerConfig.js +5 -0
  7. package/dist/src/connectors/autotests2Connector.d.ts +8 -0
  8. package/dist/src/connectors/autotests2Connector.js +7 -0
  9. package/dist/src/connectors/fisPlatformConnector.d.ts +15 -0
  10. package/dist/src/connectors/fisPlatformConnector.js +112 -0
  11. package/dist/src/domain/analyzeDiffImpact.js +66 -0
  12. package/dist/src/domain/findBackendTestContext.d.ts +24 -0
  13. package/dist/src/domain/findBackendTestContext.js +80 -0
  14. package/dist/src/domain/generateSpecBlueprint.js +48 -0
  15. package/dist/src/domain/triageFailedRun.js +97 -0
  16. package/dist/src/indexer/extractors/apiDiscoveryExtractor.d.ts +23 -0
  17. package/dist/src/indexer/extractors/apiDiscoveryExtractor.js +183 -0
  18. package/dist/src/indexer/extractors/apiInteractionExtractor.d.ts +23 -0
  19. package/dist/src/indexer/extractors/apiInteractionExtractor.js +35 -0
  20. package/dist/src/indexer/extractors/backendContractExtractor.d.ts +26 -0
  21. package/dist/src/indexer/extractors/backendContractExtractor.js +66 -0
  22. package/dist/src/indexer/refreshPipeline.js +40 -0
  23. package/dist/src/mcp/registerTools.js +8 -0
  24. package/docs/operator-cookbook.md +14 -3
  25. package/docs/superpowers/plans/2026-04-20-fis-platform-backend-integration.md +980 -0
  26. package/docs/tool-catalog.md +12 -3
  27. package/overkill.config.example.json +2 -1
  28. package/package.json +1 -1
@@ -3,24 +3,33 @@
3
3
  ## Coverage Intelligence
4
4
 
5
5
  - `find_existing_test_assets`: locate reusable specs, commands, helpers, selectors
6
+ - `find_backend_test_context`: explain discovered API behavior with evidence from `fis_platform`, `api-interaction` records, backend endpoint contracts, and linked `autotests2` assets
6
7
  - `find_test_area_context`: infer area-specific conventions and init flows
7
8
  - `find_frontend_contract`: extract properties, events, methods with source evidence
8
9
  - `find_frontend_runtime_logic`: extract runtime branches and event wiring
9
10
  - `map_feature_to_existing_coverage`: show mapped specs for a feature
10
11
  - `analyze_test_gaps`: identify uncovered runtime signals
11
- - `generate_spec_blueprint`: generate a project-aware draft skeleton
12
+ - `generate_spec_blueprint`: generate a project-aware draft skeleton; API-heavy flows may include backend request order, params, validation, and completion hints when high-confidence `api-interaction` evidence exists
12
13
  - `recommend_selector_strategy`: recommend stable selector usage
13
14
  - `build_setup_teardown_plan`: propose reuse-first setup and teardown
14
15
 
15
16
  ## Failure Intelligence
16
17
 
17
- - `triage_failed_run`: analyze artifacts and produce evidence-backed hypotheses
18
+ - `triage_failed_run`: analyze artifacts and produce evidence-backed hypotheses; runtime API captures are read on demand and are not persisted in iteration 1
18
19
  - `build_rerun_scope`: build a minimal rerun pack
19
20
  - `summarize_ci_context`: summarize run metadata and artifact presence
20
21
 
21
22
  ## Change Intelligence
22
23
 
23
- - `analyze_diff_impact`: map changed files to affected tests and risk areas
24
+ - `analyze_diff_impact`: map changed files to affected tests and risk areas; backend REST/resource changes are bridged through high-confidence `api-interaction` metadata instead of broad backend suite guesses
25
+
26
+ ## Backend Knowledge Sources
27
+
28
+ - `ApiDiscoveryCatalog`: explains which API families were selected from `autotests2` support code, why they were selected, and which consumer evidence supports them.
29
+ - `api-interaction`: normalized request-helper and endpoint-alias documents from `autotests2`; these connect failing API captures and backend diffs to concrete test assets.
30
+ - `backend-endpoint`: focused `fis_platform` REST/JAX-RS contracts matched from the catalog with confidence, `whyMatched`, endpoint paths, params, and rule hints.
31
+ - Backend indexing is evidence-driven and discovery-first, not a hardcoded map of backend files or endpoint-to-test links.
32
+ - Recommendations use only high-confidence links (`confidence >= 0.7`); lower-confidence records are exploratory evidence only.
24
33
 
25
34
  ## Output Contract
26
35
 
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "repos": {
3
3
  "autotests2": "../autotests2",
4
- "caseplatformWeb": "../caseplatform-web"
4
+ "caseplatformWeb": "../caseplatform-web",
5
+ "fisPlatform": "../fis_platform"
5
6
  },
6
7
  "ci": {
7
8
  "artifactsRoot": "../autotests2/cypress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mknrt/autotests-overkill",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "AI-assisted testing intelligence platform for autotests2, caseplatform-web, and CI artifacts",