Fledge
PLUGINSkills have to earn their wings.
by 12burb · v0.1.0
What it does
Skills have to earn their wings. Before Ulpi saves or rewrites a skill, Fledge checks what actually happened in the run it learned from (tools still failing when the turn ended, a failed or interrupted turn, the user correcting the agent in the next message, /undo or a /rollback restore right after, denied approvals), using only facts Ulpi reports through hooks: no model grades the model.
A save learned from a bad run is held in Ulpi's own skills pending queue with the reasons (review from any chat with /fledge pending|diff|approve|reject, or /skills pending in the CLI); a foreground save after errors goes through Ulpi's approval prompt, and unattended runs queue instead of waiting. New and rewritten skills start on probation: clean real runs graduate them, repeated bad runs ground them, and a save from a run the user corrected right after is grounded at once; a grounded skill Ulpi created on its own is archived (ulpi curator restore brings it back), skills the user asked for are only reported.
Skills the user edited by hand are fingerprinted, and autonomous rewrites or deletes of them become proposals in the same queue (optionally Ulpi's content lock). Modes: enforce, watch (records only), off.
Disclosure — nine hooks (pre_llm_call, pre_tool_call, post_tool_call, on_session_end, on_session_finalize, on_session_reset, on_skill_lifecycle, pre_command, post_approval_response); pre_tool_call blocks or asks for approval on skill_manage only and lets the write through on its own errors (a write already queued for review stays held); reads hook payloads (tool statuses and error text, the first 280 characters of the next user message) and skill folders to fingerprint them; writes its own SQLite under each profile's plugin-data/fledge (skill names, fingerprints, verdict reasons, session/turn ids; reasons quote the matched correction phrase and up to 80 characters of a tool error, hold summaries the skill's one-line description; no other message text, no skill bod
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve