fix(027): stabilize shared acceptance gates and compatibility collateral

This commit is contained in:
2026-03-17 11:07:49 +03:00
parent 023bacde39
commit 18bdde0a81
19 changed files with 749 additions and 552 deletions

View File

@@ -48,7 +48,7 @@ describe('AssistantChatPanel integration contract', () => {
const source = fs.readFileSync(COMPONENT_PATH, 'utf-8');
expect(source).toContain('<!-- [DEF' + ':AssistantChatPanel:Component] -->');
expect(source).toContain('@TIER' + ': CRITICAL');
expect(source).toContain('@COMPLEXITY: 5');
expect(source).toContain('@UX_STATE: LoadingHistory');
expect(source).toContain('@UX_STATE: Sending');
expect(source).toContain('@UX_STATE: Error');

View File

@@ -32,7 +32,8 @@
let { reports = [], selectedReportId = null, onselect } = $props();
function handleSelect(event) {
if (onselect) onselect({ report: event.detail.report });
const report = event?.detail?.report ?? event?.report ?? null;
if (onselect && report) onselect({ report });
}
</script>