diff --git a/goals/G-061-pseudoconsole-expect.md b/goals/G-061-pseudoconsole-expect.md index 047a0f23..41119e75 100644 --- a/goals/G-061-pseudoconsole-expect.md +++ b/goals/G-061-pseudoconsole-expect.md @@ -77,4 +77,22 @@ expect-like primitives over a REAL pseudo-terminal: - ConPTY availability gates the windows side to Win10 1809+ (fine for punkshell's supported baseline); the capability probe should verify actual ConPTY function, not windows version. +- Console-context test-matrix findings 2026-07-19 (user console-attached sequential + runtests runs; a concrete workload for this goal's harness): three tests fail ONLY + under a HALF-attached console state (stderr = real console, stdout = redirected file) - + punk/ansi grepstr.test grepstr_return_all_highlight_exact and + grepstr_tab_warning_and_passthrough emit EMPTY SGR (ESC[m) where the expected + term-teal codes should be, and punk/ns nslist.test nslist_marking_exported_imported + loses its markers (0 0 0). Class: punk::console PROCESS-GLOBAL colour state reacting + to mixed tty-ness in singleproc runs (fully-piped and -jobs child-process runs are + green; fully-interactive stdout+stderr-console behaviour is UNVERIFIED - exactly the + context matrix a pseudoconsole harness makes testable deterministically). Interim + repro technique without ConPTY: Start-Process a .cmd wrapper with selective stdio + redirection (stderr left on the spawned console) - used 2026-07-19 to root-cause the + related-but-distinct capture_stderr defect (a chan-push transform on console-backed + stderr receives the driver's utf-16le wide-char bytes; FIXED in the three + capture_stderr helpers, commit 913ea749). The empty-SGR/marker findings remain open; + a pseudoconsole-driven context matrix (fully-attached / half-attached / detached) + over these suites is a natural early acceptance workload alongside the preserve-list + behaviours. - Archived-goal references in this file: G-001 achieved 2026-07-11 (goals/archive/G-001-pluggable-console-backends.md);G-059 achieved 2026-07-11 (goals/archive/G-059-wsl-test-driving.md).