os-backlog: restore dropped snapshot card fields (listChangedAt regression from 0.2.0 migration) #18
Labels
No Label
P0
P1
P2
P3
afk-ready
hitl
next
ready-for-agent
review
semi
waiting
wayfinder:grilling
wayfinder:map
wayfinder:research
wayfinder:task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jared/cc-os#18
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Commit
8df0cb7migrated os-backlog to planka-api 0.2.0 typed returns, but rebuilt Cards#snapshot's per-card JSON as an explicit 8-key hash (id, name, description, position, listId, boardId, dueDate, labels), dropping ~10 fields the pre-migration raw-hash merge carried — including listChangedAt, which the board-audit agent's Stale-Doing check explicitly depends on (agents/board-audit.md documents it). The commit's byte-compatibility claim is false and 34 green tests didn't catch it because no test pins the snapshot key set.Restore the full pre-migration card key set in snapshot output (camelCase keys, sourced from the Types::Card record — ~18 fields per the gem's records.rb), so skill/agent contracts are genuinely unchanged. Add a regression test asserting the complete card key set of a snapshot entry so this can't silently regress again. Run bin/refresh-plugins after the source change.
Acceptance criteria
8df0cb7(createdAt, updatedAt, type, isDueCompleted, stopwatch, commentsTotal, isClosed, creatorUserId, prevListId, coverAttachmentId, isSubscribed)Blocked by
None - can start immediately