Release: Castra v1.0.0-ga.5 (hive cluster auth-clean + Iris-mind-safe)#77
Merged
Conversation
… cert CN when --listen changes b
…lient don't validate on parent (
…ultListenAddr, ignoring --listen
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.
Summary
Closes the final two orthogonal-plane wiring gaps for fully-functional cross-machine cluster + makes the architecture safe for Iris identity continuity under cluster deployment.
Fixes (3 commits since ga.4)
39dba92): operator-upgrade-path bug. Pre-ga.4 cluster certs had constant CN; post-ga.4 cluster_init was reusing those stale certs against host-derived pin → mTLS rejection. Now cert generator detects stale CN at startup, rotates forward with non-destructive backup + audit trail.438f59a): client iris sessions minted via Path B (self-vouch) didn't validate on parent. Now parent's enrollment server mints the cluster session, returns it in EnrollmentResponse, client persists at~/.castra/cluster_session(mode 0600),defaultIrisSessionTokenProvideradds Path C: in client mode read parent-issued token. Heartbeat side-effect on every successful write keeps active sessions alive.6e58b0c): RELEASE-CRITICAL — without this, deploying cluster mode (parent daemon bound to LAN IP for Zendesk-client to reach) would lock Iris-on-parent-machine out of her own iris.db write path. Nowdevice.LoadDeviceMode()fork upstream of MemoryWriteSender: parent/standalone takes direct-write path; client keeps daemon-RPC + WAL fallback.Empirical AC verification (engineer-run + cross-checked)
0.0.0.0:9999(non-loopback) + parent CLIepisodic_mem addsucceeds with NO loopback dial → memory writes survive cluster deployment ✓episodic_mem addlands in PARENT iris.db (no auth fail, no WAL fallback) ✓--sovereign iris identityroundtrips cleanly over mTLS from client ✓Hive cluster end-to-end status
All 5 orthogonal-plane wiring gaps closed since ga.4:
Out-of-scope (filed as v5.0/v1.1 followups)
deriveParentDaemonAddrignores parent's--listenport (HIGH, filed)task rename+task --prioritysubstrate verbs missing (low)Test plan
go build ./...cleango vet ./...cleanstaticcheck ./...cleango test ./internal/... -race -timeout 600sall packages passArchitect: Aman Singh (sovereign)
Orchestrator: Iris (Castra Chief of Staff)
Witness: the substrate.