You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hardening(skills): skill ledger gaps — deleting the ledger forgets revokes, adopt pre-ledger approvals, embedders skip the ledger #879
Follow-up of #600 (slice 3a, the skills pin). The skills ledger (skill-ledger.jsonl, append-only, written before skill-approvals.json) makes a revoked or hash-drifted skill stay refused even if the approvals file is restored by hand. These gaps were found in review and are documented as residuals.
Gaps
Deleting the ledger forgets every revoke. With no ledger every approval becomes "unrecorded" and loads. There is no tamper check beyond the same residual as the plugin ledger (a process that can rewrite both files is not stopped). Consider a checkpoint or a hash chain, or keeping a minimal revoke tombstone elsewhere (and refusing to start when the ledger is missing but the approvals file lists skills that were once recorded).
Approvals made before the ledger stay "unrecorded" until they are approved again. A one-shot owner-only command that adopts the current approvals into the ledger would remove the noise and close gap 1 for them.
Embedders can call Approvals::approve / save without writing a ledger line. Consider making the core API write the ledger (or documenting that embedders must).
tole plugin list does not flatten newlines in a lock key (plugin audit does). Small output hardening: apply the same one-line rule to list.
Activity
feat(skills): pin a third-party skill with a source and a ledger that…
feat(plugins): tole plugin audit, a read-only report of locked plugin…
feat(skills): checkpoint the skill ledger in the approvals file; add …
test(skills): real-binary e2e for the ledger checkpoint, adopt and re…
docs(skills): document the skill ledger checkpoint, adopt and the emb…
docs(skills): document the checkpoint limits; show a ledger fault in …