Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@ server-fixed one-second interval when there is no work, and exits on `SIGTERM`
or `SIGINT`.

All dispatch modes read **only** a role-specific scheduler, worker URL,
WorkerLease signing key, and the server-side JSON root registry
(`CONTEXT_ENGINE_WORKER_FILE_ROOTS_JSON`). **A caller may not supply
Organization, Source, job, or token** — that is the point of the boundary.
WorkerLease signing key, the server-side JSON root registry
(`CONTEXT_ENGINE_WORKER_FILE_ROOTS_JSON`), and an optional bounded per-file byte
ceiling (`CONTEXT_ENGINE_WORKER_MAX_FILE_BYTES`, default 1 MiB, accepted only
within 1–64 MiB). Markdown files are discovered recursively. **A caller may not
supply Organization, Source, job, or token** — that is the point of the boundary.
Output is limited to `dispatched` / `no_work` / `refused`.

Lease validation uses the worker's PostgreSQL clock, staying in the same time
Expand Down
13 changes: 13 additions & 0 deletions STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,19 @@ Follow the ADR for its exact evidence boundary.
| [0058](./docs/decisions/0058-schedule-only-upserts-from-mixed-file-pages.md) | Schedule only upserts from mixed File pages |
| [0059](./docs/decisions/0059-dispatch-scheduled-file-imports-through-exact-leases.md) | Dispatch scheduled File imports through exact leases |
| [0060](./docs/decisions/0060-reclaim-expired-file-imports-with-bounded-retries.md) | Reclaim expired File imports with bounded retries |
| [0065](./docs/decisions/0065-recurse-file-discovery-with-anchored-descriptors.md) | Recurse File discovery through anchored descriptors under one bounded byte ceiling |

ADR-0065 extends the active File Provider boundary from a flat root to
deterministic recursive discovery of canonical nested Markdown paths. Each
directory hop and final read stays anchored to the registered root with
no-follow descriptors and stable before/after identity checks; symlinks,
non-regular targets, path escapes, unstable scans, and roots beyond the retained
10,000-path baseline bound fail closed. Worker reads use a server-owned bounded
byte ceiling (1 MiB by default, configurable only within 1–64 MiB), and the real
PostgreSQL evidence covers nested publication plus mixed flat/nested replay.

This does **not** activate provider polling/watchers, a full-resync mechanism,
new delete authority, or any non-Markdown carrier.

### Wire contract, SDK, and trusted delivery

Expand Down
Loading
Loading