Scoped attention history mirror
This candidate carries the existing 30B GPU-cached history mechanism into 27B attention. Omega owns request admission, bounded allocation reuse and the operation sequence. Existing native transport allocates device-private memory and runs the existing copy and attention kernels. It adds no attention arithmetic, reduction-order change, dependency or persistent-prefix validity assumption.
plan.om accepts an exact seven-element request: mode, query heads, K/V heads, capacity in positions, starting position, row count and bytes per K/V plane. Zero means bypass, all-ones means refusal, and another value is the required mirror size. Bounds and geometry are checked before multiplication. The layout constants come from omega_gpu_decode_attn256_api.h and omega_blackwell_codegen_attn256.h, including the tail slack; they are implementation contracts, not claimed chip limits.
step.om directs allocation when capacity is insufficient, PREP, full K/V copy and ATTEND. Each operation must report successful completion before the next action is selected. A failure prevents attention or output publication. One buffer is reused across layers and requests, and released by the existing attention cleanup/session-close path. The CPU never reads or writes it. Original cache contents remain authoritative for decode and saved state.
The new per-call entry has modes 0 (ordinary), 1 (mirror all supported requests) and 2 (provisional threshold at 1024 rows). Mode 2 avoids copying on tiny calls. This threshold needs further performance qualification. No process-global selector or deployed default changes. Existing host, device and recorded calls keep their behavior.
The integrated production candidate passes 63 physical attention checks, six complete-score cases, seven threshold and tail cases, and a 32,768-token read followed by a short request. Every compared score bit matches. The complete native host suite now passes all 83 manifest targets, including both attention checks; Core's full preflight also passes. The registration repair preserves targets contributed by earlier build fragments. The first full-suite attempts caught a missing portability row and an omitted pinned Bridge path in the external runner. Both failures and their repairs are preserved.
The production long read measured 109.500 seconds before and 103.451 seconds with cached history, including allocation and copy cost. The same immutable server passed short correctness, streaming, seeded sampling, and paired 32,768-token retrieval and continuation checks. First visible response was 108.372 seconds before and 104.728 seconds with the candidate; fresh follow-up was 108.918 versus 103.074 seconds. The repeated 5,017-token full-model total was essentially unchanged. These are single shared-machine observations, not quiet performance qualification. The 65,536-token candidate serving check also passes retrieval and saved/fresh continuation parity; first visible response was 237.355 seconds and saved follow-up 0.531 seconds. This is a candidate-only correctness observation, not a paired speed claim. The 128,000-token serving check also passes retrieval and saved/fresh continuation parity: first visible response was 570.312 seconds, saved follow-up 0.778 seconds, and fresh follow-up 570.967 seconds. 128K evidence pins the completed run. All planned short/32K/64K/128K serving correctness gates now pass. Quiet alternating timing and independent review remain open; no default promotion or deployment. Follow-up evidence records the complete 83-target suite and 64K check. Integration evidence pins the checked sources, binaries, receipts, original log hashes and remaining work; it supersedes the pending status in the historical targeted host receipt.
Run make test-attention-mirror-policy test-attention-mirror-dispatch with the repository's pinned Omega compiler and Bridge. The independent host oracle checks admission and transitions, including malformed inputs and failed completion; source mutations challenge geometry, bounds, short-call bypass, both-plane copy, capacity and ordering. Python is external verification only. The actual native dispatch instrument substitutes fake device transport to inspect the executed sequence and its failure paths without opening a GPU.