Repository navigation
release: PGX v0.1.2 — automatic subagent isolation - #36
Merged
Merged
Conversation
Version 0.1.2 for the pgx crate (and its Cargo.lock entry), the npm wrapper (pgxdb), the Claude Code plugin manifest and the Skill metadata. The Skill now requires PGX 0.1.2: scripts/check-pgx.sh refuses 0.1.1 with a hint that it isolates sessions only (subagents would share the parent's branch) and anything older with "no pgx agent"; PGX_MIN_VERSION still overrides. Tests cover 0.1.0, 0.1.1, 0.1.2, newer, CI builds, malformed output and the override. SKILL.md, installation.md, README, agents.md and the plugin docs say what 0.1.1 and 0.1.2 each deliver. dist/release-notes.md gains the v0.1.2 section: the feature, the verified results from the live run (3 and 20 real Claude Code subagents, 20/20 branches, zero contamination, 37 s, 92 MB peak RSS, template unchanged, killed-agent transaction aborted within the 5 s guard, storage reclaimed), the provisioning figures explained as 20-way-concurrent hook time rather than clone latency, and the known limitations (permissions on rewritten commands, no broad allow rules, TaskStop without SubagentStop, bounded cancellation, Cursor/Codex subagents not live-verified). plugins/sync.sh --check clean. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release PGX v0.1.2
Ships PR #35 (
938f7fa89f): every Claude Code subagent automatically gets its own Postgres branch. No feature code changes in this PR.Version changes
crates/bin/pgx/Cargo.tomland thepgxentry inCargo.lock: 0.1.1 → 0.1.2 (cargo build --lockedverified; dependency crates that happen to be at 0.1.1 are untouched).dist/npm/package.json(pgxdb),plugins/pgx/.claude-plugin/plugin.json, Skillmetadata.version: 0.1.2.plugins/sync.sh --checkclean.Version compatibility
scripts/check-pgx.shrefuses 0.1.1 (exit 2, hint: "isolates sessions only: Claude Code subagents would share the parent's branch; upgrade…") and older (hint: "has no pgx agent");PGX_MIN_VERSIONstill overrides. The Skill therefore never promises subagent isolation with a 0.1.1 binary and fails closed instead.skills/tests/pgx/check-pgx.test.shcovers missing, 0.1.0, 0.1.1, 0.1.2, 0.2.0, CI builds, malformed/empty output and the override;skills/tests/pgx/run.shasserts SKILL.md gates on 0.1.2.references/installation.md, README,docs/pgx/local-dev/agents.mdand the plugin docs state what 0.1.1 (sessions) and 0.1.2 (subagents) each deliver. ManualpgxCLI workflows are unchanged.Release notes
dist/release-notes.mdgains the PGX v0.1.2 — Every AI Subagent Gets Its Own Postgres section with the verified live results (20/20 branches, zero contamination, 37 s, 92 MB peak RSS, template unchanged, killed-agent transaction aborted within the 5 s guard, storage reclaimed), the provisioning figures (p50 1,231 ms / p95 1,371 ms) explained as 20-way-concurrent hook time rather than clone latency, and the known limitations.Test results (this branch, release build)
cargo fmt --checkclean,cargo clippy --all-targets -- -D warningscleanplugins,.claude-plugin,skills: no leaksKnown limitations (also in the release notes)
Bash(pgx agent exec:*)allow rules on an agent's say-so.TaskStopdoes not always produceSubagentStop; the idle TTL and the server-side guards cover it.After merge
Tag
v0.1.2on the merge commit →release.ymlbuilds linux-amd64, linux-arm64, darwin-arm64 with checksums and a draft release → publishing the draft (human gate) triggersnpm-publish.yml(staged, second human gate).🤖 Generated with Claude Code