chore(kan): decide empty KAN_MCP_BEARER_TOKEN runtime hygiene #723

Open
opened 2026-06-05 07:20:48 +02:00 by codex · 1 comment
Collaborator

Context: post-recovery verifier shows KAN_MCP_BEARER_TOKEN as a runtime variable on kan-mcp, but the deployed value is empty. This is not an active bearer secret to rotate, but it creates confusing verifier drift.

Acceptance:

  • Decide whether Kan MCP should use a real bearer gate in addition to tailnet allowlist, or remove the empty runtime variable.
  • Keep OpenClaw/VPS1000 compatibility in mind.
  • Smoke /mcp/health and mcporter/OpenClaw after any change.
  • Do not expose or log token values.

Non-goal: do not change tailnet allowlist or public exposure in this issue.

Context: post-recovery verifier shows `KAN_MCP_BEARER_TOKEN` as a runtime variable on `kan-mcp`, but the deployed value is empty. This is not an active bearer secret to rotate, but it creates confusing verifier drift. Acceptance: - Decide whether Kan MCP should use a real bearer gate in addition to tailnet allowlist, or remove the empty runtime variable. - Keep OpenClaw/VPS1000 compatibility in mind. - Smoke `/mcp/health` and mcporter/OpenClaw after any change. - Do not expose or log token values. Non-goal: do not change tailnet allowlist or public exposure in this issue.
Collaborator

Iskra judgment

Field Value
Target pdurlej/platform#issue#723
Priority p2
Action operator_needed
Scores reach 3 / impact 3 / confidence 5
Piotr fit high
Effort small
Labels judge/p2, judge/operator-needed
Judge iskra via openclaw

Rationale: This remains P2 operator-needed runtime hygiene because an empty auth-related variable creates confusing verifier drift and should be resolved without accidentally changing exposure.

Caveat: Do not alter tailnet allowlist, public exposure, or log token material while resolving the empty runtime variable.

Structured openclaw.judge.v0 payload
<!-- openclaw.judge.v0 -->
{
  "confidence": 5,
  "effort_hint": "small",
  "escalation": {
    "kind": "operator",
    "reason": "The target is security-sensitive runtime hygiene with an explicit operator-needed status, and the choice affects auth posture around Kan MCP."
  },
  "evidence_refs": [
    {
      "note": "Issue tracks an empty KAN_MCP_BEARER_TOKEN runtime variable on Kan MCP that creates verifier drift without being an active secret to rotate.",
      "type": "forgejo",
      "value": "issue-title-body-labels-and-target-snapshot"
    },
    {
      "note": "Current labels mark the target as security-sensitive, runtime-risk, exposure-risk, secret-touch, and operator-needed.",
      "type": "forgejo",
      "value": "issue-labels-and-target-snapshot"
    },
    {
      "note": "Acceptance requires deciding bearer-gate posture versus variable removal and smoking MCP health plus mcporter/OpenClaw after change.",
      "type": "forgejo",
      "value": "issue-body-acceptance"
    }
  ],
  "impact": 3,
  "judge_actor": {
    "name": "iskra",
    "runtime": "openclaw"
  },
  "judged_at": "2026-06-18T01:01:00Z",
  "labels_to_apply": [
    "judge/p2",
    "judge/operator-needed"
  ],
  "piotr_fit": "high",
  "priority": "p2",
  "rationale_summary": "This remains P2 operator-needed runtime hygiene because an empty auth-related variable creates confusing verifier drift and should be resolved without accidentally changing exposure.",
  "reach": 3,
  "recommended_next_action": "operator_needed",
  "rerun_reason": "no_prior_judgment",
  "schema": "openclaw.judge.v0",
  "target": {
    "kind": "issue",
    "number": 723,
    "repo": "pdurlej/platform"
  },
  "target_snapshot": {
    "body_hash": "sha256:da16af51f2fd61b93b42833e641b224c0bf807cff1830c3eb7d7de1481e74b84",
    "commit_count": null,
    "evidence_hash": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "head_sha": null,
    "labels": [
      "class/security-sensitive",
      "domain:runtime",
      "judge/operator-needed",
      "kind/ops",
      "owner-attention",
      "priority:p2",
      "risk/exposure",
      "risk/runtime",
      "safety:secret-touch",
      "status:operator-needed"
    ],
    "labels_hash": "sha256:b451cc71843ea7362dbc5620862b1b913806b6736456eda301bdccda0b7933b3",
    "state": "open",
    "title_hash": "sha256:1ab974be59a9fc543ef84580afa4f1ce72a8ad8f3ab0ba81d756e413ea483f94",
    "updated_at": "2026-06-17T23:35:36+02:00"
  },
  "top_caveat": "Do not alter tailnet allowlist, public exposure, or log token material while resolving the empty runtime variable."
}
<!-- /openclaw.judge.v0 -->
### Iskra judgment | Field | Value | | --- | --- | | Target | `pdurlej/platform#issue#723` | | Priority | p2 | | Action | operator_needed | | Scores | reach 3 / impact 3 / confidence 5 | | Piotr fit | high | | Effort | small | | Labels | `judge/p2`, `judge/operator-needed` | | Judge | `iskra` via `openclaw` | **Rationale:** This remains P2 operator-needed runtime hygiene because an empty auth-related variable creates confusing verifier drift and should be resolved without accidentally changing exposure. **Caveat:** Do not alter tailnet allowlist, public exposure, or log token material while resolving the empty runtime variable. <details> <summary>Structured openclaw.judge.v0 payload</summary> ```json <!-- openclaw.judge.v0 --> { "confidence": 5, "effort_hint": "small", "escalation": { "kind": "operator", "reason": "The target is security-sensitive runtime hygiene with an explicit operator-needed status, and the choice affects auth posture around Kan MCP." }, "evidence_refs": [ { "note": "Issue tracks an empty KAN_MCP_BEARER_TOKEN runtime variable on Kan MCP that creates verifier drift without being an active secret to rotate.", "type": "forgejo", "value": "issue-title-body-labels-and-target-snapshot" }, { "note": "Current labels mark the target as security-sensitive, runtime-risk, exposure-risk, secret-touch, and operator-needed.", "type": "forgejo", "value": "issue-labels-and-target-snapshot" }, { "note": "Acceptance requires deciding bearer-gate posture versus variable removal and smoking MCP health plus mcporter/OpenClaw after change.", "type": "forgejo", "value": "issue-body-acceptance" } ], "impact": 3, "judge_actor": { "name": "iskra", "runtime": "openclaw" }, "judged_at": "2026-06-18T01:01:00Z", "labels_to_apply": [ "judge/p2", "judge/operator-needed" ], "piotr_fit": "high", "priority": "p2", "rationale_summary": "This remains P2 operator-needed runtime hygiene because an empty auth-related variable creates confusing verifier drift and should be resolved without accidentally changing exposure.", "reach": 3, "recommended_next_action": "operator_needed", "rerun_reason": "no_prior_judgment", "schema": "openclaw.judge.v0", "target": { "kind": "issue", "number": 723, "repo": "pdurlej/platform" }, "target_snapshot": { "body_hash": "sha256:da16af51f2fd61b93b42833e641b224c0bf807cff1830c3eb7d7de1481e74b84", "commit_count": null, "evidence_hash": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "head_sha": null, "labels": [ "class/security-sensitive", "domain:runtime", "judge/operator-needed", "kind/ops", "owner-attention", "priority:p2", "risk/exposure", "risk/runtime", "safety:secret-touch", "status:operator-needed" ], "labels_hash": "sha256:b451cc71843ea7362dbc5620862b1b913806b6736456eda301bdccda0b7933b3", "state": "open", "title_hash": "sha256:1ab974be59a9fc543ef84580afa4f1ce72a8ad8f3ab0ba81d756e413ea483f94", "updated_at": "2026-06-17T23:35:36+02:00" }, "top_caveat": "Do not alter tailnet allowlist, public exposure, or log token material while resolving the empty runtime variable." } <!-- /openclaw.judge.v0 --> ``` </details>
Sign in to join this conversation.
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
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
iterating
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
large-impact
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
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
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
tier/full
tier/lite
tier/stacked
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
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/platform#723
No description provided.