Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5882a6f
#216 fix: a cookie jar per command, not per worker
gregoryfoster Nov 23, 2026
a5ec7fa
#216 refactor: the request-header rules move to src/worker/headers.py
gregoryfoster Nov 23, 2026
a549d9d
#216 feat: the fetch credential table
gregoryfoster Nov 23, 2026
d8e34cc
#216 feat: credential_unknown and credential_refused
gregoryfoster Nov 23, 2026
713057a
#216 feat: guard the credential headers and resolve them
gregoryfoster Nov 23, 2026
5616960
#216 feat: scope each credential per hop
gregoryfoster Nov 23, 2026
a0372c8
#216 test: the reference is a key, the value is the transport's
gregoryfoster Nov 23, 2026
736483e
#216 docs: fetch credential references in the contracts, env and fetc…
gregoryfoster Nov 23, 2026
6a053ee
#216 test: a credentialed frame per hop against a live broker
gregoryfoster Nov 23, 2026
d889135
#216 refactor: annotate command_scope as a Generator
gregoryfoster Nov 23, 2026
9ffb4cf
#216 docs: name reflection as the limit a binding can't close
gregoryfoster Nov 23, 2026
b6a433c
#216 fix: CR 1 — never quote a pasted value from value_file or hosts
gregoryfoster Nov 23, 2026
5d5a9e6
#216 fix: CR 2 — bound the value-file read
gregoryfoster Nov 23, 2026
6e16921
#216 refactor: CR 3 — load the credential table above the alias block
gregoryfoster Nov 23, 2026
cca1dc3
#216 docs: CR 4 — tighten the credential additions to each doc's budget
gregoryfoster Nov 23, 2026
8a32f35
#216 test: CR 5 — the trailing-newline test asserts the off-rule branch
gregoryfoster Nov 23, 2026
812d0e5
#216 test: CR 6 — pass the root to _secret_reads, not a swapped global
gregoryfoster Nov 23, 2026
803f11e
#216 docs: curate the four docs over the 10,000-token budget
gregoryfoster Nov 23, 2026
f49fa80
#216 chore: curation telemetry for the four over-budget docs
gregoryfoster Nov 23, 2026
e875da9
#216 docs: CR 7 — the lifecycle rule isn't on the TTL setting
gregoryfoster Nov 23, 2026
6c4f848
#216 docs: CR 8 — DEPLOYMENT points at whether a bot PR owes a deploy
gregoryfoster Nov 23, 2026
da647ea
#216 docs: CR 9 — rewrap DEPENDENCIES.md's scope paragraph
gregoryfoster Nov 23, 2026
a70c7ad
#216 chore: amend the curation rows for CR 7 and CR 8's late fixes
gregoryfoster Nov 23, 2026
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
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# `uv lock` (#169). Each PR is gated by ci.yml; a Dependabot-triggered run is
# treated like a fork's, so on a red one read the WIF auth step first (the
# verdict table on #76). How one lands, and when a `uv` PR owes a deploy:
# docs/DEPLOYMENT.md -> "Dependabot".
# docs/DEPENDENCIES.md -> "Dependabot".
#
# The `uv` updater resolves co-core from the co-pypi index (#183) over OIDC:
# the org registry admits this repository, and pyproject.toml's index URL
Expand Down Expand Up @@ -43,7 +43,7 @@ updates:
open-pull-requests-limit: 10
groups:
# Dev tooling is one PR. Not a no-deploy marker: anyio, httpx and pyyaml
# are runtime transitives too (docs/DEPLOYMENT.md -> "Dependabot").
# are runtime transitives too (docs/DEPENDENCIES.md -> "Dependabot").
dev-tools:
dependency-type: "development"
# Dependabot gives a requirement with extras no previous version, and
Expand Down
8 changes: 8 additions & 0 deletions .skills/context-claims-ok
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,11 @@ docs/SKILLS.md :: retarget :: SOCRATICODE.md
docs/SOCRATICODE.md :: disproven :: systemd-run --user --scope -p MemoryHigh=1200M -p MemoryMax=1536M -p CPUQuota=100% -- npm install --prefix ~/.socraticode/pin socraticode@<version>
docs/SOCRATICODE.md :: disproven :: systemd-run --user --scope -p MemoryHigh=1200M -p MemoryMax=1536M -p CPUQuota=100% -- npx -y -p socraticode@<version> -- node -e 0
docs/CONVENTIONS.md :: disproven :: (+xdel ~content.fetch.dlq ~content.replicate.dlq)

# ---- #216 curation ----
# @run base=812d0e592a99 file=docs/DEPLOYMENT.md
# The moved Dependabot section's two links, re-aimed from docs/DEPENDENCIES.md:
# the same-doc anchor now names DEPLOYMENT.md, the DEPENDENCIES.md one is same-doc.
retarget :: #main-takes-pull-requests-208
retarget :: DEPENDENCIES.md#the-build-backends-bound-and-cis-uv
# @run end
39 changes: 39 additions & 0 deletions .skills/context-loss-ok
Original file line number Diff line number Diff line change
Expand Up @@ -828,3 +828,42 @@ docs/SOCRATICODE.md :: disproven :: `systemd-run --user --scope -p MemoryHigh=12
# #162 CR 1: CONVENTIONS.md quoted a two-queue XDEL selector; broker's deploy/redis-acl.conf
# names four (persist and capture joined). It now links the selector's shape instead.
docs/CONVENTIONS.md :: disproven :: - **DLQ is a shipped seam, not a TODO:** `dead_letter(message_id, fields, reason=…)` copies the frame to `<topic>.dlq` with co-core's `dlq.*` provenance beside it, and acks the original. Deterministic failure ⇒ DLQ; transient failure ⇒ retry. **Draining it is this service's job, and both halves are granted** — `XADD <topic>.dlq` parks a frame and, since 2026-09-11, an ACL selector `(+xdel ~content.fetch.dlq ~content.replicate.dlq)` removes one once it is triaged (#86, broker#12). `XDEL` is refused on every other stream and nothing here issues `XTRIM` (#106 — the broker had granted it on both fact streams and both queues, and broker#41 withdraws it), so disposal is one entry at a time by id and a drain can never become a wipe. Resting state for both queues is 0: `docs/COMMANDS.md`.

# ---- #216 curation: the four docs over the 10,000-token budget ----
# Each line below was read against its replacement before being warranted.
# @run base=812d0e592a99 file=docs/DEPLOYMENT.md
# The Dependabot section moved verbatim to docs/DEPENDENCIES.md as a `##`; its
# provenance heading lost `(#76, #169)` per the seams-ack note (#162), both issues
# still cited in its body, and its two links were re-aimed from the new home.
rename :: ### Dependabot proposes the action and Python bumps (#76, #169)
retarget :: It proposes one PR per runtime package and one `dev-tools` group PR.
retarget :: Merge a bot PR [like any PR](#main-takes-pull-requests-208)
# @run end
# @run base=812d0e592a99 file=docs/contracts/content-fetch-outcome-reference.md
# The TTL section's history (the window "used to be" a host setting) and the
# operator-side pairing detail, which INFRASTRUCTURE.md's lifecycle table carries;
# every atom kept (claims_dropped 0).
tighten :: **Why the seven-day window is a commitment rather than a number to ask about.** It used to be
tighten :: `REPLICATOR_BLOB_TTL_SECONDS` on Replicator's host — a setting, visible to nobody else, changeable
tighten :: by an operator with no consumer the wiser. Under the object-store backend the reap is a **bucket
tighten :: lifecycle rule**, which is a stated, auditable window rather than an mtime clock that moves for
tighten :: reasons no consumer can see. The rule is `daysSinceCustomTime: 8` against a published 7-day
tighten :: horizon — the extra day for the reason the table below gives.
tighten :: **Nothing keeps the two halves in step automatically under `gcs`.** The published horizon comes from
tighten :: `REPLICATOR_BLOB_TTL_SECONDS` and the reap comes from a lifecycle rule configured in Google Cloud;
tighten :: a rule shorter than the setting would announce a window the bucket will not honour, which is the one
tighten :: way this value can be wrong in the unsafe direction. The worker logs the horizon at boot beside the
tighten :: bucket so the pairing is checkable, and `docs/INFRASTRUCTURE.md` records the provisioned rule.
# @run end
# @run base=812d0e592a99 file=docs/TESTING.md
# Two sentences of how-it-was-found narrative; every atom kept.
tighten :: **Where fakeredis diverges.** It is sound for consumer-group *mechanics*
tighten :: **The shared broker is not a `real_redis` target, three times over.**
# @run end
# @run base=812d0e592a99 file=docs/INFRASTRUCTURE.md
# A dated disk reading, a filler clause and a narrative lead-in; every atom kept.
tighten :: It reached 97% on 2026-10-22. Disk hygiene here is Provisioner'
tighten :: [COMMANDS.md](COMMANDS.md#inspecting-the-consume-path), beside the commands. Some of
tighten :: those rows arrived after broker#2's ACL cutover, and this is how:
tighten :: **`XPENDING` moved columns on 2026-09-22 (broker#39, #103, #107)**, not as a courtesy: the
# @run end
8 changes: 8 additions & 0 deletions .skills/context-metrics.jsonl
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,11 @@
{"actions": ["baseline:scheduled"], "budget": 6000, "bytes": 14077, "claims_dropped": null, "claims_warranted": null, "counts": null, "counts_acked": null, "delta_days": 7, "delta_tokens": -18, "docs_orphaned": 0, "docs_total": 24, "docs_unindexed": 0, "file": "AGENTS.md", "lines": 249, "links_dead": 0, "links_dead_anchors": 0, "no_loss": null, "no_loss_warrants": null, "note": null, "over_budget": false, "repo": "replicator", "repo_commit": "93fb513", "seams": 0, "seams_acked": 42, "skill_commit": "de245880", "skill_version": "1.31", "tokens": 5960, "tokens_exact": true, "tokens_live": 181136, "top_section": "Bus Conventions", "top_section_share": 24, "ts": "2026-11-03"}
{"actions": ["baseline:scheduled"], "budget": 6000, "bytes": 13938, "claims_dropped": null, "claims_warranted": null, "counts": null, "counts_acked": null, "delta_days": 7, "delta_tokens": -63, "docs_orphaned": 0, "docs_total": 25, "docs_unindexed": 0, "file": "AGENTS.md", "lines": 244, "links_dead": 0, "links_dead_anchors": 0, "no_loss": null, "no_loss_warrants": null, "note": null, "over_budget": false, "repo": "replicator", "repo_commit": "294e489", "seams": 2, "seams_acked": 42, "skill_commit": "1803026d", "skill_version": "1.31", "tokens": 5897, "tokens_exact": true, "tokens_live": 184932, "top_section": "Bus Conventions", "top_section_share": 24, "ts": "2026-11-10"}
{"actions": ["baseline:scheduled"], "budget": 6000, "bytes": 14042, "claims_dropped": null, "claims_warranted": null, "counts": 1, "counts_acked": 4, "delta_days": 7, "delta_tokens": 55, "docs_orphaned": 0, "docs_total": 25, "docs_unindexed": 0, "file": "AGENTS.md", "lines": 245, "links_dead": 0, "links_dead_anchors": 0, "no_loss": null, "no_loss_warrants": null, "note": null, "over_budget": false, "repo": "replicator", "repo_commit": "a072ba5", "seams": 7, "seams_acked": 40, "skill_commit": "063ba5db", "skill_version": "1.31", "tokens": 5952, "tokens_exact": true, "tokens_live": 191097, "top_section": "Bus Conventions", "top_section_share": 24, "ts": "2026-11-17"}
{"actions": ["baseline:pre-curation"], "budget": 10000, "bytes": 25844, "claims_dropped": null, "claims_warranted": null, "counts": null, "counts_acked": null, "delta_days": 37, "delta_tokens": 2652, "docs_orphaned": 2, "docs_total": 24, "docs_unindexed": 13, "file": "docs/DEPLOYMENT.md", "lines": 333, "links_dead": 0, "links_dead_anchors": 0, "no_loss": null, "no_loss_warrants": null, "note": null, "over_budget": true, "repo": "replicator", "repo_commit": "812d0e5", "seams": null, "seams_acked": null, "skill_commit": "817963f6", "skill_version": "1.31", "tokens": 10222, "tokens_exact": true, "tokens_live": 184262, "top_section": "Server Lifecycle", "top_section_share": 52, "ts": "2026-11-23"}
{"actions": ["baseline:pre-curation"], "budget": 10000, "bytes": 26714, "claims_dropped": null, "claims_warranted": null, "counts": null, "counts_acked": null, "delta_days": 60, "delta_tokens": 551, "docs_orphaned": 2, "docs_total": 24, "docs_unindexed": 19, "file": "docs/contracts/content-fetch-outcome-reference.md", "lines": 370, "links_dead": 0, "links_dead_anchors": 0, "no_loss": null, "no_loss_warrants": null, "note": null, "over_budget": true, "repo": "replicator", "repo_commit": "812d0e5", "seams": null, "seams_acked": null, "skill_commit": "817963f6", "skill_version": "1.31", "tokens": 10072, "tokens_exact": true, "tokens_live": 184262, "top_section": "The enriched `blob_available` fields", "top_section_share": 19, "ts": "2026-11-23"}
{"actions": ["baseline:pre-curation"], "budget": 10000, "bytes": 26546, "claims_dropped": null, "claims_warranted": null, "counts": null, "counts_acked": null, "delta_days": null, "delta_tokens": null, "docs_orphaned": 2, "docs_total": 24, "docs_unindexed": 17, "file": "docs/TESTING.md", "lines": 293, "links_dead": 0, "links_dead_anchors": 0, "no_loss": null, "no_loss_warrants": null, "note": null, "over_budget": true, "repo": "replicator", "repo_commit": "812d0e5", "seams": null, "seams_acked": null, "skill_commit": "817963f6", "skill_version": "1.31", "tokens": 10025, "tokens_exact": true, "tokens_live": 184262, "top_section": "Testing the write path", "top_section_share": 38, "ts": "2026-11-23"}
{"actions": ["baseline:pre-curation"], "budget": 10000, "bytes": 25254, "claims_dropped": null, "claims_warranted": null, "counts": null, "counts_acked": null, "delta_days": null, "delta_tokens": null, "docs_orphaned": 2, "docs_total": 24, "docs_unindexed": 14, "file": "docs/INFRASTRUCTURE.md", "lines": 298, "links_dead": 0, "links_dead_anchors": 0, "no_loss": null, "no_loss_warrants": null, "note": null, "over_budget": true, "repo": "replicator", "repo_commit": "812d0e5", "seams": null, "seams_acked": null, "skill_commit": "817963f6", "skill_version": "1.31", "tokens": 10011, "tokens_exact": true, "tokens_live": 184262, "top_section": "The temp-blob buckets — live since 2026-08-20 (#7)", "top_section_share": 24, "ts": "2026-11-23"}
{"actions": ["tighten:Testing the bus"], "budget": 10000, "bytes": 26400, "claims_dropped": 0, "claims_warranted": 0, "counts": 20, "counts_acked": 0, "delta_days": 0, "delta_tokens": -41, "docs_orphaned": 2, "docs_total": 24, "docs_unindexed": 17, "file": "docs/TESTING.md", "lines": 293, "links_dead": 0, "links_dead_anchors": 0, "no_loss": "ok", "no_loss_warrants": 2, "note": null, "over_budget": false, "repo": "replicator", "repo_commit": "803f11e", "seams": 0, "seams_acked": 46, "skill_commit": "817963f6", "skill_version": "1.31", "tokens": 9984, "tokens_exact": true, "tokens_live": 184043, "top_section": "Testing the write path", "top_section_share": 38, "ts": "2026-11-23"}
{"actions": ["tighten:The host's disk GC is the cohort's", "tighten:Grants the replicator user gained later"], "budget": 10000, "bytes": 25179, "claims_dropped": 0, "claims_warranted": 0, "counts": 8, "counts_acked": 0, "delta_days": 0, "delta_tokens": -30, "docs_orphaned": 2, "docs_total": 24, "docs_unindexed": 14, "file": "docs/INFRASTRUCTURE.md", "lines": 298, "links_dead": 0, "links_dead_anchors": 0, "no_loss": "ok", "no_loss_warrants": 4, "note": null, "over_budget": false, "repo": "replicator", "repo_commit": "803f11e", "seams": 0, "seams_acked": 46, "skill_commit": "817963f6", "skill_version": "1.31", "tokens": 9981, "tokens_exact": true, "tokens_live": 184043, "top_section": "The temp-blob buckets — live since 2026-08-20 (#7)", "top_section_share": 24, "ts": "2026-11-23"}
{"actions": ["tighten:How the blob TTL clock runs"], "budget": 10000, "bytes": 26309, "claims_dropped": 0, "claims_warranted": 0, "counts": 19, "counts_acked": 0, "delta_days": 0, "delta_tokens": -121, "docs_orphaned": 2, "docs_total": 24, "docs_unindexed": 19, "file": "docs/contracts/content-fetch-outcome-reference.md", "lines": 366, "links_dead": 0, "links_dead_anchors": 0, "no_loss": "ok", "no_loss_warrants": 11, "note": null, "over_budget": false, "repo": "replicator", "repo_commit": "da647ea", "seams": 0, "seams_acked": 46, "skill_commit": "817963f6", "skill_version": "1.31", "tokens": 9951, "tokens_exact": true, "tokens_live": 184139, "top_section": "The enriched `blob_available` fields", "top_section_share": 20, "ts": "2026-11-23"}
{"actions": ["demote:Dependabot proposes the action and Python bumps", "rename:provenance-heading"], "budget": 10000, "bytes": 23323, "claims_dropped": 0, "claims_warranted": 2, "counts": 16, "counts_acked": 0, "delta_days": 0, "delta_tokens": -1027, "docs_orphaned": 2, "docs_total": 24, "docs_unindexed": 13, "file": "docs/DEPLOYMENT.md", "lines": 305, "links_dead": 0, "links_dead_anchors": 0, "no_loss": "ok", "no_loss_warrants": 3, "note": null, "over_budget": false, "repo": "replicator", "repo_commit": "da647ea", "seams": 0, "seams_acked": 46, "skill_commit": "817963f6", "skill_version": "1.31", "tokens": 9195, "tokens_exact": true, "tokens_live": 184139, "top_section": "Server Lifecycle", "top_section_share": 46, "ts": "2026-11-23"}
16 changes: 14 additions & 2 deletions .skills/context-seams-ok
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,19 @@ tests/test_socraticode_pin.py :: worker runs beside every session (docs/COMMANDS
#
# #162: three standing provenance headings, added after #146's sweep by #76, #148
# and #138. Renaming one moves its anchor, which this curation has no reason to
# do. Rename each with its doc's next substantive edit.
docs/DEPLOYMENT.md :: Dependabot proposes the action bumps (#76)
# do. Rename each with its doc's next substantive edit. (#76's went with #216's
# move of the Dependabot section into docs/DEPENDENCIES.md.)
docs/INFRASTRUCTURE.md :: The host's disk GC is the cohort's (#148)
docs/TESTING.md :: Testing the browser (#138)
#
# #216 curation: provenance headings the interval sweep reached because their docs
# were edited. Each anchor is linked from elsewhere (the moved Dependabot section
# links #main-takes-pull-requests-208 itself), so renaming is its own change.
docs/DEPLOYMENT.md :: Releases (#151)
docs/DEPLOYMENT.md :: `main` takes pull requests (#208)
docs/DEPLOYMENT.md :: The service user (#202)
docs/DEPLOYMENT.md :: The release check — only a release builds a writer (#52, #151)
docs/INFRASTRUCTURE.md :: The captures bucket (#189)
docs/contracts/content-fetch-issuer-reference.md :: `render`: the browser mode (#63)
# DEPENDENCIES.md's scope line names AGENTS.md for the co-core rule, which stays there.
docs/DEPENDENCIES.md :: `AGENTS.md` keeps the co-core rule
2 changes: 1 addition & 1 deletion .skills/doc-sections
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ docs/ARCHITECTURE.md: Project Layout, one line per module (src/, scripts/)
docs/ENVIRONMENT.md: every REPLICATOR_* variable, its default and the reasoning behind it (src/core/config.py)
docs/COMMANDS.md: every script with its flags (scripts/) — README.md's Setup, Seeding a fetch and Deploy blocks repeat some of them
docs/TESTING.md: what the test and gcs jobs run and why; a checkout change also reaches docs/SKILLS.md's Submodules in CI (.github/workflows/)
docs/DEPLOYMENT.md: the Dependabot section — which ecosystems it proposes, what it excludes, how a bot PR lands (.github/dependabot.yml)
docs/DEPENDENCIES.md: the Dependabot section — which ecosystems it proposes, what it excludes, how a bot PR lands (.github/dependabot.yml)
docs/contracts/: normative and linked from sibling repos, so drift here is cross-repo — change a charter and tests/test_boundaries.py together, file a changed issuer obligation in each issuer's repo, and check README.md's two Issuing paragraphs, which summarize the obligations
docs/SKILLS.md: the skill and vendor inventory, hook registration and suspension, and The doc-check lists section (skills/, .claude/, .gitmodules, doc-sensitive-paths, doc-sections)
AGENTS.md: Code Exploration Notes — run codebase_update in the same change as a manifest description edit; NOT codebase_context_index, which re-embeds every artifact (.socraticodecontextartifacts.json)
Expand Down
4 changes: 2 additions & 2 deletions .skills/doc-sensitive-paths
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ deploy/
# CI gates, including the charter enforcement in tests/test_boundaries.py.
.github/workflows/

# Which ecosystems Dependabot proposes, and what it excludes (docs/DEPLOYMENT.md,
# "Dependabot proposes the action bumps"). Enabling uv edits only this file (#76).
# Which ecosystems Dependabot proposes, and what it excludes (docs/DEPENDENCIES.md,
# "Dependabot proposes the action and Python bumps"; moved from DEPLOYMENT.md, #216).
.github/dependabot.yml

# Normative contracts — linked from sibling repos, so drift here is cross-repo.
Expand Down
4 changes: 3 additions & 1 deletion docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ src/worker/ — Bus consumer; the primary process
src/worker/main.py — Entry point: client lifetime, consumer group, signals, backend selection
src/worker/loop.py — The consume path: poll → dispatch → ack, DLQ, dedupe, recovery; one loop per command stream, parameterized by CommandSpec
src/worker/handler.py — The byte path behind the Handler seam: fetch → fingerprint → store → publish
src/worker/egress.py — The destination guard: a transport refusing loopback, private, tailnet and IANA special-purpose addresses per redirect hop (#95, #161); an answer it cannot check retries, never passes (#100). Beside it, the body ceiling: every hop's body counted on the wire and not read past `REPLICATOR_MAX_BLOB_BYTES` (#104)
src/worker/headers.py — The request-header rules: names, values, the refused set, the count and byte bounds; shared by the handler's `headers` guards and the fetch credential table (#11, #216)
src/worker/egress.py — The destination guard: a transport refusing loopback, private, tailnet and IANA special-purpose addresses per redirect hop (#95, #161); an answer it cannot check retries, never passes (#100). Beside it, the body ceiling: every hop's body counted on the wire and not read past `REPLICATOR_MAX_BLOB_BYTES` (#104). Outside both, the command scope (#216): every hop reads its command's scope from a `ContextVar` the handler sets, carries that command's cookies only, and carries a fetch credential only when `https`, port 443 and the host are in every binding's scope — otherwise `credential_refused`, never sent bare
src/worker/browser.py — The renderer behind the Renderer seam: one pinned headless Chromium per render, sandboxed, scrubbed env, one at a time; a screenshot (render) or the serialized document (load, #63); says what happened to the page, never the wire reason (#138)
src/worker/browser_fetch.py — BrowserFetcher, the Fetcher behind render="browser": load → a FetchResult describing the stored document, render errors in fetch's vocabulary (#63)
src/worker/browser_egress.py — The browser's egress guard: a per-render SOCKS5 listener vetting every connection a page opens with egress.py's DestinationGuard, dialling the address it checked (#138)
Expand All @@ -55,6 +56,7 @@ src/core/ — Shared domain logic, logging, config
src/core/errors.py — TransientError / PermanentError (what the loop catches) + the *Fetch/*Replicate leaves + FailureReason / ReplicateReason / PersistReason / CaptureReason
src/worker/replicate.py — The content.replicate handler: alias resolve, T3/T3a guards, refusals; upload or server-side copy
src/worker/aliases.py — The provisioned destination set, read once from env-referenced host config
src/worker/credentials.py — The fetch credential table: `fetch-<role>` → header, hosts and a `SecretStr` value read from a host file, once at boot (#216)
src/worker/replicate_reporter.py — replication_failed on content.artifacts
src/worker/persist.py — The content.persist handler: T3a, the digest check, the copy into the permanent store (#114)
src/worker/persist_reporter.py — blob_persisted / persist_failed on content.artifacts
Expand Down
Loading