Planner Autonomy: закрепить metadata lane scoring
This commit is contained in:
+19
-9
@@ -79,23 +79,33 @@ Domain-specific exact recipes can still exist as fast paths, but they should not
|
||||
|
||||
## Validation
|
||||
|
||||
Local validation after the catalog-template and value-flow consolidation steps:
|
||||
Local validation after the catalog-template, value-flow, and metadata-lane scoring consolidation steps:
|
||||
|
||||
- `npm.cmd test -- assistantMcpCatalogIndex.test.ts assistantMcpDiscoveryPlanner.test.ts`: passed, `46 passed`
|
||||
- MCP-discovery suite: passed, `226 passed`, `9 skipped`
|
||||
- `npm.cmd test -- assistantMcpCatalogIndex.test.ts assistantMcpDiscoveryPlanner.test.ts`: passed, `47 passed`
|
||||
- MCP-discovery suite: passed, `227 passed`, `9 skipped`
|
||||
- `npm.cmd run build`: passed
|
||||
- graphify rebuild: `5908 nodes`, `12815 edges`, `138 communities`
|
||||
- graphify rebuild: `5911 nodes`, `12830 edges`, `138 communities`
|
||||
- live value-flow canary: `address_truth_harness_phase66_human_org_open_scope_dialog_planner_template_rerun2`, accepted `7/7`
|
||||
- live metadata movement canary: `address_truth_harness_phase52_metadata_movement_full_recovery_planner_metadata_scoring_rerun2`, accepted `4/4`
|
||||
- live metadata document canary: `address_truth_harness_phase54_metadata_document_full_recovery_planner_metadata_scoring_rerun2`, accepted `4/4`
|
||||
|
||||
Additional code-level consolidation:
|
||||
|
||||
- ambiguous metadata surfaces no longer carry both document and movement primitives when the current data-need graph explicitly selects `document_evidence` or `movement_evidence`;
|
||||
- thin neutral metadata follow-ups still do not force a lane and keep the clarification boundary intact;
|
||||
- planner reason codes now expose when an explicit lane family is scored against carried metadata ambiguity:
|
||||
`planner_metadata_surface_scored_with_explicit_lane_family`.
|
||||
|
||||
## Next Step
|
||||
|
||||
The next safe step is to move beyond catalog-instantiated known chain templates into broader catalog scoring and live proof.
|
||||
The next safe step is to continue from catalog-instantiated known chain templates and first scoring rules into stronger bounded inference templates.
|
||||
|
||||
Recommended order:
|
||||
|
||||
1. metadata-scoped document/movement continuation scoring, not only template instantiation;
|
||||
2. lifecycle evidence template with stronger bounded inference semantics;
|
||||
3. inventory-stock evidence templates only after the generic fabric is stable;
|
||||
4. a small live semantic canary that proves catalog-instantiated value-flow still preserves Post-F stale-scope and clarification invariants.
|
||||
1. lifecycle evidence template with stronger bounded inference semantics;
|
||||
2. inventory-stock evidence templates only after the generic fabric remains stable under one more replay slice;
|
||||
3. broaden catalog scoring beyond explicit document/movement lane choice into unfamiliar 1C asks;
|
||||
4. keep value-flow and metadata ambiguity canaries as Post-F regression gates.
|
||||
|
||||
The key rule remains:
|
||||
|
||||
|
||||
@@ -72,6 +72,7 @@ It now documents a turnaround that is already operational in code, already mater
|
||||
- MCP catalog now carries reusable chain templates in addition to primitive contracts;
|
||||
- planner route-fabric selection has started moving from local recipe branches toward catalog-instantiated chains;
|
||||
- value-flow, value-flow comparison, value-flow ranking, lifecycle, metadata, movement, document, and entity fallback branches now expose catalog-template instantiation reason codes in planner output;
|
||||
- explicit document/movement data-need now scores over ambiguous carried metadata surfaces without forcing neutral follow-ups into a lane;
|
||||
- live map sync: [20 - planner_autonomy_consolidation_2026-05-01.md](./20%20-%20planner_autonomy_consolidation_2026-05-01.md)
|
||||
|
||||
Current honest status:
|
||||
@@ -83,7 +84,7 @@ Current honest status:
|
||||
- open-world bounded-autonomy readiness: `~82%`
|
||||
- Post-F semantic integrity module progress: `~99%` operationally closed, with remaining risk now treated as next-slice discovery rather than an open blocker inside the closed slice
|
||||
- active inventory-stock breadth slice progress: `100%` for the declared scenario pack, not for arbitrary inventory questions
|
||||
- graph snapshot after latest rebuild: `5908 nodes`, `12815 edges`, `138 communities`
|
||||
- graph snapshot after latest rebuild: `5911 nodes`, `12830 edges`, `138 communities`
|
||||
- current breakpoint:
|
||||
- the validated hot paths are no longer structurally broken;
|
||||
- flagship continuity collapse is no longer the primary risk;
|
||||
@@ -116,7 +117,10 @@ Latest live proof now includes:
|
||||
- `address_truth_harness_phase20_continuity_stabilization_live_rerun_vatfix` accepted `6/6`
|
||||
- `addressQueryRuntimeM23.test.ts` full semantic/runtime slice accepted `403/403` after Post-F VAT/date-basis, scope-recovery, open value-flow organization clarification, document-vs-bank arbitration, and reply-shape hardening
|
||||
- `inventory_stock_open_world_breadth_rerun_semantic_integrity_20260501_fix5` accepted all declared inventory stock scenarios: root snapshots, selected-item supplier provenance, supplier overlap, stock aging/unresolved supplier-link, sale trace, and purchase-to-sale chain
|
||||
- MCP planner/catalog consolidation slice accepted locally: `assistantMcpCatalogIndex.test.ts` + `assistantMcpDiscoveryPlanner.test.ts` passed `46/46`, full MCP-discovery slice passed `226/226` with `9` skipped
|
||||
- `address_truth_harness_phase66_human_org_open_scope_dialog_planner_template_rerun2` accepted `7/7`, proving catalog-instantiated value-flow still preserves open-organization clarification, year switches, and guarded candidate arbitration
|
||||
- `address_truth_harness_phase52_metadata_movement_full_recovery_planner_metadata_scoring_rerun2` accepted `4/4`, proving metadata-born movement continuation keeps lane choice, organization, and period recovery intact
|
||||
- `address_truth_harness_phase54_metadata_document_full_recovery_planner_metadata_scoring_rerun2` accepted `4/4`, proving metadata-born document continuation keeps lane choice, organization, and period recovery intact
|
||||
- MCP planner/catalog consolidation slice accepted locally: `assistantMcpCatalogIndex.test.ts` + `assistantMcpDiscoveryPlanner.test.ts` passed `47/47`, full MCP-discovery slice passed `227/227` with `9` skipped
|
||||
|
||||
Current architectural reading:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user