/api/v1, with the normal signed-in session. Everything is scoped to the signed-in user. A request with no user gets 401.
Routes
List routes take
status (omit it to list all) and limit (default 50, maximum 200). Create routes answer 200. Ids look like kflag_<uuid> and kprop_<uuid>.
Flags
The response is
{ "flag": { ... } } with the stored columns. Never put secrets in evidence.
Proposals
originiscurator,agentorskill_growth.statusisproposed,approved,rejected,activeorrolled_back.- Every cited
flag_idandobservation_idmust belong to you (400otherwise), and each item carries exactly one of the two. Cited open flags move toproposed. target_refallows letters, digits,-,_and.; skills may also use:and/. No leading.or/, no...- The response is
{ "proposal": { ... } }, withevidence(array) andeval(object or null) parsed.
Approve
Fordomain and data_access, approving writes knowledge/domain/<ref>.md or knowledge/data-access/<ref>.md in your personal Memory Drive as one commit. See the file format. If the write fails the proposal stays proposed. For skill, the status becomes approved and Gizzi activates it later, then calls /activated. Approving or rejecting moves the linked flags to resolved.