Skip to content

docs(review): add per-stack date-time guidance - #233

Merged
kyle-sexton merged 4 commits into
mainfrom
agent/issue-192-date-time-overlays
Jul 22, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
agent/issue-192-date-time-overlays

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Summary

  • add stack-owned date/time type, library, parsing, monotonic-clock, and tzdb guidance for .NET/SQL Server, TypeScript/JavaScript, Python, Go, Bash, and containers
  • keep the shared date-time.md boundary unchanged and cross-link each overlay to it
  • qualify recommendations by runtime and platform support, including .NET Framework/ICU, Fabric Warehouse, Temporal availability, Python/WASI, Go embedded tzdata, GNU extensions, and Linux container clock ownership

Research

The new criteria were authored from current primary sources linked inline: Microsoft .NET and SQL Server documentation; MDN, Node.js, and the Temporal proposal champions; Python and Go standard-library documentation; POSIX and GNU manuals; and IANA, glibc, Linux, and Docker documentation.

A repository-wide reconciliation search found no competing stack-specific owner or contradiction. The existing shared rule continues to own semantic/storage smells; the overlays only select stack representations and remedies.

Verification

  • npm run lint:md — 97 Markdown files, 0 errors
  • pre-commit Markdownlint, typos, and gitleaks lanes — passed
  • lychee --offline --config lychee.toml over all six changed overlays — 0 errors
  • git diff --check / staged diff check — passed
  • external link check was capped after 60 seconds with no result; every new source was opened and inspected during research
  • the editorconfig hook lane was excluded because editorconfig-checker is not installed in this environment; the applicable UTF-8, final-newline, and whitespace requirements were checked directly
  • the remaining README full-suite commands are left to required CI after the prefixed dependency setup stalled in the execution/approval layer

Related

Closes #192

@claude

claude Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 3m 35s —— View job


PR Review

  • Gather context
  • Read REVIEW.md and shared date-time.md
  • Review changed overlay files
  • Post findings

Overall this is a thorough, well-sourced addition. The section boundaries are consistent (each overlay correctly delegates semantic/storage concerns to date-time.md and owns only stack representation), the link references are correctly numbered and extend existing sequences, and stack-specific caveats (ICU/NLS on Windows, DateOnly/TimeOnly on Framework, WASI, time/tzdata scope, SYS_TIME) are well-scoped. One Important finding and three nits below.


🔴 Important — Missing citation for Fabric Warehouse datetimeoffset claim

dotnet.md — "Types match the contract" bullet

Confirm the target before prescribing datetimeoffset: Microsoft Fabric Warehouse currently does not support that column type.

This is the only normative statement across all six changed files that lacks a direct citation. The three SQL Server reference links ([3]–[5]) point to datetime, datetime2, and datetimeoffset T-SQL type pages — none of which covers Fabric Warehouse support scope. Downstream repos will use this criterion to make schema decisions; authors need a link to the Fabric Warehouse documentation (or the feature-gap note in the SQL engine docs) so they can verify the claim and detect when support is added. Without it the criterion can silently become misleading with no update signal.

Suggested fix: add a reference link to the Fabric Warehouse SQL analytics endpoint documentation or the known-limitations page that records this gap, and cite it inline alongside the claim. Fix this →


🟡 Nit 1 — %z grouped with GNU extensions

bash.md — "Keep portable output explicit and UTC" bullet

GNU date -d, --iso-8601, --rfc-3339, %s, %N, and %z are extensions

%z is specified in POSIX strftime since POSIX.1-2017, unlike %s and %N which are genuinely GNU-only. The practical advice — prefer the explicit -u '+…Z' form — is correct regardless, but grouping %z with %s/%N overstates how non-portable it is. Consider splitting the list: "GNU date -d, --iso-8601, --rfc-3339, %s, and %N are extensions; %z is POSIX on recent systems but not reliably supported across all POSIX date implementations."


🟡 Nit 2 — Link style inconsistency in containers.md

containers.md — date-time section references

All pre-existing content in containers.md uses inline link syntax ([text](url)), including the "External authorities" section. The new date-time section introduces reference-style links ([1]–[5] defined at the bottom), creating an in-file inconsistency. This doesn't affect correctness but a reader who does not scroll to the bottom to find [1]–[5] may find the section harder to follow than the rest of the file.


🟡 Nit 3 — Point-in-time language for Temporal availability

typescript.md — "Gate Temporal on the supported runtimes" bullet

MDN still marks Temporal as limited availability and not Baseline

The word "still" anchors the criterion to a snapshot observation. The link to MDN is present so readers can check current status, but as a standards document the phrasing will silently become misleading once Temporal ships Baseline. A formulation that ages better would be: "as of writing, MDN marks Temporal as limited availability and not Baseline; check the MDN page before assuming it is safe to use without a polyfill" — or simply let the link do the work and drop the editorial qualifier.


@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1fc297cd2f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread conventions/review/overlays/bash.md Resolved
… drop snapshot phrasing

- dotnet.md: cite the Fabric Warehouse unsupported-data-types page for the
  datetimeoffset persisted-storage gap (new link [7]); the claim was the
  only normative statement in the date-time overlays without a citation.
- bash.md: %z is a POSIX strftime conversion (POSIX.1-2024, delegated by the
  date utility), not a GNU extension; the colon form %:z is the GNU extension.
  Swap %z -> %:z in the extension list.
- typescript.md: drop "still" so the Temporal-availability note is not anchored
  to a snapshot; the MDN link carries current status.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@claude

claude Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 1m 39s —— View job


Claude finished reviewing 33496da ——


Follow-up Review

  • Gather context (new commit 33496da)
  • Read updated overlay files
  • Post follow-up review

Three of the four prior findings are resolved. One nit remains open.


✅ Resolved — Fabric Warehouse datetimeoffset citation

dotnet.md line 79

Reference [7] added, pointing to the Fabric Warehouse data-types page (#unsupported-data-types-for-tables), and cited inline alongside the claim. The word "currently" was also removed, making the statement less snapshot-bound.


✅ Resolved — %z grouped with GNU extensions

bash.md line 91

%z replaced with %:z. The colon-bearing form (+HH:MM) is the GNU extension; plain %z (+HHMM) is POSIX-specified. This matches both the prior review recommendation and the independent Codex finding.


✅ Resolved — Temporal snapshot language

typescript.md line 24

"still" removed; the live MDN link now does the aging work without editorial commentary that would go stale.


🟡 Remaining Nit — Link style inconsistency in containers.md

containers.md — date-time section

The date-time section still uses reference-style links ([1]–[5]) defined at the bottom, while every other section in the file — "Image contents and build boundary", "Runtime privilege and isolation", "Credentials, data, and observability", and "External authorities" — uses inline link syntax ([text](url)). This is a pure style nit with no correctness impact. Either convert the date-time links to inline style to match the rest of the file, or leave it and note the intentional deviation. Fix this →

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 33496da02d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread conventions/review/overlays/bash.md Resolved
@kyle-sexton

Copy link
Copy Markdown
Member Author

Classification of the review findings. Fix pushed in 33496da.

# Finding Classification Evidence Reacted
1 Important — missing citation for Fabric Warehouse datetimeoffset claim (dotnet.md) VALID — fixed in 33496da MS Learn "Data Types in Fabric Data Warehouse" lists datetimeoffset under Unsupported data types for tables (alternative: datetime2; datetimeoffset only via CAST / AT TIME ZONE). Added link [7] to that page and tightened the wording to "does not support that column type for persisted table storage." 👍
2 Nit 1 — %z grouped with GNU extensions (bash.md) VALID — fixed in 33496da POSIX.1-2024 strftime() defines %z (offset from UTC, ISO 8601 +hhmm/-hhmm); the date utility (linked ref [10], the 2024 edition) delegates its conversions to strftime(), so %z is POSIX. Replaced %z with the colon form %:z, which is the genuine GNU extension. (Dropped the "not reliably supported across all POSIX date impls" caveat as more nuance than a one-line list carries.) 👍
3 Nit 2 — reference-style vs inline link inconsistency (containers.md) VALID — keeping as-is The within-file inconsistency is real, but all four new date-time overlay sections (dotnet/bash/typescript/containers) use numbered reference-style links. Converting only containers.md to inline would break that cross-overlay consistency; keeping reference-style so the new sections read as one set. 👍
4 Nit 3 — point-in-time "still" for Temporal availability (typescript.md) VALID — fixed in 33496da Dropped "still"; now reads "MDN marks Temporal as limited availability and not Baseline," with the MDN link carrying current status. 👍

POSIX strftime() defines %s (seconds since the Epoch), and the date
utility delegates its conversion specifiers to strftime(), so %s is
POSIX-portable like %z, not a GNU extension.
@claude

claude Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 1m 54s —— View job


Claude finished reviewing f9456e9 ——


Follow-up Review (commit f9456e9)

  • Gather context
  • Read updated bash.md and verify %s fix
  • Check for any new issues introduced
  • Post findings

The latest commit correctly drops %s from the GNU-extension list. POSIX.1-2024 (Issue 8) added %s to strftime(), and the date utility delegates its conversion specifiers to strftime(), so %s is POSIX-portable under the 2024 spec. The linked reference [10] already points to the 2024 POSIX date page, so the change is internally consistent. The commit message gives the same rationale.

What remains in the extension list — date -d, --iso-8601, --rfc-3339, %N, and %:z — are correctly identified as GNU-only.


Full finding status

# Finding Status
🔴 Important — Fabric Warehouse datetimeoffset citation (dotnet.md) ✅ Fixed in 33496da (ref [7] added)
🟡 Nit 1 — %z grouped with GNU extensions (bash.md) ✅ Fixed in 33496da (%z → %:z)
🟡 Nit 2 — %s grouped with GNU extensions (bash.md) ✅ Fixed in f9456e9 (%s dropped per POSIX.1-2024)
🟡 Nit 3 — Reference-style vs inline links in containers.md ✅ Intentionally kept — author's rationale (cross-overlay link style consistency) is sound
🟡 Nit 4 — Point-in-time "still" for Temporal availability (typescript.md) ✅ Fixed in 33496da ("still" removed)

All findings resolved or intentionally closed. No new issues introduced in f9456e9. PR looks good to merge.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f9456e9e85

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@claude

claude Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 1m 35s —— View job


Claude finished reviewing 1e8eac7 ——


Follow-up Review (commit 1e8eac7)

  • Gather context
  • Read diff for latest commit
  • Check typescript.md for Temporal Stage 4 fix
  • Scan all changed files for new issues
  • Post findings

Two files changed. Both changes are correctness improvements; no new issues found.


✅ Resolved — Stale pre-Stage-4 polyfill warning (typescript.md)

typescript.md line 23–30

The Codex finding on f9456e9 was correct: the "before Stage 4" language was stale. The fix adds a [Stage 4 specification][6] label with a link to the TC39 spec page (https://tc39.es/proposal-temporal/) and drops the outdated warning. The MDN "limited availability and not Baseline" caveat is correctly retained — Stage 4 does not imply Baseline, and the live MDN link remains the source of truth for current availability. The polyfill guidance is also improved: the three specific notes about @js-temporal/polyfill (no automatic global, Node 14+ requirement, ES2020 output) are accurate claims the README makes and give downstream authors the information they need to evaluate bundle and runtime compatibility.


✅ Precision fix — Date-only vs. future local schedule (go.md)

go.md line 47–48

The previous phrasing implied both a date-only value and a future local schedule require an IANA zone ID, which was incorrect — a floating calendar date (e.g., a birthdate) should have no zone attachment because it is not a point in time. The new phrasing separates the two cases explicitly: date-only → explicit domain type with no zone; future local schedule → explicit local fields plus IANA zone ID. The distinction is accurate and prevents a common Go modelling mistake.


Full finding status

# Finding Status
🔴 Important — Fabric Warehouse datetimeoffset citation (dotnet.md) ✅ Fixed in 33496da
🟡 Nit 1 — %z grouped with GNU extensions (bash.md) ✅ Fixed in 33496da
🟡 Nit 2 — %s grouped with GNU extensions (bash.md) ✅ Fixed in f9456e9
🟡 Nit 3 — Reference-style vs inline links in containers.md ✅ Intentionally kept (cross-overlay style consistency)
🟡 Nit 4 — Point-in-time "still" for Temporal availability (typescript.md) ✅ Fixed in 33496da
🟡 Codex — Stale pre-Stage-4 warning (typescript.md) ✅ Fixed in 1e8eac7
🟡 Codex — Date-only / future-local conflation (go.md) ✅ Fixed in 1e8eac7

All findings resolved or intentionally closed. PR looks good to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Per-stack date-time guidance in review overlays (deferred from date-time.md)

1 participant