Skip to content

#168 patching-hosts: the daily report to the inventory service (PR A) - #169

Merged
gregoryfoster merged 9 commits into
mainfrom
168-daily-report
Dec 3, 2026
Merged

gregoryfoster merged 9 commits into
mainfrom
168-daily-report

Conversation

@gregoryfoster

Copy link
Copy Markdown
Member

Refs #168 (PR A of two; the host steps and the reply items remain).

What. co-processor sends the cohort's inventory service a daily reading, so the operator can plan it. This adds the knob's report line:

report co-processor http://provisioner:9000 /etc/patching-hosts/inventory-key

Nothing about how the host is patched changes: the posture stays automatic, the window stays Tue 05:00-10:00, and the patch-due check keeps running. PR B (the switch) is separate and gated (plan § Approach).

Changes

  • .skills/patching-hosts: the report line and its comment, in the global lines.
  • tests/test_patching_knob.py: the vendored reader returns that VM, URL and key path. It was red before the line.
  • docs/PATCHING.md § The daily report: the units, the key nobody here reads, root running the main checkout's copy of the skill daily, and a skills bump reaching root only through git submodule update. docs/SKILLS.md's refresh table points there.
  • docs/plans/2026-12-03-168-operator-patch-cycles.md: the plan, approved 2026-12-03.

Checks

  • read-knob.sh gives report at line 88, findings: [] and report_only: false.
  • uv run pytest: 1144 passed, 16 skipped. ruff, the format check and shellcheck are clean.
  • Context: PATCHING.md is at 9,782 of 10,000 tokens, SKILLS.md at 7,082, and seams read 0. PR B removes the automatic lane's host-file rows from PATCHING.md, which frees room.
  • Code review (CR 1–5) is applied, one commit per finding.

Deploy: yes. .skills/patching-hosts is a RUNTIME_FILES path, so without one the drift check alerts.

After the merge and deploy (each sudo step approved in the session): read SSHPolicy, then tailscale set --ssh; install the report units from the main checkout; the owner installs the key and opens the tailnet path; send one report by hand; enable the timer.

🤖 Generated with Claude Code

gregoryfoster and others added 9 commits December 3, 2026 20:57
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
report co-processor http://provisioner:9000 /etc/patching-hosts/inventory-key,
in the global lines. A test holds the vendored reader to returning it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The units, the key nobody here reads, root running the main checkout's
skill daily, and a skills bump reaching root only through the submodule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ctl's exit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dule update

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…re --check

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…late's

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gregoryfoster
gregoryfoster merged commit d6c1318 into main Dec 3, 2026
3 checks passed
@gregoryfoster
gregoryfoster deleted the 168-daily-report branch December 3, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant