Skip to content

Release 0.3.4#1046

Merged
Wirasm merged 14 commits intomainfrom
dev
Apr 10, 2026
Merged

Release 0.3.4#1046
Wirasm merged 14 commits intomainfrom
dev

Conversation

@Wirasm
Copy link
Copy Markdown
Collaborator

@Wirasm Wirasm commented Apr 10, 2026

Release 0.3.4

Binary env loading fix and release infrastructure improvements.

Added

Changed

  • Server env loading for binary support: removed redundant CWD .env stripping — SUBPROCESS_ENV_ALLOWLIST and the env-leak gate already prevent target repo credentials from reaching AI subprocesses. Server now loads ~/.archon/.env with override: true for all keys (not just DATABASE_URL), skips the import.meta.dir .env path in binary mode, and defaults CLAUDE_USE_GLOBAL_AUTH=true when no explicit credentials are set (fix: remove CWD env stripping, load ~/.archon/.env with override for binary support #1045)
  • Workspace version sync: all packages/*/package.json versions now sync from the root package.json during releases via scripts/sync-versions.sh

Fixed

  • archon serve crash in compiled binaries: the CWD env stripping + baked import.meta.dir path caused all credentials to be lost, triggering no_ai_credentials exit on every startup
  • CLI version command reading stale version: dev mode now reads from the monorepo root package.json instead of the CLI package's own version field
  • Release CI web build: fixed bun --filter syntax and added missing remark-gfm transitive dependencies for Bun hoisting

Merging this PR releases 0.3.4 to main.

Wirasm and others added 14 commits April 10, 2026 15:13
* feat(docs): add logo, dark theme, feature cards to docs site (#1018)

The docs site lacked brand identity — no logo, default light theme,
and plain bullet lists for features. Add the existing shield logo to
the header and hero, default to dark theme via localStorage script,
replace the "What is Archon?" bullets with Starlight CardGrid
components, and extend custom CSS with dark theme colors, tighter
hero spacing, and sidebar active-link gradient.

Changes:
- astro.config.mjs: add logo config + dark theme head script
- index.md → index.mdx: add hero image, import CardGrid/Card components
- custom.css: dark theme vars, hero padding, sidebar highlight

Fixes #1018

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(docs): address review findings for PR #1022

- Add missing "Portable" feature card to CardGrid (restores multi-platform
  support callout dropped in original conversion from bullet list)
- Fix icon="random" on "Isolated" card — use "laptop" instead (shuffle icon
  does not communicate worktree isolation)
- Reassign icons: Portable gets "puzzle", Composable gets "setting"
- Add comment explaining !important in .hero is needed to override Starlight
  inline styles
- Add comment noting .sidebar-content is an internal Starlight class (not
  public API) that should be re-tested after Starlight upgrades

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…binary support

The CWD .env stripping was redundant — SUBPROCESS_ENV_ALLOWLIST already
blocks target repo credentials from reaching AI subprocesses, and the
env-leak gate scans target repos before spawning.

The stripping also broke compiled binaries: it nuked all env vars, then
tried to reload from a baked CI path that doesn't exist on user machines.

Changes:
- Remove CWD .env stripping from both server and CLI
- Server loads ~/.archon/.env with override: true (all keys, not just DATABASE_URL)
- Skip import.meta.dir .env loading in binary mode (path is frozen at build time)
- Add CLAUDE_USE_GLOBAL_AUTH defaulting to server (same as CLI)
- Fix envFile reference in no_ai_credentials error to show useful path
fix: remove CWD env stripping, load ~/.archon/.env with override for binary support
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 10, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ea1ed824-8654-475e-ba78-f19331be32e1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Wirasm Wirasm merged commit 46cf2b1 into main Apr 10, 2026
4 checks passed
Tyone88 pushed a commit to Tyone88/Archon that referenced this pull request Apr 16, 2026
joaobmonteiro pushed a commit to joaobmonteiro/Archon that referenced this pull request Apr 26, 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.

2 participants