Skip to content

docs(rfc): evolve the artifact processing supervisor - #1515

Merged
Teingi merged 2 commits into
oceanbase:masterfrom
frf12:codex/artifact-processing-supervisor-rfc
Sep 9, 2026
Merged

Teingi merged 2 commits into
oceanbase:masterfrom
frf12:codex/artifact-processing-supervisor-rfc

Conversation

@frf12

@frf12 frf12 commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

Which issue or RFC does this PR close?

Amends Topic Memory RFC 1417 and builds on the implementation delivered by #1490.

Builds on #1512 (merged), which assigned Topic Memory its RFC number and delivered the Topic Memory follow-up fixes.

Rationale for this change

Topic Memory introduced ArtifactProcessingSupervisor as reusable background-processing infrastructure. This RFC evolves that design for multiple Artifact Families while keeping the Supervisor responsible only for scheduling. It preserves the existing binding identity, single-flight, Worker, retry, Lease, and fencing foundations, then adds per-artifact scheduling and capacity isolation.

What changes are included in this PR?

  • Define global as one Supervisor with one Lease and dedicated as one Supervisor and one Lease per registered Artifact Family.
  • Keep (binding_name, scope_id) as the stable dispatch, persistence, and single-flight identity.
  • Add per-artifact interval or cron policy, Worker budget, and Scope-invocation timeout.
  • Move Source selection, Cursor advancement, generation, Review, and publication semantics behind each artifact processor.
  • Replace cross-Scope automatic-wave completion barriers with bounded artifact-type admission and Scope discovery.
  • Specify durable scheduling intent separately from artifact-owned business progress.
  • Define compatibility and staged migration for the shipped Topic Memory Supervisor and the existing Memory, Experience, and Profile schedulers.
  • Add equivalent English and Chinese RFC documents.

Are there any user-facing changes?

This is a design-only RFC. It does not change current runtime behavior, public APIs, or persisted formats. The RFC proposes future configuration and persistence changes that require separate implementation and migration work.

How was this change tested?

  • UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple UV_HTTP_TIMEOUT=120 make docs-test
  • Repository commit hooks, formatting checks, link validation, type checking, and static export verification passed.
  • The documentation build generated and verified 665 public pages, including 66 RFC pages.

AI usage statement

OpenAI Codex using GPT-6 was used to inspect the existing RFC and implementation, compare preserved and revised contracts, draft the English and Chinese documents, and run repository validation. The design decisions were reviewed interactively with the author.

@frf12
frf12 force-pushed the codex/artifact-processing-supervisor-rfc branch from e2e4248 to 9af6adf Compare September 9, 2026 09:33
@frf12
frf12 force-pushed the codex/artifact-processing-supervisor-rfc branch from 9af6adf to 5abfd83 Compare September 9, 2026 09:39
@Teingi
Teingi merged commit 76a9707 into oceanbase:master Sep 9, 2026
16 checks passed
@frf12
frf12 deleted the codex/artifact-processing-supervisor-rfc branch October 19, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant