ContextLib
v0.1.0A project's long-term memory as plain Markdown files, with an append-only, tamper-evident log.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
context_brief
Always-loaded project summary (at most 8192 bytes).
| Parameter | Type | Description |
|---|---|---|
project * | string | Project slug. |
context_search
Ranked search over the rebuildable project index.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project slug. |
query * | string | Search text. |
limit | integer | Maximum hits. Default 20. |
status | string | Status filter. Default current. Use all to include every status. |
type | string | Optional record type. |
context_get
One record: meta, body, path, evidence state, supersession chain.
| Parameter | Type | Description |
|---|---|---|
id * | string | Record id. |
project * | string | Project slug. |
context_record
Create a record (decision, requirement, fact, lesson, glossary, source, return, brief-note). Author is the server identity.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
project * | string | |
title * | string | |
type * | string | |
approved_by | string | |
evidence | array | |
request_key | string | |
review_by | string | YYYY-MM-DD |
scope | object | |
sensitivity | string | |
supersedes | array | |
tags | array |
context_supersede
Supersede an old id with a new id and move the old file.
| Parameter | Type | Description |
|---|---|---|
new_id * | string | |
old_id * | string | |
project * | string | |
reason * | string |
context_review_due
Records whose review_by is due on or before a date (default today).
| Parameter | Type | Description |
|---|---|---|
project * | string | |
before | string | YYYY-MM-DD. Default today. |
context_review
Confirm or retire a record. Use context_supersede to supersede.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
outcome * | string | |
project * | string | |
next_review_by | string | YYYY-MM-DD |
note | string |
context_capture
RESULT.json becomes a return record; listed lessons go to the inbox.
| Parameter | Type | Description |
|---|---|---|
project * | string | |
path | string | Path to RESULT.json. |
result_path | string |
context_export
Zip a project. include_private defaults to false.
| Parameter | Type | Description |
|---|---|---|
out_dir * | string | |
project * | string | |
include_private | boolean |
context_import
Import a project bundle zip.
| Parameter | Type | Description |
|---|---|---|
bundle_path | string | |
path | string | Path to the bundle zip. |
context_status
Library and project health: counts, inbox, due, index age.
| Parameter | Type | Description |
|---|---|---|
project | string | Optional project slug. |