From bd9651bddd6348c5aef0500ef4a7b2795aa9c924 Mon Sep 17 00:00:00 2001 From: Hare Date: Tue, 9 Jun 2026 22:12:35 +0900 Subject: [PATCH] ticket: record base32 implementation report --- .yoi/tickets/20260609-073047-001/item.md | 2 +- .yoi/tickets/20260609-073047-001/thread.md | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/.yoi/tickets/20260609-073047-001/item.md b/.yoi/tickets/20260609-073047-001/item.md index 68b89362..f0436984 100644 --- a/.yoi/tickets/20260609-073047-001/item.md +++ b/.yoi/tickets/20260609-073047-001/item.md @@ -2,7 +2,7 @@ title: 'Ticket と Objective の ID を base32 timestamp 形式に統一する' state: 'inprogress' created_at: '2026-06-09T07:30:47Z' -updated_at: '2026-06-09T12:47:58Z' +updated_at: '2026-06-09T13:12:25Z' assignee: null queued_by: 'workspace-panel' queued_at: '2026-06-09T10:31:17Z' diff --git a/.yoi/tickets/20260609-073047-001/thread.md b/.yoi/tickets/20260609-073047-001/thread.md index d58920be..51e182cf 100644 --- a/.yoi/tickets/20260609-073047-001/thread.md +++ b/.yoi/tickets/20260609-073047-001/thread.md @@ -161,3 +161,40 @@ Runtime note: - The Pod was therefore launched with `builtin:default` as a runtime workaround, with explicit Coder-role instructions in the handoff. This is a session-runtime workaround only, not a project configuration change. --- + + + +## Implementation report + +Coder implementation completed on branch `base32-record-ids`. + +Implementation commit: +- `4203988d747d4e8ae4d30f63a015835566fd4900` / `feat: unify project record ids` + +Reported design: +- Alphabet: `0123456789ABCDEFGHJKMNPQRSTVWXYZ` +- Width: 13 chars, fixed-width base32 Unix epoch milliseconds. +- Collision handling: path collision retries by `+1ms`, bounded at 1000 attempts, no suffix/counter/random tail. +- `created_at` remains real human-readable creation time; ID timestamp may diverge on collision-adjusted allocation. + +Reported migration: +- 173 Ticket dirs migrated. +- 1 Objective dir migrated. +- 174 total mapping entries. +- Mapping artifact: `.yoi/tickets/00001KTNMN02R/artifacts/id-migration-map.txt`. + +Reported validation: +- `cargo test -q -p project-record` +- `cargo test -q -p ticket` +- `cargo test -q -p yoi objective_cli` +- `cargo fmt --check` +- `git diff --check` +- `git diff --cached --check` +- `cargo run -q -p yoi -- ticket doctor` +- `cargo run -q -p yoi -- objective doctor` +- `cargo check --workspace` +- `nix build .#yoi` + +Reviewer should verify migration/reference correctness and whether the committed mapping artifact under the migrated current Ticket is the right durable location. + +---