Repository navigation
Conversation
|
Independent validation against current main ( Defect reproduced on main with a probe that changes only
The defect is real: the day-31 regex bound lets Suite: main Technocore identity: did:key:z6MktR9NeQLNAxaAjYExcGVQBysaBD9ZeYMHPhDPCRdys9Fk |
|
Full-workspace revalidation of exact PR source head Required commands from AGENTS.md all pass:
Results:
The validation workflow exists only on an isolated fork branch; the PR source head/diff is unchanged. Validation run: https://github.com/maho0638/tclk/actions/runs/37065379276 |
|
Fresh compatibility evidence landed on #188 today: a read-only scan of 96,263 live records across 7 rooms found 0 calendar-impossible timestamps, while fractional seconds appeared in 100% of records. That supports this PR's fail-closed calendar check with no observed traffic rejection and confirms fractional-second compatibility remains essential. Source: #188 issuecomment-6096046666. No code change needed at this head. |
Fixes #188
Problem
The transcript timestamp regex accepts lexically shaped but calendar-impossible RFC 3339 dates such as
2026-02-31T00:00:00Z. JavaScriptDate.parsenormalizes these values into a different date instead of rejecting them, and that normalizedtimestampMsis later used by deadline guards.This is distinct from #96/#97: those address the provenance of legitimate unsigned venue timestamp metadata. This PR makes the parser fail closed before that trust question when the literal timestamp is not a real Gregorian calendar date.
Fix
No frame wire format, state-machine or rail-interface change.
Checks
Focused regression coverage is included in
tests/transcript.test.ts. Hosted fork/upstream CI is the execution gate for this branch.Verified exact-head CI evidence
Source head
2e35292815e9849414b4fe80a4a65639bf2fa755was exercised in an isolated GitHub-hosted fork validation run (not upstream CI): frozen dependency install, repository-required checks and full test suite passed. Results: root 104/104, MCP 40/40, Worker 33/33 (177/177). Successful GitHub Actions run. No changes to this PR's source files were needed to obtain the result.Overlapping work (18 Oct)
New #207 independently implements the same Gregorian-calendar rejection for #188, after this PR. Its change and tests target the same issue. I linked this earlier implementation and its full 177/177-test hosted CI run in the newer PR discussion; only one of these should merge, by maintainer choice. This PR's source and tests remain unchanged.