#615

agent-usage: per-section freshness, secret registration for every vendor, and doc fixes from OPS-274

Openwiiiimmopened 13d ago

Finish the parts of stealth-factory/opscope#613 that were described but not built, on top of the core shared-readings module.

Context / problem

The stealth-factory/opscope#613 issue described a freshness line per section (fetched 2m ago by pane 48213, cached 7m ago · too many requests, next ask in 3m). Only a pane-level readings shared row was built. Claude, Codex, Cursor and Antigravity tokens are never registered with the guard that stops a value containing a token from being written. The README says an oversized store is deleted, but the code empties it in place. Part of stealth-factory/opscope#630.

Scope

In:

  • Per-section freshness through core's provenance rows.
  • Register Claude, Codex, Cursor and Antigravity tokens with the secret guard.
  • Fix the README's description of the oversized store.
  • Move "not sharing readings: " to wherever stealth-factory/opscope#630's open question decides.

Out:

  • Changing existing key strings.

Acceptance

  • Each freshness wording appears in a test.
  • A reading containing a Claude fixture token is refused.
Agent notes
  • sharing_status() shared.rs:1067; secret() registered only in copilot, devin, droid, grok, notion, perplexity. README.md:1491-1493 vs keep_small() sharing.rs:424.
  • New keys should use core's stable fingerprint; existing agent-usage keys use std DefaultHasher for six vendors and must stay as they are so old and new binaries keep sharing.

Activity

1
linear-code[bot]13d ago