feat: release Codencer public self-host v0.3.0 - #3
Conversation
Add the operator-facing codencer CLI with local home management, project registry, doctor/status/config/path commands, project-aware execution, live/readiness/report surfaces, setup helpers, acceptance reporting, proof bundles, and release snapshot packaging. Add daemon-first local execution through localexec, manifest/profile support, fake adapters, validation artifact capture, project-aware Relay/MCP routes and tools, connector project advertisements, runtime supervisor/watchdog/recovery commands, and guarded live matrix/readiness aggregation. Add safe install, uninstall, and upgrade scripts; build metadata injection; security redaction and path sanitization for Relay/MCP payloads; local/self-host/runtime/live/release docs; acceptance gates; deterministic verification targets; and partial-honest dist artifacts for v0.3.0-local-prod-rc.1. Verification: go test ./...; make build-codencer; make verify-local-execution; make verify-local-relay-mcp; make verify-runtime-recovery; make verify-live-matrix; make acceptance-local-production; make verify-release; make verify-local-prod; make release-snapshot VERSION=v0.3.0-local-prod-rc.1.
Remove generated v0.3.0 local production release archives from the repository tip while keeping the release manifest and checksums. Ignore future dist archives, release work directories, and broker packaging output so generated artifacts stay out of normal source commits.
Align default build metadata with v0.3.0-local-prod-rc.1 and make release snapshots enforce explicit target policy with required darwin/arm64, darwin/amd64, and linux/amd64 targets. Add Docker-backed Linux release builds, full bundle contents, artifact/checksum validation, generated-dist ignores, and fail-fast behavior for missing required targets unless ALLOW_PARTIAL=1 is explicitly set. Fix acceptance false-pass behavior by splitting watchdog/recovery command gates from health/safety gates and adding release_artifacts_present validation. Make install and upgrade scripts truthful about missing required binaries, including dry-run mode, with --allow-missing as an explicit partial-report path. Add MCP initialize instructions, update release/docs/acceptance guidance, and add tests for release policy, script truthfulness, acceptance gates, and MCP instructions. Verification: go test ./...; make build-codencer; make verify-local-execution; make verify-local-relay-mcp; make verify-runtime-recovery; make verify-live-matrix; make acceptance-local-production; make verify-release; make verify-local-prod; script missing-binary checks; release snapshots with and without ALLOW_PARTIAL=1.
Add codencer activation check/package/chatgpt/codex/claude-code commands backed by internal activation business logic, package rendering, MCP initialize/tools checks, token redaction, and client-specific setup guidance. Add relay ChatGPT OAuth dev mode with authorization-server metadata, OpenID metadata, PKCE authorization code exchange, opaque in-memory access tokens, dev-noauth guardrails, setup relay flags, and the read-only codencer.get_blocker MCP alias. Update Make targets, acceptance metadata, MCP integration examples, quickstarts, and activation docs for VPS relay, local connector, ChatGPT, Codex, and Claude Code activation. Verified with go test ./..., build/relay/runtime/live/acceptance/release/local-prod targets, and activation preflight.
Add the codencer connector facade for enrollment, status, config inspection, and run delegation over the existing connector package, while persisting codencer_home and connector_config_path through the user-level local config. Expand activation package generation with connector-enrollment.sh, real MCP initialize/tools/call curl smoke, ChatGPT setup sheet fields, and safer product-proof language. Fix Claude Code MCP command ordering, add coverage for command order and package contents, and update operator docs, acceptance gates, the MCP gateway model, and the codencer.dev site update pack. Verification run before commit: go test ./...; make build-codencer; make verify-local-execution; make verify-local-relay-mcp; make verify-runtime-recovery; make verify-live-matrix; make acceptance-local-production; make verify-release; make verify-local-prod; make activation-preflight.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6cd7f4f388
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| run := &domain.Run{ID: opts.RunID, ProjectID: resolved.project.ID} | ||
| if strings.TrimSpace(opts.RunID) == "" { | ||
| run, err = resolved.client.StartRun(ctx, resolved.project.ID) |
There was a problem hiding this comment.
Verify supplied run IDs before submitting
When --run is provided, this path fabricates a local domain.Run and skips any daemon lookup or creation for that ID. If the operator or a relay request supplies a typo/nonexistent run id, the subsequent step submission can proceed against an ID that codencer run get cannot retrieve, leaving orphaned steps/reports instead of failing fast or creating the run explicitly.
Useful? React with 👍 / 👎.
No description provided.