Knowledge Complete
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
Mark a single pending agreement/task as completed: remove its knowledge/pending/pending-<task-id>.md file
and check off the matching numbered item in its meeting’s agreement file.
Purpose
iru-knowledge-complete closes the loop iru-knowledge-process-inbox opens: given a task id (the
<timestamp>-<n> portion of a knowledge/pending/pending-<task-id>.md filename), it locates that pending
file, uses it to identify the originating knowledge/agreements/agreement-<timestamp>.md and item number
(falling back to deriving both from the task id itself if the pending file doesn’t state them clearly),
flips that item’s checkbox from [ ] to [x], and deletes the pending file. It stops without deleting
anything if the pending file, the agreement file, or the numbered item can’t be found consistently — an
inconsistency here is left for a person to look at rather than resolved by guessing.
Inputs
| Argument | Required | Description | Default |
|---|---|---|---|
|
No |
The task id to complete — the part of a |
If omitted, the skill asks the user for it via |
Outputs
-
The matching
knowledge/pending/pending-<task-id>.mdfile deleted. -
The corresponding numbered item in
knowledge/agreements/agreement-<timestamp>.mdchecked off ([ ]→[x]) — every other item in that file left untouched. -
A closing report naming the task id completed, the agreement file and item number checked off, and confirming the pending file’s removal.
-
If no matching pending file exists, or the agreement file/item is missing or already checked: nothing is deleted or modified, and the report explains what’s inconsistent (listing the task ids that do exist, in the not-found case).
Execution flow
Dependencies
Invoked by
-
iru-knowledge-compact— once per item it finds already closed as completed on its tracker that still has a pending file, passing the task id. If this skill stops on an inconsistency,iru-knowledge-compactreports that message rather than editing the files by hand.
It is also a top-level entry point, run directly by a person whenever a task tracked in knowledge/pending has
actually been completed. It operates on files iru-knowledge-process-inbox produces.
Source
SKILL.md on GitHub — the file this page was generated from.