Skip to content

feat(bin): add fleet usage harvester and harden launch permission posture - #1

Merged
npayette84 merged 7 commits into
mainfrom
fm/fm-harvester-ship
Aug 30, 2026
Merged

npayette84 merged 7 commits into
mainfrom
fm/fm-harvester-ship

Conversation

@npayette84

Copy link
Copy Markdown
Owner

Fork PR — validated via kunchenguid#3298

This opens the fleet usage harvester on the npayette84/firstmate fork (base main) because the upstream PR kunchenguid#3298 targets a repository where merge rights are unavailable. kunchenguid#3298 stays open as the validated original.

The branch head here is identical to kunchenguid#3298's validated head, which passed the full no-mistakes pipeline: automated review, tests, lint, and green CI (including a Greptile review round). Against this fork's main, the diff is harvester-only — the launch-permission hardening named in the reused title is already present on this fork's main, so it does not reappear in this diff.

What it adds

  • bin/fm-usage-harvest.sh — appends exactly one JSON usage-ledger row per finished task; single owner of the ledger line schema.
  • bin/fm-usage-report.sh — plain-text reader that consumes that ledger.
  • bin/fm-teardown.sh — best-effort harvest hook that never blocks teardown.
  • Colocated behavior tests (9 groups) exercising claude/codex/cursor parsing, idempotency, concurrency, and the teardown non-blocking property; shellcheck-clean.

See kunchenguid#3298 for the complete validated intent and pipeline history.

@npayette84
npayette84 merged commit 12f6613 into main Aug 30, 2026
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