gemini(w2): verify column policy fields are visible in MCP context #110

Open
opened 2026-05-28 01:20:40 +02:00 by codex · 1 comment
Collaborator

Parent: #2
Agent lane: Gemini 3.5 Flash
Wave: 2 / board maturity
Risk class: low

Goal

Ensure Iskra can read column policy/WIP before proposing or moving cards.

Context refs

  • docs/agent-mcp-contract.md
  • docs/kan-ductor-working-pr-plan.md

Scope

  • Inspect get_default_context, get_card_context, list/column tools.
  • Add or update test asserting policy fields are returned.
  • Document missing fields if implementation is intentionally partial.

Acceptance

  • MCP read path exposes policyNote, entry/exit policy, WIP limit, and agentMovePolicy where applicable.
  • No direct write behavior change.
  • No internal DB IDs exposed.

Suggested checks

  • MCP/API read tests.

Non-goals / fences

  • Do not deploy, restart production, rotate secrets, or run production migrations.
  • Do not widen MCP write authority or public exposure.
  • Keep the change small enough for one focused PR or one scouting report.

Expected output

A short PR or issue comment with findings, touched files, tests run, and remaining risks.

Parent: #2 Agent lane: Gemini 3.5 Flash Wave: 2 / board maturity Risk class: low ## Goal Ensure Iskra can read column policy/WIP before proposing or moving cards. ## Context refs - `docs/agent-mcp-contract.md` - `docs/kan-ductor-working-pr-plan.md` ## Scope - Inspect `get_default_context`, `get_card_context`, list/column tools. - Add or update test asserting policy fields are returned. - Document missing fields if implementation is intentionally partial. ## Acceptance - MCP read path exposes `policyNote`, entry/exit policy, WIP limit, and agentMovePolicy where applicable. - No direct write behavior change. - No internal DB IDs exposed. ## Suggested checks - MCP/API read tests. ## Non-goals / fences - Do not deploy, restart production, rotate secrets, or run production migrations. - Do not widen MCP write authority or public exposure. - Keep the change small enough for one focused PR or one scouting report. ## Expected output A short PR or issue comment with findings, touched files, tests run, and remaining risks.
Collaborator

Iskra judgment

Field Value
Target pdurlej/kan-ductor#issue#110
Priority p2
Action observe
Scores reach 4 / impact 4 / confidence 5
Piotr fit high
Effort small
Labels judge/p2
Judge iskra via openclaw

Rationale: This is P2 MCP read-contract hardening because agents need visible column policy before safely proposing or moving Kan cards.

Caveat: Keep this read-only and contract-focused; do not change card move behavior or expose internal IDs while adding policy visibility.

Structured openclaw.judge.v0 payload
<!-- openclaw.judge.v0 -->
{
  "confidence": 5,
  "effort_hint": "small",
  "escalation": {
    "kind": "none",
    "reason": ""
  },
  "evidence_refs": [
    {
      "note": "Issue proposes tests or documentation for column policy fields in MCP context reads.",
      "type": "forgejo",
      "value": "issue-title-body-labels-and-target-snapshot"
    },
    {
      "note": "Body scopes inspection to default context, card context, and list or column tools before proposing or moving cards.",
      "type": "forgejo",
      "value": "issue-body-scope"
    },
    {
      "note": "Acceptance requires policyNote, entry and exit policy, WIP limit, and agentMovePolicy where applicable without exposing internal DB IDs.",
      "type": "forgejo",
      "value": "issue-body-acceptance"
    }
  ],
  "impact": 4,
  "judge_actor": {
    "name": "iskra",
    "runtime": "openclaw"
  },
  "judged_at": "2026-06-14T01:08:00Z",
  "labels_to_apply": [
    "judge/p2"
  ],
  "piotr_fit": "high",
  "priority": "p2",
  "rationale_summary": "This is P2 MCP read-contract hardening because agents need visible column policy before safely proposing or moving Kan cards.",
  "reach": 4,
  "recommended_next_action": "observe",
  "rerun_reason": "no_prior_judgment",
  "schema": "openclaw.judge.v0",
  "target": {
    "kind": "issue",
    "number": 110,
    "repo": "pdurlej/kan-ductor"
  },
  "target_snapshot": {
    "body_hash": "sha256:c379dc6a6582175e40fe415f35e891f767865d9e046fcede0c2652c8e466597f",
    "commit_count": null,
    "evidence_hash": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "head_sha": null,
    "labels": [
      "api",
      "gemini-flash",
      "mcp",
      "priority:p2",
      "small-task",
      "tests"
    ],
    "labels_hash": "sha256:576ecb2d388942691a96e2f2bae06cc8a4d507c9c7b57f3fc66969c0d3f69d13",
    "state": "open",
    "title_hash": "sha256:2f41b75c06241ee01e9efd8f371a6ff34b21ed469011123f736caf071e6fb1e9",
    "updated_at": "2026-05-28T01:20:40+02:00"
  },
  "top_caveat": "Keep this read-only and contract-focused; do not change card move behavior or expose internal IDs while adding policy visibility."
}
<!-- /openclaw.judge.v0 -->
### Iskra judgment | Field | Value | | --- | --- | | Target | `pdurlej/kan-ductor#issue#110` | | Priority | p2 | | Action | observe | | Scores | reach 4 / impact 4 / confidence 5 | | Piotr fit | high | | Effort | small | | Labels | `judge/p2` | | Judge | `iskra` via `openclaw` | **Rationale:** This is P2 MCP read-contract hardening because agents need visible column policy before safely proposing or moving Kan cards. **Caveat:** Keep this read-only and contract-focused; do not change card move behavior or expose internal IDs while adding policy visibility. <details> <summary>Structured openclaw.judge.v0 payload</summary> ```json <!-- openclaw.judge.v0 --> { "confidence": 5, "effort_hint": "small", "escalation": { "kind": "none", "reason": "" }, "evidence_refs": [ { "note": "Issue proposes tests or documentation for column policy fields in MCP context reads.", "type": "forgejo", "value": "issue-title-body-labels-and-target-snapshot" }, { "note": "Body scopes inspection to default context, card context, and list or column tools before proposing or moving cards.", "type": "forgejo", "value": "issue-body-scope" }, { "note": "Acceptance requires policyNote, entry and exit policy, WIP limit, and agentMovePolicy where applicable without exposing internal DB IDs.", "type": "forgejo", "value": "issue-body-acceptance" } ], "impact": 4, "judge_actor": { "name": "iskra", "runtime": "openclaw" }, "judged_at": "2026-06-14T01:08:00Z", "labels_to_apply": [ "judge/p2" ], "piotr_fit": "high", "priority": "p2", "rationale_summary": "This is P2 MCP read-contract hardening because agents need visible column policy before safely proposing or moving Kan cards.", "reach": 4, "recommended_next_action": "observe", "rerun_reason": "no_prior_judgment", "schema": "openclaw.judge.v0", "target": { "kind": "issue", "number": 110, "repo": "pdurlej/kan-ductor" }, "target_snapshot": { "body_hash": "sha256:c379dc6a6582175e40fe415f35e891f767865d9e046fcede0c2652c8e466597f", "commit_count": null, "evidence_hash": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "head_sha": null, "labels": [ "api", "gemini-flash", "mcp", "priority:p2", "small-task", "tests" ], "labels_hash": "sha256:576ecb2d388942691a96e2f2bae06cc8a4d507c9c7b57f3fc66969c0d3f69d13", "state": "open", "title_hash": "sha256:2f41b75c06241ee01e9efd8f371a6ff34b21ed469011123f736caf071e6fb1e9", "updated_at": "2026-05-28T01:20:40+02:00" }, "top_caveat": "Keep this read-only and contract-focused; do not change card move behavior or expose internal IDs while adding policy visibility." } <!-- /openclaw.judge.v0 --> ``` </details>
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/kan-ductor#110
No description provided.