Skip to content

FLT-359 round-4 responses

Scope: local work only, no network, credentials, fleet configuration, commit, or push. Approvals remain disabled by default. Reproduced bugs have red receipts; display injection was already rejected by existing validation and is identified separately below.

Cedric

  • P2 serialized size: accepted. ActionJson.Validate measures the actual UTF-8 serialization used by Serialize, including escaping, before accepting an action. The 64-character < reproduction is rejected up front; a just-under-limit action round-trips. Red: ../../artifacts/round6-core-red-3.log (3 failed, 4 passed, also includes timestamp regressions). Green: ../../artifacts/round6-core-green.log (7 passed).

Gronktayvius General

  • High existing-directory mutation: accepted. Preconditions precede creation; existing directories are never chmod'd or given a replacement DACL. New directories receive their private security descriptor/mode at creation. A locked recheck rejects nonempty directories. A red test compares the original directory's security before and after rejection.
  • High marker publication: accepted. Write a unique same-directory temporary file, flush to disk, close, then atomically rename without overwrite. Cleanup covers write, flush, disposal, and rename failure. Only a complete marker is accepted on collision. Corrupt legacy markers fail visibly and are retained, since prior delivery is unknown. Red: ../r6-notify-red.log (10 failed) and ../r6-notify-corrupt-red.log (3 failed). Green: ../r6-notify-green.log (54 passed, including concurrency and retry tests).
  • Medium device-message budget/viewport: partially accepted: the existing complete 256-character ceiling remains fail-closed. Declined silent target truncation and a provider-specific ceiling in generic action parsing: those would hide bound target details or disallow non-Twilio actions. Complete kind, target, ticket, command hash, effect, and label must fit or no challenge is created. Live Twilio viewport verification is untested because network/device use is outside this task. This is a documented usability limitation, not a claim that every Parse-legal action fits a push.
  • Medium default email timeout logging: accepted. Email and outbox share a diagnostic helper; absent an injected logger, it emits Trace.TraceWarning. A listener test proves the default path emits the timeout. Included in the notification red/green receipts.
  • Medium old subsecond timestamps: accepted with exact-binding preservation. New requests still use whole UTC seconds. Previously stored fractional UTC timestamps validate again; the provider must echo the exact old timestamp. Broad Unix-second equivalence was declined because it permits one-tick challenge-binding changes. Existing anti-renewal tests remain green. Twilio regressions: ../../artifacts/round6-core-regressions.log (88 passed).

Gronktayvius Red Team

  • High ancestor links / path swap: accepted. Every component from the volume root is opened no-follow; Windows rejects reparse attributes and holds handles denying deletion during operations. Linux uses O_NOFOLLOW | O_DIRECTORY for directories. File identity, owner, and security mode are persisted and checked at every Open; the verified identity is rechecked after the SQLite path-based open. Owner-only ledger directory/file/identity metadata are required. Windows ancestor-junction and file-replacement tests reproduce red before implementation. Linux execution is not verified on this Windows host. Unsupported Unix ABIs fail closed. Red: ledger-red.log (4 failed); green: ledger-green.log (28 passed). The identity sidecar is executor-owned state, not a cryptographic trust anchor; malicious code running as the executor, or privileged replacement of both database and metadata, is outside this filesystem ownership boundary.
  • Medium device-text injection / store validation: injection already failed closed: IsValid hashes through Serialize/Validate, which enforces printable ASCII for both effect and summary. The initial regression run confirms this protection; no fabricated red claim. Added final-boundary sanitization of controls, Unicode format characters, and U+2028/U+2029 without altering the original hashed action. The independent store issue was reproduced red: Load now returns null for invalid requests.
  • Medium clock poisoning: accepted. Retain the monotonic check and reject caller time more than one minute ahead of the executor clock, or more than 30 minutes behind. DateTimeOffset.MaxValue is rejected without poisoning later observations. TryRecord has no request parameter, so its past-time bound uses the maximum allowed lifetime.
  • Medium partial marker: accepted; same atomic-publication fix and receipts as General.
  • Medium request-file permissions: accepted. Windows creates the temporary file with a protected owner-only DACL in the creation call; Unix uses UnixCreateMode 0600. Rename preserves that security. Red: store-red-final.log (2 failed, also invalid Load). Green: store-green-final.log (2 passed). Windows DACL assertions executed; Unix mode assertions are platform-conditional and were not executed here.
  • Medium incomplete TRX counters: accepted. Gate now rejects each nonzero error, timeout, aborted, notRunnable, inconclusive, notExecuted, disconnected, and passedButRunAborted counter individually. Added ci/Test-AssertTestResults.ps1 before the patch to exercise four incomplete runs and a clean control. Direct shell launches initially hung; hidden .NET process launching worked. Restored the original gate to reproduce all four bugs, then reapplied the fix. trx-host-red.log: 4 failed, 4 passed. trx-host-green.log: 10 passed, including the clean-run control. Thus this gate was executed and verified on Windows, not left untested.
  • Low default email timeout: accepted; same logging fix as General.

Jenny J2

  • High truncated review input: acknowledged as a review-coverage failure, not a reproduced product bug. All four local review files were read, and the complete local source/test changes were available for this fix pass. No fresh remote council/re-gate was run under the no-network constraint. A future cross-family gate must include the complete diff, new files, and test receipts without truncation.
  • Medium invalid email/outbox requests: accepted. Both entry points call IsValid before creating directories/markers or sending email. Separate red tests cover forged hashes, invalid IDs, and invalid expiry metadata for both entry points. Included in notification receipts above.

Verification limitations

  • No live Twilio, SMTP, Pavlok, fleet, or credential access was attempted.
  • Linux no-follow/identity/mode branches and non-Windows filesystem behavior require an isolated Linux x64 run; other Unix ABIs currently refuse operation.
  • Direct tool-hosted PowerShell startup hung, but the hidden .NET process test harness successfully executed all PowerShell regression tests.
  • Existing ledger files without the new identity metadata fail closed and require explicit executor maintenance; initialization never migrates an existing database.

Final local receipts

Both commands exited 0. UseSharedCompilation=false avoids this environment's shared compiler access-denied error; separate output/intermediate directories avoid locked artifacts.

dotnet build --no-restore -warnaserror -p:UseSharedCompilation=false -p:OutputPath=bin/R6/ -p:IntermediateOutputPath=obj/R6/
Build succeeded.
    0 Warning(s)
    0 Error(s)
Time Elapsed 00:00:03.13

dotnet test --no-restore -p:UseSharedCompilation=false -p:OutputPath=bin/R6/ -p:IntermediateOutputPath=obj/R6/
Passed!  - Failed:     0, Passed:   586, Skipped:     0, Total:   586, Duration: 30 s - Forge.Approvals.Tests.dll (net10.0)

dotnet src/Forge.Approvals.Cli/bin/R6/forge-approve.dll doctor
approvals disabled; configuration incomplete

Raw logs: final-build.log, final-test-green.log, cli-doctor.log. The doctor command used a process-local unset Approvals__Enabled, proving the default rather than reading or changing fleet configuration. git diff --check exited 0 (only line-ending notices). The earlier full run is retained in final-test.log: 19 expected-exception mismatches, 562 passed. Updated those assertions to the new early request-validation boundary while retaining no-send checks; the final complete run above passed all 586 tests.