os-backlog: restore dropped snapshot card fields (listChangedAt regression from 0.2.0 migration) #18
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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