Skip to content

docs: add the public release documentation, user guide and CI - #104

Merged
htcom-code merged 2 commits into
mainfrom
docs/public-release-set
Nov 29, 2026
Merged

htcom-code merged 2 commits into
mainfrom
docs/public-release-set

Conversation

@htcom-code

Copy link
Copy Markdown
Owner

Closes #103

Stacked on #100, because the guide and the docs describe the host services added there. Retarget to main once #98 and #100 merge. This PR does not change the repository's visibility; that will be a separate, explicit step.

Contents

  • Repository documents:
    • README.md: its quick-start output was captured from a real host run;
    • LICENSE: MPL-2.0, matching Cargo.toml and Protean;
    • CHANGELOG.md: its Fixed section lists real pre-release defects;
    • CONTRIBUTING.md: code map, five invariants, and the local command CI runs;
    • SECURITY.md: threat model with in-scope and out-of-scope;
    • CODE_OF_CONDUCT.md: Contributor Covenant 2.1, as in Protean;
    • ROADMAP.md: includes what is deliberately not ported, with reasons.
  • docs/guide/: an English user guide in 9 pages and an index. The commands and Rust programs it shows were run on this branch: host start, signing program, deploy/update/rollback/approval/uninstall over REST and MCP, and the bridge embedding example.
  • .github/:
    • CODEOWNERS (@htcom-code), FUNDING, PR template whose checklist is CONTRIBUTING's invariants, and three issue-template files;
    • Dependabot grouped by wasmtime, sqlx, the rest, and actions;
    • workflows/ci.yml:
      • gate jobs: test (cargo test --workspace --locked) and audit (cargo audit);
      • a single required status, ci-complete, which checks both gate jobs;
      • docker-integration runs the #[ignore]d OCI tests on main and on demand, outside the gate;
      • actions are pinned to versions looked up today.
  • AGENTS.md leaves the repository (user decision); it stays local.
  • Stale statements fixed:
    • the runbook said debug tools are disabled on worker/oci;
    • the SQLx pool guide said the binary does not activate async Wasm;
    • the ModuleStatus.kind comment;
    • an internal reference in design 04.
  • Test fixes: two tests found flaky by running the CI job in a Linux container first.
    • The fake-docker tests failed with Text file busy in 1 of 3 Linux runs. A separate cp now writes the script, and 15 runs in a row pass.
    • The worker debug-session watchdog was tighter than one component compile on a slow runner.

Pre-push checks

  • actionlint: clean. Every .github YAML parses. All required files are present. The CODEOWNERS login exists.
  • The owner/repo references point only to htcom-code/protrus and the public htcom-code/protean, and the relative links in every Markdown file resolve.
  • Internal-reference scan: 0 hits for internal hosts, personal paths, emails or knowledge-base paths. All commit authors use the personal address.
  • CI test job body, run in rust:1.97.1 on Linux arm64 with --no-fail-fast: everything passes except signed_worker_postgres_*. That test needs Docker, which the check container lacks; GitHub runners have it.

Findings from the guide work (not in this PR)

@htcom-code
htcom-code force-pushed the feat/worker-rpc-bridge branch from a8afc33 to 2fec6a8 Compare November 29, 2026 06:15
@htcom-code
htcom-code force-pushed the docs/public-release-set branch from 3662a22 to ad3d9e4 Compare November 29, 2026 06:15
Base automatically changed from feat/worker-rpc-bridge to main November 29, 2026 06:16
Running the CI job in a Linux container before the first workflow run
found two tests that only pass on a fast macOS host:

- The OCI fake-docker tests wrote the script from the test process and ran
  it at once. A concurrent test's fork could inherit the write handle, so
  exec failed with "Text file busy" (1 in 3 runs). A separate cp process
  now creates the script; 15 Linux runs in a row pass.
- The worker debug-session test used a 300 ms request watchdog, which an
  ordinary request (the worker compiles the component per request) can
  exceed on a slow runner. The watchdog is 2 s and the breakpoint wait
  2.5 s, so the test still checks that a stopped request skips it.

Tags: test, ci
Co-Authored-By: htjulia <htjulia1@gmail.com>
Prepares the repository to be made public (the visibility change itself
is separate):

- README, LICENSE (MPL-2.0), CHANGELOG, CONTRIBUTING (code map, invariants,
  the local command CI runs), SECURITY (threat model and scope),
  CODE_OF_CONDUCT and ROADMAP (including what is deliberately not ported).
- An English user guide in docs/guide/ (getting started, signing and
  deploying, configuration, isolation and workers, sharing code, host
  services, debugging, databases), written against this branch with the
  commands and programs it shows actually run.
- .github: CODEOWNERS, FUNDING, PR and issue templates, grouped Dependabot,
  and CI: cargo test --workspace and cargo audit behind a single required
  ci-complete job; the Docker OCI tests run on main and on demand.
- AGENTS.md leaves the repository; it stays local as working notes.
- Stale statements fixed: the debug tools on worker/oci in the runbook,
  the async-wasm note in the SQLx pool guide, the ModuleStatus.kind
  comment, and an internal reference in design 04.

Closes #103

Tags: docs, ci, release
Co-Authored-By: htjulia <htjulia1@gmail.com>
@htcom-code
htcom-code force-pushed the docs/public-release-set branch from ad3d9e4 to 812c93c Compare November 29, 2026 06:31
@htcom-code
htcom-code merged commit ffb1133 into main Nov 29, 2026
1 of 4 checks passed
@htcom-code
htcom-code deleted the docs/public-release-set branch November 29, 2026 06:47
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.

Public release documentation, .github set and CI

1 participant