Repository navigation
Description
Problem
On 2026-10-08 the local Claude Code OTEL hot store was over its 1 GiB budget on both hosts: 1.28 GB on melo-desk-001 and 1.28 GB on melo-lap-001. provisioning's "CC OTEL hot store size" row flagged it even though ClaudeCodeOtelPrune runs. The observability skill's clean action only prunes by age, and there is no documented full reset. A wipe took a manual sequence:
- Stop the
otelcol-contribWindows service (the only writer). - Empty
C:\ProgramData\local-otel\cc-store\cc-{logs,metrics,traces}.jsonand deletecold\. - Restart the service.
- Restart the
local-otel-relayandlocal-otel-dashboard-*containers (the dashboards keep data in memory).
On the laptop, the store's ACL (console user and SYSTEM only) also refused the wipe when run as ssh-admin.
Proposed fix
- Add a
resetaction to the observability skill that runs that sequence, confirms first with the byte count, and verifies afterwards that telemetry flows again and the dashboards respond. - Look at why age-based pruning lets the store exceed the size budget. Retention may need a size cap as well as an age limit.
Decided
Owner decision recorded 2026-10-25 (issuecomment-6422092149) and the 2026-10-24 split: provisioning owns the Collector and every long-running service and dashboard (plugins/harness-ops/skills/observability/SKILL.md:83-84), so the reset lives in provisioning (melodic-software/provisioning#849) and harness-ops gets no reset action. The size cap is #9865, on main.
Done when
- The hot tier is bounded by total size as well as age:
CC_OTEL_HOT_TOTAL_MAX_MB(fix(harness-ops): bound the OTEL hot tier's total size, not only each file #9865, PR fix(harness-ops): bound the OTEL hot tier's total size, not only each file #10137). - A documented, verified reset exists in provisioning:
runbooks/otel-store-reset.mdandcommon/Reset-OtelStore.ps1(melodic-software/provisioning#917). - The observability skill points at that reset for a full wipe, next to
clean, so readers do not look for one here. Check:grep -n otel-store-reset plugins/harness-ops/skills/observability/SKILL.md. - The reset ran on both hosts (melodic-software/provisioning#849's last done-when); this issue closes when that one does.
🤖 Generated with Claude Code
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Activity
github-actions commentedon Oct 8, 2026
Proposed work class: none
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
#6637 (comment)
The decision settles the open question. This issue stays open as a tracker. The size cap is already on main, and the reset action is provisioning#849 in another repository. harness-ops gets no reset action, and no lane work is left here.
Automated triage. A maintainer reviews it.
kyle-sexton commentedon Oct 19, 2026
This was generated by AI during triage.
Hold: the observability skill says machine provisioning owns the Collector configuration and the long-running services (
plugins/harness-ops/skills/observability/SKILL.md:83). So whether a reset action belongs in harness-ops or in the provisioning repo is a cross-repo ownership decision for the owner, and the reset can only be checked on the Windows hosts.kyle-sexton commentedon Oct 24, 2026
Split into the pieces below. The ownership question this was held on is answered on main: "Machine provisioning owns the Collector configuration and all long-running service and dashboard lifecycle" (
plugins/harness-ops/skills/observability/SKILL.md:83-84), so the reset is filed in provisioning and harness-ops gets no reset action. The overage has a code cause:CC_OTEL_HOT_MAX_MBcaps each hot file (operator-setup-retention.md:50), while provisioning's budget is allcc-*.jsonfiles together (provisioning #754: 1.09 GiB total,cc-logs.jsonabout 648 MB). That fix is lane work with Linux tests.This issue keeps its hold label until admission has a guard that refuses an issue with open sub-issues; the slices are Tasks, so they are admitted on their own. Lane slices carry
status: readyandadmission-deferred; operator-host slices carry neither and say so in their first line.Posted by AI while splitting the backlog (owner decisions Q93 to Q95 and C12, 2026-10-24).
kyle-sexton commentedon Oct 26, 2026
This was generated by AI.
Releasing the hold. This issue is a split parent: its work lives in its sub-issues. The hold was kept until admission refused a parent with open sub-issues, and that guard is now on main:
.github/scripts/intake-triage/admit.mjs:438-441("A split issue's work is its sub-issues' (owner Q93)"), so admission waits while any sub-issue is open.refine.mjs:292also declines to split an issue that already has sub-issues.needs-humancomes off. Nothing is re-queued: the parent stays open as the tracker until its sub-issues close.This split was filed by hand, so it has no lanes App split record, and work-unblock's
closeSplitParentwill not close it on its own when the last sub-issue closes. That gap is reported to the coordinator.4 remaining items
melodic-automation-lanes commentedon Oct 26, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: This issue stays open as a tracker; the size cap is done in #9865 and the reset action in provisioning issue 849, with no harness-ops reset action.
Dependencies
Related work
Open questions
RECOMMENDED: Yes: keep it as a tracker, with no lane work and no harness-ops reset action. Basis: plugins/harness-ops/skills/observability/SKILL.md:83 says machine provisioning owns the Collector configuration and the long-running services; the 2026-10-24 and 2026-10-26 maintainer comments say the same.
Sources read
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Oct 26, 2026
Decision recorded. The owner answered in the Refinement and Issue Triage sessions (2026-10-25), deciding the open items below on the facts:
One owner ledger row names this issue, and it decides nothing on the substance. Q40 in the Issue Triage owner sweep (
.work/issue-triage-owner-sweep-1/interview-checklist.md:65) asked who owns resetting the local OTEL store and was left deferred:Main answers that ownership question (below), so nothing here overrides Q40.
The admission refusal of 2026-10-26T02:13Z (#6637 (comment)) predates #10274 (
84894c96b6, merged 2026-10-26T12:55Z). On main, admission collects open sub-issues and returnswaitbefore any refusal unless the refusal holds for a person (.github/scripts/intake-triage/admit.mjs:509-514). Missing criteria and Size large do not hold, so this issue now waits on its open sub-issue, provisioning#849.This repository's share of the body is done on main:
CC_OTEL_HOT_TOTAL_MAX_MBcaps the three hot files together, default 1024 MiB (plugins/harness-ops/skills/observability/context/operator-setup-retention.md:52,plugins/harness-ops/skills/observability/otel/prune-otel-store.sh:48), shipped in529f60bf92(fix(harness-ops): bound the OTEL hot tier's total size, not only each file #10137, for fix(harness-ops): bound the OTEL hot tier's total size, not only each file #9865, which is closed).plugins/harness-ops/skills/observability/SKILL.md:83-84), and the body's reset sequence stops and restarts that service and those dashboards. The reset is https://github.com/melodic-software/provisioning/issues/849.This answers the question in intake's refinement (#6637 (comment)).
Decided: Yes. It stays open as the tracker with no lane work and no harness-ops reset action.
closeSplitParentcloses only a parent that carries a lanes App split record (.github/scripts/work-unblock/label-unblocked.mjs:1493), and this split was filed by hand, so no lane closes it.Acceptance criteria: none a lane can run. The size cap is on main, and the reset is provisioning#849's work in another repository.
Close:
kyle-sexton commentedon Nov 2, 2026
Gate check 2026-11-01: still gated on https://github.com/melodic-software/provisioning/issues/849, which is open. This repository's share is on main:
CC_OTEL_HOT_TOTAL_MAX_MB(operator-setup-retention.md,prune-otel-store.sh, #10137 for #9865). Per the 2026-10-26 decision, Issue Triage closes this as completed when provisioning#849 closes. No lane work remains here.This was generated by AI.
kyle-sexton commentedon Nov 6, 2026
kyle-sexton commentedon Nov 6, 2026
Item 3 is done: #13766 merged the observability skill's pointer to provisioning's reset runbook. The only open item is the two-host reset run, which is the same work as melodic-software/provisioning#849's done-when 3, so this closes as its duplicate and that issue carries the scope. Status there: provisioning#917, #918 and #920 shipped the reset with -ConfirmBytes and a private -BackupTo; the laptop run is launched and waits on the owner's elevation prompt, the desk run is with the hub.