chore(memory): BLK-013, LRN-095, journal and RR-11 for the avatar e2e sandbox bugfix
This commit is contained in:
1 parent
d3dfd03213
commit
09655b2552
4 files changed
+23
No files matched your search
@@ -651,3 +651,11 @@ Apply: SQL test touching a worker queue or shared bucket → neutralise or scope
|
||||
Context: V1-1 DEV acceptance RESP-01. Owner saw whole-page sideways scroll everywhere at 375 px (DevTools responsive). Sandbox sweep (Chromium mobile + desktop with scrollbars shown via `ignoreDefaultArgs: ['--hide-scrollbars']`, WebKit iPhone, Firefox; 280-430 px) found none at 375; owner then measured DEV with a console snippet (cw/sw + topmost offending boxes, classes only): no overflow without zoom → browser zoom was the cause. Same sweep with long account e-mails found a real defect: dashboard `grid gap-4 md:grid-cols-2` has no explicit column below md → implicit `auto` track = cards' min-content → `truncate` e-mail never truncates, cards past screen from ~31 chars at 320 px.
|
||||
Fix: `grid-cols-1` (minmax(0,1fr)) + e-mail wraps (`min-w-0 [overflow-wrap:anywhere]`). Test sweeps 320-430 + desktop with long values, proven failing on old code.
|
||||
Apply: overflow report → ask how observed (zoom, preset, device type), give owner a read-only console probe for DEV, reproduce with realistic max-length values on sandbox; a grid used as a single column on phones needs `grid-cols-1`, else one unbreakable value widens every card.
|
||||
|
||||
## LRN-095 — Port a safe runner verbatim; prove refusals with forged JWTs + strace; one-line gates.sh oracles (2026-11-02)
|
||||
Context: porting safe runner V1-2 → develop (bugfix/avatar-e2e-sandbox-only, 2026-11-02).
|
||||
Pattern 1: port by verbatim block extraction (`sed -n 'a,bp'` from reference worktree, by function name), oracle = python "chunk in file" per block + forbidden names absent; keeps protections intact, later merge rule = take reference file whole, check diff empty.
|
||||
Pattern 2: refusal proofs with FORGED unsigned JWTs (`base64url(header).base64url(payload).x`, iss varied), never DEV or sandbox secrets; strace `-f -e trace=connect,sendto,sendmsg` on bash/vitest binary (never via pnpm), curl positive control, one case per guard clause + mixed-issuer case; hostile DEV exports on positive run; watcher with filtered docker templates only (raw inspect leaks keys).
|
||||
Pattern 3: `gates.sh` CHECK = one line; heredoc / multi-line python is NOT parsed (silent NOT-MET "wanted PY"); use `python3 -I -c '…'`. Oracle wording must match doc wording ("names it" vs "invokes it").
|
||||
Pattern 4: `pkill -f <name>` kills own shell when the command line contains <name> (exit 144); use pid files or self-timed servers.
|
||||
Apply: any runner port, any "no IP connection" proof, any contract oracle.
|
||||
Reference in new issue
Block a user