GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(fleet): change-event ledger check for pool config changes (#1334) by dezren39 · Pull Request #14069 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Slice of epic #1334 toward its unchecked acceptance criterion: "The change-event ledger exists and every config change in the window has a matching event with before/after quota snapshots." The steward spec (#1339) says "a config change with no ledger event is a defect" — but no ledger and no check existed. This PR is the measurement harness: scripts/change_ledger.py verifies a JSONL ledger against a changes file (one entry per merged PR touching the canonical config .opencode/opencode.jsonc), and scripts/test_change_ledger.py covers it (14 tests, oracle: #1339's spec + the operator-script argument contract #3352).

After this PR, python3 -I scripts/change_ledger.py check --ledger <ledger> --changes <changes> reports matched/unmatched config changes and defective events (exit 0/1, usage errors exit 2).

Evidence

  • Failing first: tests run before the module existed failed with ModuleNotFoundError: No module named 'change_ledger'; after implementation, 14/14 pass locally (python3 scripts/test_change_ledger.py → OK).
  • Remote verification: fleet queue dispatch is blocked by TLS defect fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185 (invalid peer certificate: UnknownIssuer on the fleet-command.yml dispatch POST), so per the lane fallback I dispatched the workflow directly: run https://github.com/developing-today/fleet/actions/runs/45322738000 — the "Execute target command" step (python3 scripts/test_change_ledger.py on branch xaltha/1334-change-ledger-check) completed with status success. The run was still in post-step container teardown when this PR was opened; the command step result is the verification.
  • First real run (measured number, committed here): window 2026-10-27 → 2026-11-24, changes built from the commits API grouped by PR via commits/{sha}/pulls: 183 config changes (165 merged PRs + 18 direct commits), 0 matched — the ledger file does not exist (~/workspace/goals/keep-the-four-repos-healthy/hidden_files/change-event-ledger.jsonl), exit 1. So criterion 3 is still unmet; this PR makes the gap countable instead of unknown.
  • Suite registry: bash .github/scripts/check-suite-registry.sh prints nothing for scripts/test_change_ledger.py — no registry row needed (only pkgs/id and pkgs/mcpx test files need one), matching the scripts/test_ainventory_gather.py precedent (run directly, no CI wiring).

Merge danger

Additive only: two new files under scripts/, no existing file touched, no behavior changed. The checker is read-only (reads a ledger and a changes file, prints JSON).

Next slice

Create the ledger at the goal-workspace path above and record first events for the in-window changes (starting with the most recent), so the check moves from 0/183 toward full coverage. Criterion 3 stays unchecked until every change in the window matches.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
feat(fleet): change-event ledger check for pool config changes (#1334)
9e18323
The steward spec (#1339) says a config change with no ledger event is
a defect, but no ledger and no check exist: 207 commits touched
.opencode/opencode.jsonc since the epic was filed, with zero ledger
events to match them against. This slice is the measurement harness:
scripts/change_ledger.py verifies a JSONL ledger against a changes
file (one entry per merged PR touching the canonical config), and
scripts/test_change_ledger.py covers it (14 tests, oracle #1339).
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4c9ef353-b266-472c-9af4-2e96c7632b1f
Commits

Reviewing files that changed from the base of the PR and between 7b95e94 and 9e18323.

Files selected for processing: 2

  • scripts/change_ledger.py
  • scripts/test_change_ledger.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 24, 2026
epic(fleet): pool & routing intelligence — lanes everywhere, live dispatch + babysitting, quota stewardship, reviewer oversight, AA + measured-speed model #1334
Open
2 of 4 tasks
@developing-today-fleet
developing-today-fleet Bot merged commit ff571c2 into main Nov 24, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/1334-change-ledger-check branch November 24, 2026 07:40
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 24, 2026
Open-PR clearance programme 2026-11-24: every open PR merged, fixed+merged, or tasked #14166
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.