agentrinse 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/dist/adapters/git/adapter.d.ts +3 -2
- package/dist/adapters/git/adapter.d.ts.map +1 -1
- package/dist/adapters/git/adapter.js +56 -15
- package/dist/adapters/git/adapter.js.map +1 -1
- package/dist/adapters/git/inventory-command.d.ts +4 -1
- package/dist/adapters/git/inventory-command.d.ts.map +1 -1
- package/dist/adapters/git/inventory-command.js +3 -3
- package/dist/adapters/git/inventory-command.js.map +1 -1
- package/dist/commands/completion.d.ts.map +1 -1
- package/dist/commands/completion.js +1 -0
- package/dist/commands/completion.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +3 -1
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/git-inventory.d.ts +16 -0
- package/dist/commands/git-inventory.d.ts.map +1 -1
- package/dist/commands/git-inventory.js +41 -1
- package/dist/commands/git-inventory.js.map +1 -1
- package/dist/commands/worktree-grades.d.ts +13 -0
- package/dist/commands/worktree-grades.d.ts.map +1 -0
- package/dist/commands/worktree-grades.js +304 -0
- package/dist/commands/worktree-grades.js.map +1 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +19 -0
- package/dist/main.js.map +1 -1
- package/dist/rules/git/inventory-packs.d.ts +9 -1
- package/dist/rules/git/inventory-packs.d.ts.map +1 -1
- package/dist/rules/git/inventory-packs.js +25 -2
- package/dist/rules/git/inventory-packs.js.map +1 -1
- package/dist/rules/git/inventory-registrations.d.ts +1 -0
- package/dist/rules/git/inventory-registrations.d.ts.map +1 -1
- package/dist/rules/git/inventory-registrations.js +1 -1
- package/dist/rules/git/inventory-registrations.js.map +1 -1
- package/dist/rules/git/selected-binding.d.ts +14 -0
- package/dist/rules/git/selected-binding.d.ts.map +1 -0
- package/dist/rules/git/selected-binding.js +65 -0
- package/dist/rules/git/selected-binding.js.map +1 -0
- package/dist/rules/git/temporary-pack-header.d.ts +12 -0
- package/dist/rules/git/temporary-pack-header.d.ts.map +1 -0
- package/dist/rules/git/temporary-pack-header.js +62 -0
- package/dist/rules/git/temporary-pack-header.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/skills/agentrinse/SKILL.md +7 -0
|
@@ -13,12 +13,19 @@ Run `agentrinse git-inventory --repo-root "$REPOSITORY_PARENT" --redact --json`.
|
|
|
13
13
|
|
|
14
14
|
For many unpacked objects, add `--loose-objects`. It counts regular names against Git’s object format without opening object contents. For partial results, compare `fanoutsComplete` with `fanoutsObserved` to see how many directories stayed stable during their scan.
|
|
15
15
|
|
|
16
|
+
Use `--pack-headers` when temporary pack names dominate disk usage. Read the empty and header-only counts alongside unknown, withheld and budget-skipped counts. A short, partial or damaged file can contain the only surviving copy of object data. A recognized header proves only what occupies those first 12 bytes. Leave content validation and retained-copy proof to Git's owning repository.
|
|
17
|
+
|
|
16
18
|
Check the envelope status, per-owner coverage and entry budget first. A repository can retain verified counts while listing changed sections in `changedSections`. Retry those sections when the repository is quiet. Compare temporary filenames with unique inodes, mixed links and unobserved links. Allocated file blocks can share physical extents. A temporary name, lock, orphan-looking sidecar or Git-prunable registration supplies inventory evidence. Reclaimable bytes remain unknown.
|
|
17
19
|
|
|
18
20
|
When the checkout allocator supports it, stream its read-only inventory projection directly into the CLI using `gwt finish-status --all --read-only --inventory-json | agentrinse git-inventory --repo-root "$REPOSITORY_PARENT" --gwt-status-stdin`. Add `--worktree-root "$MANAGED_CONTAINER"` for a custom container. Legacy finish-status arrays establish reported signoff only. The native allocator must check current holders, protected history, recovery and retirement before a closeout.
|
|
19
21
|
|
|
22
|
+
## Grade selected linked checkouts
|
|
23
|
+
|
|
24
|
+
When a full Git audit times out, run `agentrinse worktree-grades --repo "$OWNER" --worktree "$CHECKOUT" --redact --json` on macOS or Linux. Use the canonical absolute owner and checkout paths. Repeat `--worktree` for up to 64 selections. Supply the same `--config` and provider home as the original audit. The report includes the full native registration count and one row per input in order. Check `graded`, `unknown` and each row's protection reasons. Retry smaller batches if the configured deadline expires. A grade is read-only evidence. It cannot authorize retirement or serve as input to a cleanup plan.
|
|
25
|
+
|
|
20
26
|
## Pick the scope
|
|
21
27
|
|
|
22
28
|
- Use `worktrees --root "$CONTAINER"` for physical checkouts without a known owner registration. Read `unresolvedReason` to distinguish an observed empty group from one containing files or an incomplete inspection. Use `storage-rules` and `storage` for developer caches, staging areas and volume evidence.
|
|
23
29
|
- For a bounded provider audit, use `audit --no-state --quick --providers codex,claude --phase-timeout 5s --json --redact`. Quick scans skip size measurement.
|
|
30
|
+
- Use documented read-only provider and allocator commands for ownership and activity. Keep provider SQLite databases, their schemas and WAL files, and session transcripts out of ad hoc cleanup queries. If the owner cannot establish activity, keep the candidate protected.
|
|
24
31
|
- Keep a disk census read-only. For an explicitly requested cleanup, inspect a fresh scoped plan and its protection reasons. Use only the documented owner and recovery path for an authorized action. Native Windows supports audit only.
|