Title: Standardize timestamps to ISO 8601 UTC across all logs and decisions · Issue #84 · github/squad · GitHub
Open Graph Title: Standardize timestamps to ISO 8601 UTC across all logs and decisions · Issue #84 · github/squad
X Title: Standardize timestamps to ISO 8601 UTC across all logs and decisions · Issue #84 · github/squad
Description: Problem User feedback: "please make sure we're stamping decisions and things logged to disk with date-time stamps not just the date. and they should prolly be utc dates. something that works everywhere as much as possible." Current state...
Open Graph Description: Problem User feedback: "please make sure we're stamping decisions and things logged to disk with date-time stamps not just the date. and they should prolly be utc dates. something that works everyw...
X Description: Problem User feedback: "please make sure we're stamping decisions and things logged to disk with date-time stamps not just the date. and they should prolly be utc dates. something that wor...
Opengraph URL: https://github.com/github/squad/issues/84
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Standardize timestamps to ISO 8601 UTC across all logs and decisions","articleBody":"## Problem\r\n\r\nUser feedback: \"please make sure we're stamping decisions and things logged to disk with date-time stamps not just the date. and they should prolly be utc dates. something that works everywhere as much as possible.\"\r\n\r\nCurrent state is inconsistent:\r\n- **Orchestration logs:** Use ISO 8601 datetime format `2026-02-08T0412` (UTC, filenames)\r\n- **Session logs:** Use date-only format `2026-02-08-{topic}.md` (filenames)\r\n- **Decisions.md headers:** Use date-only format `### 2026-02-07: Team formation`\r\n- **Index.js timestamps:** Mix of formats:\r\n - `new Date().toISOString()` for casting registry (full ISO 8601 with timezone)\r\n - `.toISOString().split('T')[0]` for import date (date-only)\r\n - `.toISOString().replace(/[:.]/g, '-').replace('T', '-').slice(0, 19)` for archive folders\r\n\r\n\r\n## Proposal\r\n\r\nStandardize on **ISO 8601 UTC timestamps** everywhere:\r\n- Format: `YYYY-MM-DDTHH:MM:SSZ` (e.g., `2026-02-16T18:45:23Z`)\r\n- Use `new Date().toISOString()` consistently across all Squad code\r\n- Human-readable, sorts correctly, unambiguous timezone (always UTC)\r\n- Works everywhere (cross-platform, cross-locale)\r\n\r\n## Changes Needed\r\n\r\n1. **Decision headers:**\r\n - Change from: `### 2026-02-07: Team formation`\r\n - Change to: `### 2026-02-07T19:32:15Z: Team formation`\r\n - Or create a new section: `**Date:** 2026-02-07T19:32:15Z` below header\r\n\r\n2. **Session log filenames:**\r\n - Change from: `.ai-team/log/2026-02-08-{topic}.md`\r\n - Change to: `.ai-team/log/2026-02-08T0512-{topic}.md` (matches orchestration log pattern)\r\n - This makes chronological order unambiguous when multiple sessions happen same day\r\n\r\n3. **Scribe spawn template:**\r\n - Update template at line 785: `1. Log this session to .ai-team/log/{timestamp}-{topic}.md:`\r\n - Change `{YYYY-MM-DD}` placeholders to `{timestamp}` (ISO 8601)\r\n - Update ceremony log pattern at line 963 similarly\r\n\r\n4. **Decision inbox filenames:**\r\n - Change from: `.ai-team/decisions/inbox/copilot-directive-{timestamp}.md`\r\n - Verify `{timestamp}` expands to full ISO 8601 (not date-only)\r\n\r\n5. **Templates:**\r\n - `templates/history.md` line 6: `- **Created:** {date}` → use full timestamp\r\n - `templates/roster.md` line 60: `- **Created:** {date}` → use full timestamp\r\n - `templates/scribe-charter.md` references to `{date}` → use `{timestamp}`\r\n\r\n## Why This Matters\r\n\r\n- **Debugging:** Full timestamps let us reconstruct exact session sequences when troubleshooting\r\n- **Distributed teams:** UTC removes timezone ambiguity (no \"was that 3pm EST or PST?\")\r\n- **Automation:** ISO 8601 is the universal standard for logs, APIs, and tooling\r\n- **Sorting:** Lexicographic filename sort = chronological order\r\n- **Audit trail:** Important for compliance, security reviews, and incident response\r\n\r\n## Acceptance Criteria\r\n\r\n- [ ] All decision headers include full UTC timestamp\r\n- [ ] All log filenames use ISO 8601 datetime format\r\n- [ ] squad.agent.md spawn templates use `{timestamp}` placeholder (ISO 8601)\r\n- [ ] Templates updated to use full timestamp instead of date-only\r\n- [ ] Test coverage for timestamp format consistency\r\n- [ ] Migration plan for existing repos with date-only logs (or accept both)\r\n\r\n## Non-Goals (Keep Date-Only)\r\n\r\n- Git commit messages can stay date-only (e.g., `feat(docs): ...`) — that's a Git convention\r\n- Release tags can stay semantic version + date (e.g., `v0.4.1-2026-02-16`)\r\n","author":{"url":"https://github.com/bradygaster","@type":"Person","name":"bradygaster"},"datePublished":"2026-02-16T19:40:14Z","url":"https://github.com/github/squad/issues/84"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0e99def7-f9ec-2222-1b99-e73e2114411c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87FC:2463BD:1E327BE:26923CA:6B015430 |
| html-safe-nonce | 1486733c8836db83433fa268fbb4eed6ff280ae9e642b9231783a11300f1cf33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0ZDOjI0NjNCRDoxRTMyN0JFOjI2OTIzQ0E6NkIwMTU0MzAiLCJ2aXNpdG9yX2lkIjoiMTU4NTc4MDA0NDM0MzYyODg0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | df90154db5921be8383ee4b6c2d093f3a5adb815ac2fa9835d278dfc4c869be9 |
| hovercard-subject-tag | issue:3949271619 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/84/issue_layout |
| twitter:image | https://opengraph.githubassets.com/24d2e09aa66c801917bd684147d5e243e2a14e5929e7fa5dc2f4b89d5a383ef5/github/squad/issues/84 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/24d2e09aa66c801917bd684147d5e243e2a14e5929e7fa5dc2f4b89d5a383ef5/github/squad/issues/84 |
| og:image:alt | Problem User feedback: "please make sure we're stamping decisions and things logged to disk with date-time stamps not just the date. and they should prolly be utc dates. something that works everyw... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bradygaster |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/squad git https://github.com/github/squad.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151205052 |
| octolytics-dimension-repository_nwo | github/squad |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151205052 |
| octolytics-dimension-repository_network_root_nwo | github/squad |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width