Skip to content

chore(oss): close the OSS-readiness audit — green CI, security docs, no personal data - #98

Merged
Pher217 merged 2 commits into
mainfrom
claude/2026-07-04-oss-readiness
Jul 4, 2026
Merged

chore(oss): close the OSS-readiness audit — green CI, security docs, no personal data#98
Pher217 merged 2 commits into
mainfrom
claude/2026-07-04-oss-readiness

Conversation

@Pher217

@Pher217 Pher217 commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Goal

Close every gap from the 2026-07-04 OSS-readiness audit so the repo can go public. Built per operator routing: kimi-k2.7 (CI jobs, env docs, doc corrections ×2 waves), glm-5.2 (repo CLAUDE.md draft), Sonnet (test fixes, plist templating, README/CHANGELOG, security-doc drafts), lead (SECURITY.md trust model, gateway trust-boundary wording, reviews), Codex 5.5 (independent review — 6 findings, all addressed).

Changes

CI — phantom frontend job removed (nonexistent directory); blocking orc-mcp (pytest) and messaging-gateway (vitest) jobs added, both pre-flighted green (34 + 44). Workflow re-enabled on GitHub (was disabled_manually since May).
Tests — suites fully green for the first time: the 2 chronic host-agent drain failures fixed (stale fakes vs the pty_reconcile handshake) and 2 test_delivery isolation leaks fixed (TELEGRAM_FORUM_CHAT_ID fallback). backend 542, host-agent 262, orc-mcp 34, gateway 44 — 0 failures.
Privacy — launchd plists → .plist.template with @ORC_REPO@/@ORC_LOGS@; install.sh renders them and now fails helpfully on a fresh checkout without orc-stack.env. No personal paths remain in tracked files.
Security docs — SECURITY.md gains an explicit trusted-host trust model for the bypassPermissions default; docs/security/threat-model.md + security-checklist.md created (were dead links, grounded in the actual enrollment/allowlist code); the messaging-gateway surface documented as bearer-token-gated (not allowlist-gated) with an open review item.
Docs — README status/diagram/how-it-works rewritten to the shipped write+stream reality (PRs #90#97 linked); CHANGELOG updated + Matrix contradiction resolved; orc-stack.env.example documents all three ORC_HEADLESS_ENGINE modes and recommends interactive; repo-level CLAUDE.md added.

Secrets audit (separate pass, lead-only)

gitleaks over all 163 commits: no leaks; targeted history greps: only a 1234567890:AAAA… docs placeholder. .env/orc-stack.env never tracked.

Review

Codex 5.5 reviewed the full diff: 6 findings (gateway trust boundary, fresh-install crash, 4 stale-claim clusters) — all fixed in the second commit.

After merge

Repo is publishable. Remaining judgment call is yours: flip visibility when ready. Optional follow-ups tracked in the vault: gateway-surface security review, stale OBSERVED/OPENCLAW/HERMES enum values, engine idle-timeout.

Pher217 added 2 commits July 4, 2026 15:58
Audit (2026-07-04) found the repo functionally sound but not yet
publishable. This closes the top-10 list:

- CI: drop the phantom frontend job (nonexistent directory hard-failed
  the workflow); add blocking orc-mcp (pytest) and messaging-gateway
  (vitest) jobs — both pre-flighted green. Workflow re-enabled on GitHub.
- Tests: fix the two chronic host-agent drain tests (fakes predated the
  connect-time pty_reconcile handshake) and the two test_delivery
  isolation leaks (TELEGRAM_FORUM_CHAT_ID fallback) — both suites now
  fully green: backend 542, host-agent 262.
- Privacy: launchd plists become .plist.template with @ORC_REPO@ /
  @ORC_LOGS@ placeholders; install.sh renders them — no personal paths
  remain in tracked files.
- Docs: README status/diagram/how-it-works and CHANGELOG rewritten to
  the shipped write+stream reality (PRs #90-#97 linked; Matrix
  contradiction resolved); docs/security/threat-model.md and
  security-checklist.md created (were dead links); SECURITY.md gains an
  explicit trusted-host trust model for the bypassPermissions default;
  orc-stack.env.example documents all three ORC_HEADLESS_ENGINE modes
  and recommends interactive; repo-level CLAUDE.md added.

Suites: backend 542 passed, host-agent 262 passed, orc-mcp 34 passed,
messaging-gateway 44 passed. Ruff clean.
…stall guard, stale claims

- SECURITY.md + threat-model: the messaging-gateway surface is gated by
  the sidecar bearer token, NOT the Telegram allowlist — documented as
  an explicit open review item with operator guidance (treat the token
  as root-equivalent, keep gateway platforms off unless needed).
- install.sh: fail with copy-the-example guidance when orc-stack.env is
  missing instead of crashing on a fresh checkout.
- orc-stack README: engine default is interactive, sdk adds the
  per-tool gate (was stale).
- README: drop the removed runtime-registry claim; Django 5.1→5.2;
  headscale marked optional deploy path, vault/ntfy/whisper marked
  planned not shipped.
- CONTRIBUTING: point contributors at drive engines + chat surfaces
  (not the removed adapters); CI claims match reality (vitest only).
@Pher217 Pher217 self-assigned this Jul 4, 2026
@Pher217
Pher217 merged commit 5daacd5 into main Jul 4, 2026
5 of 9 checks passed
@Pher217
Pher217 deleted the claude/2026-07-04-oss-readiness branch July 4, 2026 14:09
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