Add-FoundryKnowledge cast the payload embedding from JSON text to a
vector inside the per-row expressions, so it was re-parsed for every
stored entry. At about 2,400 entries each insert took 1-3 s, and the
cost grew with the table. The embedding is now parsed once in a
MATERIALIZED CTE, so PostgreSQL cannot inline the cast back into the
rows.
Verified: tests/Knowledge.Tests.ps1 passes 17/17, including both
duplicate-detection checks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cc65's c64_1351_mou wanders under VICE 3.10 with no input (775 pointer
moves in 780 idle frames, headless). Add templates/capabilities/mouse-1351
(src/mouse1351.s/.h from stonehold-64 M2.2: control port 1 selected and
settled for 12 raster lines before POTX/POTY are read; 0 moves in 810
idle frames) and a catalog capabilityFiles entry, so generated C and
mixed C + ca65 repos on c64/c128-c64mode that list mouse-1351 get it.
Other languages/platforms get a doc note pointing to the method.
The mouse-1351-c fixture uses the reader and checks MOUSE STILL (no drift
over 100 idle frames); a new test covers when the reader is copied.
Docs and verification log updated. Test suite: 117 passed, 0 failed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Catalog the Commodore 1351 mouse for C, mixed C + ca65, ca65 and native
assembler (BASIC V2 / 7.0 report a conflict). Briefs that list it get
VICE -controlport1device 3 in their emulator arguments, with a mouse-grab
note in the generated toolchain docs. Adds the mouse-1351-c and
conflict-basic-mouse test briefs and the verification log addendum.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Interview workflow (AGENTS.md), structured brief with schema and validator
(draft/resume, conflicts, overrides), toolchain catalog and selection guide,
templates, and a deterministic PowerShell generator that stages, initializes
Git and publishes self-contained project repos with VICE smoke tests.
Includes two example briefs (Traffic Control 64, C128 80-column text viewer),
test briefs, an automated suite (108 checks) and verification docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>