# Daemon-global safety policy. Operators may provide a trusted replacement via
# COGITO_OPS_POLICY; working repositories cannot weaken this authority envelope.
id: cogitod-coordination-safety-v1
primaryQuestion: Do you need to act?
display:
  documentTitle: Cogito · Machine intelligence
  productName: Cogito
  localCoordinationLabel: Local machine coordination
  machineScopeLabel: Entire machine
  projectScopeLabel: Search in
  trustAriaLabel: Dashboard trust state
  privacy:
    label: local only
    detail: Derived by the local cogitod daemon and rendered by the local dashboard service. No cloud dashboard or external asset host is involved.
  status:
    connecting: connecting
    privacyVerifying: privacy verifying
    decisionFailed: Decision failed.
    streamReconnecting: Stream reconnecting.
    sourceAgeUnknown: Source age unknown
    noActionRequired: No action required.
    currentState: Current state
    nextMove: Next move
    humanAction: Human action
  freshness:
    live: system current
    stale: diagnostics delayed
    error: system degraded
    unknown: diagnostics incomplete
  verdict:
    degraded:
      headline: Cogito needs repair
      summary: "{product} could not read every source needed to check current work."
      nextMove: Open diagnostics to identify the failed source.
    unknown:
      headline: No action needed
      summary: Cogito has no current coordination decision for you.
      nextMove: Open diagnostics if you want to inspect capture coverage.
    decision:
      singularHeadline: One decision needed
      pluralHeadline: "{count} decisions needed"
    handoff:
      headline: Writer handoff pending
      singularSummary: One writer request is awaiting lease or acknowledgement evidence.
      pluralSummary: "{count} writer requests are awaiting lease or acknowledgement evidence."
    safe:
      headline: No action needed
      summary: "{working} working · {waiting} waiting. No coordination conflict needs you."
  coverage:
    label: Context coverage
    complete: Context captured for every active harness.
    partial: "{harnesses} context may be incomplete."
    unverified: No active harness traffic to verify yet.
    covered: "Recent {harness} work reached Cogito."
    gap: "{harness} worked without a recent successful capture. Its next agent may miss context."
    notObserved: "No recent {harness} work to verify."
    recovery: Restart Cogito to retry managed setup; rerun the installer if the gap remains.
  continuity:
    label: Latest carried context
    empty: No durable outcome recorded yet.
  fleet:
    active: active
    waiting: waiting
    inactive: quiet
    stale: stale
    noActive: No agents are doing meaningful work right now.
  sections:
    judgment:
      title: Needs your judgment
      description: Only choices that policy cannot safely make.
    handled:
      title: Handled for you
      description: Verified outcomes and guard observations with durable receipts.
    commitments:
      title: Agent fleet
      description: Who is working, waiting, or quiet on this machine.
    recall:
      title: Recall
      subtitle: search decisions, files, and context
      ariaLabel: Search your context
      placeholder: Recall a decision, a file, a topic · check hits to build a bundle
      inputAriaLabel: Search your memory
      searchAction: Search
      clearAction: Clear
      browseAction: Browse all
      collapseAction: Recall
    decisions:
      title: Recently decided
      subtitle: decisions the next agent will inherit
    investigate:
      title: Investigate
      subtitle: orientation, exceptions, and signal trends
    diagnostics:
      title: Diagnostics
      subtitle: service health and raw source evidence
      systemHealthy: Every required daemon source is readable.
      inactive: "{count} inactive or heartbeat-only sessions hidden from current work."
maxHumanDecisions: 3
maxReceipts: 3
staleAfterSeconds: 30
projectVisibility:
  hiddenTypes: [test, system, ephemeral]
snapshot:
  workItemsLimit: 200
  ledgerLimit: 100
  interventionReadLimit: 30
  handoffSuppressionSeconds: 600
  maxCommitments: 10
  intentMaxChars: 140
  actorSessionChars: 8
  actorShortChars: 6
  actorFallbackChars: 18
  reservationRetrySeconds: 60
  captureActivityWindowSeconds: 900
  ledgerRecentHours: 24
stream:
  retryMs: 3000
  snapshotIntervalMs: 3000
  heartbeatMs: 15000
  cacheMs: 2500
client:
  fallbackPollMs: 10000
  contextRatesPollMs: 30000
  coordLedgerPollMs: 30000
  projectPollMs: 30000
  orientationPollMs: 30000
  workContext:
    minimumSpecificTerms: 1
    genericTerms: [continue, next, task, proceed, fix, work, thing, this, that, it, do, doing, what, is, can, we, to, the, a, an, on, for, with, checkpoint, make, sure, push, code, if, there, are, value, changes]
  history:
    resultLimit: 80
    debounceMs: 220
    copyFeedbackMs: 1200
    askParts: 2
    visibleTags: 6
  search:
    resultLimit: 12
    linkedLimit: 8
    recentDays: 30
    copyFeedbackMs: 2000
    tokenEstimateChars: 4
  projects:
    listLimit: 40
    memoryLimit: 60
    copyFeedbackMs: 2000
    graphModules: 8
    graphDependencies: 5
    graphPlugins: 8
  metrics:
    fastPollMs: 30000
    standardPollMs: 60000
    weeklyBriefPollMs: 1800000
    topTools: 12
    topSkills: 6
    breakdownItems: 3
    priorityBuckets: 4
    weeklySentences: 3
  orientation:
    roadmapCollapsedItems: 3
    inFlightItems: 6
    recentDecisions: 3
    decisionPreviewChars: 90
    priorityChars: 2
    detailPreviewChars: 220
metricSemantics:
  contextRates:
    - key: driftRate
      label: Drift
      healthyDirection: down
      description: Memories tagged drift or direction divided by non-event memories.
    - key: pivotRate
      label: Pivot
      healthyDirection: down
      description: Superseded decisions divided by all decisions.
    - key: blockedRate
      label: Blocked
      healthyDirection: down
      description: Blocked work divided by active work in the window.
    - key: smoothRate
      label: Smooth
      healthyDirection: up
      description: Completed work divided by active work in the window.
  thresholds:
    contextRate: { warning: 0.1, danger: 0.25 }
    gitChurn: { warning: 40, danger: 60 }
    flatLinkWeight: { warning: 30, danger: 60 }
    durableRecall: { warning: 25, healthy: 50 }
    focusScore: { balanced: 0.25, concentrated: 0.6 }
memoryTaxonomy:
  filters:
    - { key: "", label: All }
    - { key: decision, label: Decisions }
    - { key: reference, label: References }
    - { key: fact, label: Facts }
    - { key: pattern, label: Patterns }
    - { key: doc, label: Docs }
    - { key: project, label: Projects }
    - { key: error, label: Errors }
    - { key: observation, label: Notes }
  colorRoles:
    decision: gold
    reference: cyan
    fact: leaf
    error: red
    pattern: muted
    doc: muted
    project: muted
    observation: muted
    event: faint
  defaultColorRole: muted
  noise:
    tags: [auto, activity, "auto:compactable", "feature:instinct-lifecycle"]
    idPrefixes: [edit-, bash-, commit-]
    types: [event]
    tagPrefixes: ["event:"]
    tagSuffixes: [-evolution]
documents:
  views:
    - { id: product-index, label: Product, exportable: true }
    - { id: roadmap, label: Roadmap, exportable: true }
    - { id: wiring, label: Wiring, exportable: true }
    - { id: architecture, label: Architecture, exportable: true }
    - { id: source-of-truth, label: Truth, exportable: false }
interventions:
  intent-conflict-notification: auto
  write-collision-block: auto
  handoff-resolution: auto
  verification-required: auto
  stale-work-recovery: human-only
  writer-assignment: confirm
  agent-dispatch: confirm
  process-control: human-only
  destructive-work: human-only
  policy-change: human-only
  external-communication: human-only
