Skip to content

docs(plan): add the Contrail/Thrust plan package - #61

Closed
aRustyDev wants to merge 3 commits into
mainfrom
docs/plane-on-cloudflare-spec
Closed

aRustyDev wants to merge 3 commits into
mainfrom
docs/plane-on-cloudflare-spec

Conversation

@aRustyDev

@aRustyDev aRustyDev commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds the plan for a Cloudflare-native, Rust equivalent of Plane (MVP "Contrail", v1 "Thrust") under .agents/plans/contrail/. Documents only: no application code, workflow or dependency changes. 90 files in two commits: the package, and a follow-up that points it at the Thrust PRs and the scripts branch.

It contains SPEC, FEATURES, ARCHITECTURE, the interview PROMPT with its round log, QUESTIONS, REVIEW-NOTES, TRACEABILITY, DEVIATIONS, 60 ADRs, research 0001 to 0010 and the nine spike plans with their results.

Where to start

SPEC.md, then ARCHITECTURE.md, adrs/README.md (the decision index), spikes/README.md (what has been proven and what has not), and research/0004-rust-on-workers-binding-matrix.md section 10 (the spike that ran on the real platform).

What the evidence says so far

  • Spike 0001, Rust on Workers: conditional pass. The shared contract suite passes 15/15 against a deployed Worker (Hyperdrive, KV, R2, Queues, Durable Objects, cron). One finding changes how the Rust code must talk to Hyperdrive: tokio-postgres' default prepare-then-execute flow fails through it, so every statement goes out as one typed pipeline.
  • The Postgres hosting decision (ADR-0094) is applied in the infrastructure repository and its restore drill is done.
  • Open questions are listed, with owners, in QUESTIONS.md (217 ids, no undefined references).

Things a reviewer should know

  • The scripts are not in this PR. This PR first carried them, and two checks failed: the required Copy Right Check (26 .py files without the Plane Software AGPL header; they were written for the plan, not for Plane) and gitleaks (two git tree SHAs in a generated record read as generic-api-key; false positives). They moved to branch chore/contrail-plan-scripts (one signed commit on main, no PR). Open decision: add the header, or exclude .agents/** from that check. The docs that cite the scripts say where they are (spikes/README.md).
  • The spike code is in aRustyDev/thrust: draft PRs #17 (spike 0001) and #18 (spike 0006, stacked on chore(deps): bump postcss from 8.5.10 to 8.5.18 #17).
  • A scan of the package for credentials found none. This repository is public, so a final commit replaces a Cloudflare account id, a tunnel id, an AWS account id, one 1Password item path and an operator email with placeholders (spikes/README.md, "Redactions"). The earlier commits on this branch still contain the original values; the redaction limits what the current content shows and does not unpublish them. Other resource ids and the woven-o11y and .woven names are kept.
  • The canonical copy of this plan is in aRustyDev/thrust, merged as #19 (the same package, redacted the same way). This PR is a mirror and is not kept in sync: its spike-PR links still say "draft" and the spike 0006 commit ids are the pre-rebase ones. Change the plan in aRustyDev/thrust.
  • .github/config/ (Serena tool config, untracked before this work) is deliberately not part of this PR.

Validation

A consistency check over the package: 217 unique question ids, none referenced but undefined; the ADR index matches the front matter (60 ADRs: 38 accepted, 20 proposed, 2 superseded). After the scripts moved out, Copy Right Check, gitleaks, dependency-review and the Socket checks pass.

Refs: plane-byd

🤖 Generated with Claude Code

The plan for a Cloudflare-native, Rust equivalent of Plane (MVP "Contrail", v1 "Thrust"):
SPEC, FEATURES, ARCHITECTURE, the interview PROMPT with its round log, QUESTIONS (217 ids),
REVIEW-NOTES, TRACEABILITY and DEVIATIONS, plus 60 ADRs, research 0001 to 0010 and the nine
spike plans with their results.

Evidence so far is recorded where it was measured: spike 0001 (Rust on Workers) ran on the
real platform and is a conditional pass (research/0004 section 10), the Postgres hosting
decision (ADR-0094) is applied and its restore drill done (research/0010), and the oracle,
compat-plane inventory, Plane quirks, topology and editor-conversion spikes have their
findings in research/0001 to 0009.

Documents only. No application code, workflow or dependency changes. The scripts these
documents cite are in the next commit. A scan for credentials found none: the only hits are
1Password item paths (references, not values) and AWS's published example key
AKIAIOSFODNN7EXAMPLE inside Plane's own OpenAPI example.

Refs: plane-byd
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The thrust spike branches are now pushed with draft PRs (aRustyDev/thrust#17 for spike
0001, #18 for spike 0006, stacked on #17), so research/0004 and research/0008 no longer say
"local only" or "staged but not committed", and the spike README links the PRs.

The scripts the documents cite are not in this PR: the repository's Copy Right Check requires
the Plane Software AGPL header on every tracked .py file, and gitleaks flags two git tree SHAs
in a generated record. They are on branch chore/contrail-plan-scripts; the README says so and
names the open decision (add the header, or exclude .agents/** from that check).

Documents only.

Refs: plane-byd
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev force-pushed the docs/plane-on-cloudflare-spec branch from f924bb6 to b9b2c3d Compare October 19, 2026 01:29
This repository is public. Replace a Cloudflare account id, the thrust tunnel id, an AWS account
id, one 1Password item path and an operator email with placeholders, and add a "Redactions" note
to spikes/README.md. Other resource ids (Hyperdrive configs, VPC services, queues, Access
policies, cert packs) and the woven-o11y and .woven names are kept; they are not credentials.

The earlier commits on this branch still contain the original values, and the branch was public
before this change, so this limits what the current content shows; it does not unpublish them.

Documents only.

Refs: plane-byd
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev

Copy link
Copy Markdown
Owner Author

Closing: the canonical copy of this plan is aRustyDev/thrust (merged as #19, updated in #20). This PR was a mirror and is not kept in sync, so changes belong there. This branch is left in place.

@aRustyDev aRustyDev closed this Oct 19, 2026
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