gemini(cockpit): actor/source badges inventory across cockpit and activity surfaces #134
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/kan-ductor#134
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: cockpit / read model
Risk class: low
Goal
Make trust metadata visible consistently: who said/did what, from where, and with what authority.
Context refs
docs/operational-cockpit-contract.mdScope
Acceptance
Suggested checks
Non-goals / fences
Expected output
A short PR or issue comment with findings, touched files, tests run, and remaining risks.
Codex scouting pass after #140 / before badge UI work.
Inventory
Card activity surface
File:
apps/web/src/views/card/components/ActivityList.tsxAlready good:
agentAttribution.displayActorNamebefore falling back to the Kan user.via agent/via automationbadge.agentAttribution.auditPublicId,actor,displayActorName,machineIdentityPublicId,machineIdentitySlug,machineIdentityDisplayName,machineIdentityKindinpackages/api/src/schemas/card.ts.Gap:
via agent) and does not show source/channel (Signal,MCP,n8n, etc.).Agent audit surface
File:
apps/web/src/views/settings/AgentAuditSettings.tsxAlready good:
machineIdentityDisplayName ?? machineIdentitySlug ?? actor.mode, action, date, source badge, raw/redacted payload badge, audit id, optional idempotency key, optional source ref, identity slug.signal,fastmail,meeting,forgejo,manual,obsidian,iskra,n8n.Gap:
machineIdentityKindis rendered as plain text, not a consistent badge.Agent proposals surface
File:
apps/web/src/views/settings/AgentProposalsSettings.tsxAlready good:
Prepared by <createdBy>.create_cardaction metadata and renders them as a compact source chip.Gap:
create_cardmetadata today.operator-approved,tool-result,proposal,applied, orrejectedas trust states beyond status.Operational cockpit surface
File:
apps/web/src/views/settings/OperationalCockpitSettings.tsxAlready good:
sourceSystem, domain/status/risk/needsPiotr/stale, evidence kind/ref.Gap:
Recent activity / MCP read path
Docs:
docs/agent-mcp-contract.mdAlready good:
actorKind,displayActorName,viaAgentTokenName,agentAuditPublicId,agentAttributionConfidence, list public IDs/names.OpenClaw Iskra MCP, not Piotr.agentAudit[]includes machine identity fields.Gap:
Recommended small next PR
Create a shared UI helper/component for trust chips, without redesigning pages:
ActorChip: human / agent / automation / system, display name, optional machine identity kind.SourceChip: signal / fastmail / meeting / forgejo / manual / obsidian / iskra / n8n / kan / mcp.TrustStateChip: proposal / approved / applied / rejected / audit-exact / audit-low-confidence / redacted.Use it first in
AgentAuditSettingsand maybeActivityList; do not touch every surface in one PR.Vocabulary proposal
Actors:
Piotr/ humanOpenClaw Iskra MCP/ agentcodex-<thread-id>/ agentn8n-<workflow>/ automationsystem/ systemSources:
Signal,Kan,Forgejo,Obsidian,Fastmail,Meeting,Iskra,n8n,MCPTrust states:
manualvia agentproposalapprovedappliedaudit exactaudit low confidenceredactedNon-goals confirmed
No production change, no token/identity change, no MCP authority change. This was static code/docs scouting only.