15 lines
1.7 KiB
Markdown
15 lines
1.7 KiB
Markdown
# Ingestion pipeline
|
|||
|
|
|
||
|
|
Version 0.1.0. Host-executed procedure for `kb-ingest`; not a background scheduler. Follow the contribution protocol for budgets, checkpoints and retry identity.
|
||
|
|
|
||
|
|
| Stage | Input | Output / checkpoint | Gate |
|
||
|
|
| --- | --- | --- | --- |
|
||
|
|
| Context | User-selected material and explicit project | Objective, lens, scope, run identity and pinned pack versions | Required tools/schema are available; otherwise report blocked. |
|
||
|
|
| Capture | Selected bytes/URL and source candidates | Verified upload/capture IDs, archive/extraction availability | Upload is staged; retain exact source revision/map. |
|
||
|
|
| Triage | Source plus project lens | Included sections and skip/defer reasons | Bound the batch; preserve coverage. |
|
||
|
|
| Extract | Included sections and immutable maps | Atomic proposal draft with field-level evidence | Exact quotes/locators; no invented revisions. |
|
||
|
|
| Assess | Assertion/evidence bindings | Support judgments, assessor/run and rationale | Unsupported/unavailable claims remain drafts. |
|
||
|
|
| Submit | Complete bounded bundle and base revision | Proposal identity, validation findings and eventual receipt | Every affected domain's policy applies; protected decisions remain external. |
|
||
|
|
| Report | Receipts and coverage records | Accepted/held work, index state, limitations and resume point | Never equate partial acceptance or upload with complete processing. |
|
||
|
|
|
||
|
|
Resume inspects service status and retained output hashes before returning to a stage. Changed assertion/evidence invalidates assessment and later stages. Correct only actionable findings; repeated identical failure stops for diagnosis. Pipeline instructions may be replaced independently of the skill's extraction criteria if these input/output and recovery obligations remain valid.
|