feat(AP2.2b, UX): Linear E2E, Composition-Kernel und Steering-Paritaet
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Successful in 4m24s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 12s

AP2.2b: Integrationstests Neue-Kueche-Happy-Path, Truth Table und Execution Plan abgeschlossen. UX Composition Kernel (Control/Plan/Cockpit-Slots), CriticalPathPanel aus Kernel-Read-Model mit Gate-Horizont, Next Action elementgesteuert ohne Snapshot-Doppelung, Product-Continuous-Copy und Plan/Arbeit ueber Kernel planning_debt.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-07-27 13:34:13 +02:00
1 parent b6434bcc50
commit 43d33d0edb
22 files changed
+1527 -243

No files matched your search

@@ -0,0 +1,60 @@
import { useMemo } from 'react'
import { CompositionSlot } from './CompositionSlot.jsx'
import { resolveSteeringComposition } from './resolveSteeringComposition.js'
import { getCompositionSurface } from './uiSlotRegistry.js'
/**
* Rendert alle Slots einer Composition-Surface.
* @param {{
* surfaceKey: string,
* scope?: 'portfolio' | 'initiative',
* operatingContext?: object | null,
* steeringSnapshot?: object | null,
* capabilities?: Set<string> | string[],
* filterContext?: Record<string, unknown>,
* opsContext?: object | null,
* slotClassName?: string,
* wrapperClassName?: string,
* }} props
*/
export function CompositionSurface({
surfaceKey,
scope = 'initiative',
operatingContext = null,
steeringSnapshot = null,
capabilities = new Set(),
filterContext = {},
opsContext = null,
slotClassName,
wrapperClassName,
}) {
const composition = useMemo(
() =>
resolveSteeringComposition({
surfaceKey,
scope,
operatingContext,
steeringSnapshot,
capabilities,
filterContext,
opsContext,
}),
[surfaceKey, scope, operatingContext, steeringSnapshot, capabilities, filterContext, opsContext],
)
const surface = getCompositionSurface(surfaceKey)
if (!surface) return null
return (
<div className={wrapperClassName} data-composition-surface={surfaceKey}>
{surface.slotKeys.map((slotKey) => (
<CompositionSlot
key={slotKey}
slotKey={slotKey}
providers={composition.slots[slotKey] || []}
className={slotClassName}
/>
))}
</div>
)
}