gemini(w4): transition history public-id consistency audit #121
Labels
No labels
3plus3-followup
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
analytics
api
cockpit
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
docs
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
gemini-flash
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
leviathan
mcp
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
ops
priority:p0
priority:p1
priority:p2
priority:p3
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
safety
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
scout
security
size/large
size/medium
size/small
size/tiny
size/unknown
small-task
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tests
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
ui
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/kan-ductor#121
Loading…
Add table
Add a link
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?
Parent: #2
Agent lane: Gemini 3.5 Flash
Wave: 4 / analytics foundation
Risk class: low
Goal
Ensure analytics read models never require internal DB IDs.
Context refs
docs/agent-mcp-contract.mdtransition historyAGENTS.mdpublic ID ruleScope
Acceptance
Suggested checks
rg -n "fromListId|toListId|cardId|boardId|listId" packages/api packages/mcp apps/webNon-goals / fences
Expected output
A short PR or issue comment with findings, touched files, tests run, and remaining risks.
Codex verification on current
origin/main(966de964...): transition history and flow metrics external contracts already use public IDs in the read paths checked by #121.Findings:
packages/api/src/routers/agent.ts#transitionHistoryOutputSchemaexposes:activityPublicIdcard.publicIdboard.publicIdfromList.publicId/toList.publicIdsource,sourceRef,createdByKind,sensitivity)getTransitionHistorymaps repo rows into nested public-ID objects and does not return internalworkspaceId,boardId,cardId,listId,fromListId, ortoListId.packages/mcp/src/client.ts#getTransitionHistoryacceptsworkspacePublicId,boardPublicId, andcardPublicId; no internal IDs are required from MCP clients.getFlowMetricsreturns public IDs for completed cards and destination list (cardPublicId,toList.publicId).Verification run:
This passed and includes assertions for
getTransitionHistoryplusgetFlowMetricsusing public IDs. Recommendation: close #121 as satisfied by current main, unless we want an additional docs-only audit file for bookkeeping.Iskra judgment
pdurlej/kan-ductor#issue#121judge/p2iskraviaopenclawRationale: This is P2 observe-first analytics and privacy hygiene because read models should be useful to agents without exposing or requiring internal database IDs.
Caveat: Patch only clearly accidental internal-ID exposure and file focused follow-ups for broader analytics contract changes.
Structured openclaw.judge.v0 payload