Recover misplaced joint blocks and preserve unchanged entity citations
This commit is contained in:
1 parent
c3a4690a55
commit
3872735c0a
14 files changed
+265
-10
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# BUG-000020: misplaced joint block and lost identity citations
|
||||
|
||||
Original saved calls from joint-recovery-20261020, unchanged bytes; bounded context only.
|
||||
The initial reply nested interpretation inside hypotheses, alongside the hypothesis array.
|
||||
The projection failed to find the top-level interpretation and unnecessarily regenerated it.
|
||||
A precise lossless wrapper repair can move the sole interpretation to the top level while
|
||||
keeping every statement and hypothesis unchanged. Conflicting duplicate blocks, unknown
|
||||
siblings and malformed ambiguous structures must not be silently discarded.
|
||||
|
||||
The full interpretation repair omitted Q0001 and needed a lookup/mention citation fix.
|
||||
The next scoped patch added Q0001 and mention sources for N0005, but dropped matching
|
||||
lookup citations F0029/F0031/F0032. These are already present in the previous N0005 statement,
|
||||
whose entity_id AND reason remained unchanged. A derived projection can preserve existing
|
||||
eligible identity/mention citations only for that exact unchanged claim. Changed identity or
|
||||
reason must still be validated without such restoration. Unknown replacement references
|
||||
must not be removed or silently accepted. Empty reviews are expected when no reusable
|
||||
hypotheses exist; no semantic review should be demanded for missing candidates.
|
||||
|
||||
Offline regression confirms that the recovered initial interpretation passes full validation.
|
||||
Its original hypotheses also pass the complete proposal validation with existing explicit
|
||||
dependency normalization. Thus no correction call is needed for this recorded planning answer.
|
||||
This does not guarantee correction-free replies on future live runs or success of a whole
|
||||
investigation. The later scoped-patch projection independently passes interpretation validation
|
||||
after restoring only existing eligible citations for the unchanged identity statement.
|
||||
tests/fixtures/llm_rejections/20261020/joint-nested-envelope/case_plan_interpretation_repair_v1.json
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"analysis_revision": 1, "case_id": "BUG-000020", "code": null, "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "format": "viano-llm-call", "format_version": 1, "input_request_hash": "9bf55d9b8cf04d7cc82ac8c869122a2f22eae9f52d6654d2f321f2640d621609", "operation": "llm-round", "operation_key": "cdf9fddd5dccf7c6859f2f4c5aa65e46778d6d44e446cf579fa6b6f462b9b85c", "outcome": {"document": {"behavior_gap": null, "confirmed_technical_facts": [{"source_ids": ["F0001", "F0002", "F0003", "F0004", "F0005", "F0006", "F0007", "F0008", "F0009", "F0010", "F0011"], "text": "Reproduction execution at Ironforge Brewfest (map 0, zone 1, area 1, coordinates -5178.33, -577.744, 397.622) for diagnostic focus quest 11117 resulted in reproduced failure."}, {"source_ids": ["F0014", "F0015", "F0019"], "text": "Creature entry 23486 is Goldark Snipehunter, configured with SmartAI to cast Synthebrew Goggles creation on gossip option 0."}, {"source_ids": ["F0016", "F0018", "F0024", "F0025", "F0026"], "text": "Quest 11117 is titled 'Catch the Wild Wolpertinger!', starts with item 32907, and requires item 32906 and item 32907 in quest_template."}, {"source_ids": ["F0029", "F0031"], "text": "Creature template entry 23487 corresponds to 'Wild Wolpertinger' with SmartAI."}], "contradictions": [], "described_behavior": [{"basis": "local_description", "source_ids": ["F0017"], "text": "Quest 11117 description states that Goldark Snipehunter asks the player to capture 5 Stunned Wolpertingers using the Wolpertinger Net, visible while intoxicated or wearing Synthebrew Goggles.", "verification": "not_independently_verified"}], "expected_behavior": [], "failure_stage": {"source_ids": ["F0001", "O0002"], "text": "Creature spawning at Ironforge Brewfest location during quest 11117."}, "first_known_divergence": null, "interpretation_summary": {"source_ids": ["B0002", "F0001", "F0017", "O0002"], "text": "Reproduction confirms that Wolpertingers do not spawn at the Brewfest grounds in Ironforge for quest 11117 ('Catch the Wild Wolpertinger!'), even while wearing Synthebrew Goggles, while authoritative expected behavior specifications remain missing."}, "investigation_direction": [{"source_ids": ["F0001", "F0017", "F0029"], "text": "Investigate spawn definitions, visibility conditions, and event linkage for Wild Wolpertinger (entry 23487) during the Brewfest game event."}, {"source_ids": ["O0002"], "text": "Compare spawn mechanisms between the functioning Horde Brewfest quest counterpart in Durotar/Orgrimmar and the Ironforge location."}], "observed_behavior": [{"source_ids": ["B0002", "O0001"], "text": "Wolpertinger do not spawn."}, {"source_ids": ["O0002", "R0001"], "text": "At Ironforge Brewfest, no Wolpertingers spawn even when wearing the required goggles, whereas the Horde equivalent in Orgrimmar reportedly spawned Wolpertingers correctly."}, {"source_ids": ["O0003", "R0001"], "text": "Wolpertingers indeed do not spawn upon testing."}], "provisional_behavior_gap": {"basis": "local_description", "source_ids": ["F0017", "O0002"], "status": "provisional", "text": "Quest text describes capturing Wild Wolpertingers spotted via Synthebrew Goggles or intoxication, but at Ironforge Brewfest no Wolpertingers spawn."}, "relevant_entities": [{"entity_id": "N0001", "reason": "Goldark Snipehunter (entry 23486), quest giver and reported primary entity.", "source_ids": ["F0014", "F0015"]}, {"entity_id": "N0002", "reason": "Recorded entity: item 32906. Display name and functional identity are not verified.", "source_ids": ["F0016", "F0025"]}, {"entity_id": "N0003", "reason": "Recorded entity: item 32907. Display name and functional identity are not verified.", "source_ids": ["F0016", "F0024", "F0026"]}, {"entity_id": "N0004", "reason": "Quest 11117 ('Catch the Wild Wolpertinger!'), the diagnostic focus of reproduction.", "source_ids": ["F0009", "F0011", "F0016", "F0018"]}, {"entity_id": "N0005", "reason": "Wild Wolpertinger (entry 23487), the creature subject of quest 11117 reported missing from the Brewfest spawn area.", "source_ids": ["F0029", "F0031", "F0032"]}], "tester_assumptions": [], "unknowns": [{"source_ids": ["D0004"], "text": "Independent expected behavior documentation is missing from case records."}, {"source_ids": ["D0005", "F0030"], "text": "The phrase 'Stunned Wolpertingers' does not match any creature template entry in the world database snapshot."}]}, "metadata": {"attempts": [], "cache_created_tokens": 0, "cache_status": "below_minimum", "cached_input_tokens": null, "cost_currency": "USD", "elapsed_seconds": 26.828, "estimated_cache_storage_cost": 0.0, "estimated_cached_input_cost": null, "estimated_cost": null, "estimated_input_cost": null, "estimated_output_cost": 0.017445, "input_tokens": 14078, "model": "gemini-3.8-flash", "output_tokens": 4652, "prompt_version": "case_plan_interpretation_repair_v1", "provider": "gemini-native", "reasoning_tokens": 2854, "uncached_input_tokens": null}, "response_assessment"Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"analysis_revision": 1, "case_id": "BUG-000020", "code": null, "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "format": "viano-llm-call", "format_version": 1, "input_request_hash": "ce78c74c5d36746c80074d08392df0e645a3c143fd3a334d25961bf2dbd1b1c3", "operation": "llm-round", "operation_key": "2cd36795173fe6d547ff571814187ce1b12b3a7ec6accd4ebd98869d46bad248", "outcome": {"document": {"patches": [{"path": "/relevant_entities/4", "replacement": {"entity_id": "N0005", "reason": "Wild Wolpertinger (entry 23487), the creature subject of quest 11117 reported missing from the Brewfest spawn area.", "source_ids": ["B0002", "F0017", "O0001", "O0002"]}}, {"path": "/unknowns", "replacement": [{"source_ids": ["D0004", "Q0001"], "text": "Independent expected behavior documentation is missing from case records."}, {"source_ids": ["D0005", "F0030"], "text": "The phrase 'Stunned Wolpertingers' does not match any creature template entry in the world database snapshot."}]}], "reviews": []}, "metadata": {"attempts": [], "cache_created_tokens": 0, "cache_status": "below_minimum", "cached_input_tokens": null, "cost_currency": "USD", "elapsed_seconds": 96.547, "estimated_cache_storage_cost": 0.0, "estimated_cached_input_cost": null, "estimated_cost": null, "estimated_input_cost": null, "estimated_output_cost": 0.05642625, "input_tokens": 6256, "model": "gemini-3.8-flash", "output_tokens": 15047, "prompt_version": "case_plan_statement_repair_v2", "provider": "gemini-native", "reasoning_tokens": 14851, "uncached_input_tokens": null}, "response_assessment": {"decision": "protocol_valid", "document_retained": true, "raw_retained": true, "version": 1}, "response_capture": {"bytes": 600, "complete": true, "retained": true, "sha256": "370d2759efe563244d49f4fc9fe8e4b7baa74697c830f2b1e81e70bea0a72c20", "text": "{\"patches\": [{\"path\": \"/relevant_entities/4\", \"replacement\": {\"entity_id\": \"N0005\", \"reason\": \"Wild Wolpertinger (entry 23487), the creature subject of quest 11117 reported missing from the Brewfest spawn area.\", \"source_ids\": [\"B0002\", \"F0017\", \"O0001\", \"O0002\"]}}, {\"path\": \"/unknowns\", \"replacement\": [{\"source_ids\": [\"D0004\", \"Q0001\"], \"text\": \"Independent expected behavior documentation is missing from case records.\"}, {\"source_ids\": [\"D0005\", \"F0030\"], \"text\": \"The phrase 'Stunned Wolpertingers' does not match any creature template entry in the world database snapshot.\"}]}], \"reviews\": []}", "version": 1}}, "package_id": "trial-joint-recovery-BUG-000020-20261020", "phase": "INTERPRETING_CASE", "request_ref": "llm/operations/2cd36795173fe6d547ff571814187ce1b12b3a7ec6accd4ebd98869d46bad248/request.json", "result_ref": "llm/operations/2cd36795173fe6d547ff571814187ce1b12b3a7ec6accd4ebd98869d46bad248/round-0001.json", "retry_not_before": null, "rounds": 1, "status": "SUCCESS"}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"analysis_revision": 1, "case_id": "BUG-000020", "code": null, "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "format": "viano-llm-call", "format_version": 1, "input_request_hash": "16033a280958d149282f55c21ef5254292c29b6bab46ea8e806c76266be94cc2", "operation": "llm-round", "operation_key": "572afccbd4034d9c5485045cb4bb28b61fdd40e48dc8a3fab67cfc17e997cd65", "outcome": {"document": {"hypotheses": {"hypotheses": [{"distinction": "Focuses on missing or improperly phased world spawns for creature 23487 (Wild Wolpertinger) in the Dun Morogh / Ironforge Brewfest area compared to Durotar.", "expected_evidence": ["Database inspection of table creature shows zero spawns or event-gated spawns with missing game_event linkage for entry 23487 outside Ironforge."], "falsifying_evidence": ["World spawns for entry 23487 exist in Dun Morogh with active event associations and valid coordinates matching the reproduction area."], "interpretation_paths": ["/interpretation/observed_behavior/1", "/interpretation/provisional_behavior_gap"], "mechanism": "Wild Wolpertingers (entry 23487) lack active creature spawn definitions or appropriate game_event_creature associations for Dun Morogh (zone 1), preventing them from appearing in the game world near Ironforge during Brewfest even when the player has the required detection aura.", "open_questions": ["Are there records for creature 23487 in table creature or game_event_creature for map 0 / zone 1?", "Does the Horde counterpart quest use a separate creature entry or separate spawn records in Durotar?"], "premises": [{"interpretation_paths": ["/interpretation/observed_behavior/1"], "kind": "grounded", "source_ids": ["O0002"], "text": "The tester observed that no Wolpertingers spawn at Ironforge Brewfest while wearing the glasses, unlike the working Horde counterpart in Orgrimmar."}, {"interpretation_paths": ["/interpretation/provisional_behavior_gap"], "kind": "unverified", "source_ids": ["F0017", "O0002"], "text": "The Ironforge Brewfest area lacks active creature table spawn records or game event links for Wild Wolpertinger (entry 23487)."}], "rationale": "The tester reported that Wolpertingers do not appear at the Ironforge Brewfest grounds despite wearing the Synthebrew Goggles, whereas the Horde equivalent works properly. The most direct cause of NPC absence in a specific faction area is missing or unlinked spawn records in the creature or game_event_creature tables for the Dun Morogh coordinates.", "source_ids": ["O0002", "F0017"], "title": "Missing Dun Morogh Spawn Records for Wild Wolpertingers"}, {"distinction": "Focuses on visibility phase, stealth, or aura-detection flag mismatches rather than absence of spawn rows in the creature table.", "expected_evidence": ["Creature template or spawn definitions for entry 23487 require an aura or invisibility phase that is not granted by item 32907 / spell 66592 on Alliance."], "falsifying_evidence": ["Creature 23487 has default visibility flags or phase masks that match the aura granted by Alliance Synthebrew Goggles."], "interpretation_paths": ["/interpretation/observed_behavior/1", "/interpretation/confirmed_technical_facts/3"], "mechanism": "Wild Wolpertingers are spawned in Dun Morogh but configured with unit_flags, phase masks, or stealth detection settings that do not match the specific drunken/goggles detection aura applied by Alliance quest items, making them invisible to players.", "open_questions": ["What invisibility or stealth flag is used on creature template 23487?", "Does spell 66592 apply the exact stealth detection aura required to see entry 23487?"], "premises": [{"interpretation_paths": ["/interpretation/confirmed_technical_facts/3"], "kind": "grounded", "source_ids": ["F0017"], "text": "Quest description notes that players must be intoxicated or wearing Synthebrew Goggles to see Wolpertingers."}, {"interpretation_paths": ["/interpretation/observed_behavior/1"], "kind": "unverified", "source_ids": ["O0002"], "text": "Alliance Synthebrew Goggles or local intoxication may grant an aura that does not match the detection requirements on the Dun Morogh Wolpertingers."}], "rationale": "Wolpertingers are intended to be invisible unless the player is drunk or wearing Synthebrew Goggles. If the Alliance goggles (created via spell 66592 from Goldark) or Dun Morogh creatures have a mismatched invisibility phase or aura requirement, players will observe that they do not appear even if the spawns exist in the database.", "source_ids": ["O0002", "F0017", "F0019"], "title": "Detection Aura or Invisibility Phasing Mismatch"}, {"distinction": "Focuses on dynamic script-triggered spawning or event script failures instead of static creature template and spawn table defects.", "expected_evidence": ["A SmartAI or spell script attached to quest accept, gossip, or area triggers intended to spawn Wolpertingers is missing or fails on execution."], "falsifying_evidence": ["Wolpertingers are purely staticLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"case": {"analysis_revision": 1, "case_id": "BUG-000020", "package_id": "trial-joint-recovery-BUG-000020-20261020", "project": {"profile": "vcore", "type": "wow"}, "source_generation": 3}, "case_ref": "case/revisions/0001/case.json", "case_sha256": "7c9e13e923c9d6ecbfe8d4cc0936ac78ec2ec7e4ef97760d07cf0444c83cd4ee", "context_selection": "phase_selection_v1", "expected_behavior_completeness": "missing", "expected_behavior_provenance": "none", "format": "viano-case-interpretation-context", "format_version": 1, "joint_generation": {"policy": {"budget_unit": "investigation_units", "format": "viano-hypothesis-policy", "format_version": 1, "initial_budget": 100, "max_hypotheses": 5, "min_hypotheses": 3}, "prior_generations": [], "recovery_version": 1, "version": 2}, "model_encoding": "shared_json_v1", "sources": {"B0001": {"case_pointer": "/bug/reports/0", "data": {"origin": {"archive_ref": "original/vcore/imports/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/wowdiag/archive.tar.gz", "json_pointer": "/0", "member_name": "BUG-000020-20261008-130429/bug/reports.json", "source_ref": "original/vcore/imports/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/wowdiag/members/BUG-000020-20261008-130429/bug/reports.json"}, "source_ref": "case/inputs/vcore/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/wowdiag/report-32.json", "summary": null, "title": null}, "kind": "report"}, "B0002": {"case_pointer": "/bug/reports/1", "data": {"origin": {"archive_ref": "original/vcore/imports/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/wowdiag/archive.tar.gz", "json_pointer": "", "member_name": "BUG-000020-20261008-130429/bug/bug.json", "source_ref": "original/vcore/imports/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/wowdiag/members/BUG-000020-20261008-130429/bug/bug.json"}, "source_ref": "case/inputs/vcore/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/wowdiag/bug-record.json", "summary": "Wolpertinger spawnen nicht", "title": "Wolpertinger spawnen nicht"}, "kind": "report"}, "B0003": {"case_pointer": "/bug/reports/2", "data": {"source_ref": "case/inputs/vcore/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/source-quality.json", "summary": null, "title": null}, "kind": "report"}, "D0001": {"case_pointer": "/data_quality/issues/0", "data": {"code": "SOURCE_TIME_UNQUALIFIED", "message": "Source time has no usable timezone; retained without conversion", "refs": [{"json_pointer": "/0/description", "source_ref": "original/vcore/imports/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/wowdiag/members/BUG-000020-20261008-130429/bug/reports.json"}]}, "kind": "data_quality"}, "D0002": {"case_pointer": "/data_quality/issues/1", "data": {"code": "SOURCE_TIME_UNQUALIFIED", "message": "Source time has no usable timezone; retained without conversion", "refs": [{"json_pointer": "/0/observation", "source_ref": "original/vcore/imports/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/wowdiag/members/BUG-000020-20261008-130429/bug/reproductions.json"}]}, "kind": "data_quality"}, "D0003": {"case_pointer": "/data_quality/issues/2", "data": {"code": "SOURCE_TIME_UNQUALIFIED", "message": "Source time has no usable timezone; retained without conversion", "refs": [{"json_pointer": "/1/data_json", "source_ref": "original/vcore/imports/768ba7813ccc3ac656328e895d4abcc8d56822c2976a149a95e99cf91f8bb096/wowdiag/members/BUG-000020-20261008-130429/bug/reproduction_events.json"}]}, "kind": "data_quality"}, "D0004": {"case_pointer": "/data_quality/issues/3", "data": {"code": "EXPECTED_BEHAVIOR_MISSING", "message": "Expected-behavior completeness is missing", "refs": []}, "kind": "data_quality"}, "D0005": {"case_pointer": "/entity_resolution/unresolved/1", "data": {"capture_ref": "analysis/interpretations/0001/entity-resolution/captures/cad7b25d13e299feaf7ea231e23fe5af91492fc2a6a8bb6ae0476bbb9bc40de2.json", "citation_policy": "grouped_capture_v3", "code": "ENTITY_RESOLUTION_UNRESOLVED", "meaning": "scoped_lookup_uncertainty_not_global_identity_failure", "reason": "Capture V0002 returned no rows for 'Stunned Wolpertingers' in creature_template, representing an unmapped outcome phrase rather than an entity record in the database snapshot.", "status": "no_match", "term": "Stunned Wolpertingers"}, "kind": "data_quality"}, "D0006": {"case_pointer": "/interpretation_quality/policy", "data": {"citation_policy": "grouped_capture_v3", "code": "DESCRIPTION_PROVENANCE_POLICY", "meaning": "local_descriptions_are_not_independently_verified_expectations"}, "kind": "data_quality"}, "D0007": {"case_pointer": "/interpretation_quality/model_context", "data": {"model_context_policy": "compact_storage_v1"}, "kind": "data_quality"}, "D0008": {"case_pointer": "/interpretation_quality/name_bindings", "data": {"name_binding_policy": "typed_name_bindings_v1"}, "kind": "data_quality"}, "D0009": {"case_pointer": "/interpretation_quality/iLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"case_plan_interpretation_repair_v1.json": "4567683fb436d3467c99c720e2721dbf88e9d886927688310daa167c36654bf5",
|
||||
"case_plan_statement_repair_v2.json": "e749e5545c6403ea2f543674d06d8092490ecfaa80e9c8d74c412f1597cc7768",
|
||||
"case_plan_v2.json": "2ff4e170dc33b33d58ea7c44e497dfc10302a8170248b5789abe67d6107fb72c",
|
||||
"context.json": "10f11d5bbeb61d986b6384e702434737be297ba7a148afb81d5725514544258e"
|
||||
}
|
||||
Reference in new issue
Block a user