Skip to content

docs: keep platform specifics out of the generic core - #314

Open
morgan-wowk wants to merge 1 commit into
vanished-pods-and-failed-launchesfrom
docs-agent-platform-agnostic-rule
Open

docs: keep platform specifics out of the generic core#314
morgan-wowk wants to merge 1 commit into
vanished-pods-and-failed-launchesfrom
docs-agent-platform-agnostic-rule

Conversation

@morgan-wowk

@morgan-wowk morgan-wowk commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

What

Adds a repo-root CLAUDE.md documenting the architectural rule this stack is built around: the generic core stays platform-agnostic.

  • The orchestrator (orchestrator_sql.py) and the launcher interface (launchers/interfaces.py) must not inspect HTTP status codes, Kubernetes exceptions, or any other backend detail.
  • Platform-specific classification lives in the concrete launcher (e.g. kubernetes_launchers.py), which translates backend failures into typed, platform-neutral LauncherErrors.
  • The orchestrator acts only on the typed result (isinstance(...), err.is_retriable).

Why

The rest of this stack (#312, #313) moved HTTP/Kubernetes classification out of the orchestrator and into the launcher. This file captures that boundary so future changes — by humans or coding agents — don't reintroduce platform specifics into the generic core.

Impact

Docs only. No code or runtime behaviour changes.

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@morgan-wowk morgan-wowk changed the title docs: tell agents to keep platform specifics out of the generic core docs: keep platform specifics out of the generic core Aug 6, 2026
@morgan-wowk
morgan-wowk marked this pull request as ready for review August 6, 2026 22:49
@morgan-wowk
morgan-wowk requested a review from Ark-kun as a code owner August 6, 2026 22:49
Add a repo-root CLAUDE.md with the rule the orchestrator and launcher interface
are built on: the generic core stays platform-agnostic; platform-specific
classification lives in the concrete launcher and reaches the orchestrator as a
typed LauncherError.

Co-authored-by: Morgan Wowk <morgan.wowk@shopify.com>
@morgan-wowk
morgan-wowk force-pushed the vanished-pods-and-failed-launches branch from eaf6fec to 90206b6 Compare August 6, 2026 23:21
@morgan-wowk
morgan-wowk force-pushed the docs-agent-platform-agnostic-rule branch from cda1bdd to 2e36f80 Compare August 6, 2026 23:21
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