Repository navigation
Phase B: blueprint compiler, colleague lifecycle, and self-growth asset loop - #3
Merged
Merged
Conversation
Compile openxyos.agent-blueprint.v1 into a tenant-scoped FreeOS workspace, persist draft→offboard transitions with real credential revoke and memory archive, and close a bidirectional asset factory so FreeOS-produced skills/plugins/MCPs/agents can assemble into openXYOS drafts and control-plane catalogs/blueprints/policies can spawn more runtime assets. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
cursor
Bot
force-pushed
the
cursor/phase-b-asset-loop-767d
branch
from
September 15, 2026 01:02
613f071 to
c3370ad
Compare
Outbound packs now emit openXYOS employee/talent drafts and redact packed .env secrets. Inbound --policies/--from-sidecar writes a matrix the governance engine actually evaluates (allow still needs a human). Co-authored-by: XYAI Labs <haoboy8@gmail.com>
This was referenced Sep 15, 2026
Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Narrow blueprint ima/governance dicts and type the openXYOS status map so mapping lookups are not treated as object. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
XYAIStudio
marked this pull request as ready for review
September 15, 2026 03:11
XYAIStudio
changed the base branch from
cursor/phase-a-governance-bridge-767d
to
main
September 15, 2026 03:11
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
North star: FreeOS is an internally self-growing multi-agent management system. The data plane produces AI employees, skills, plugins, and MCPs; those assets assemble into openXYOS; control-plane blueprints/catalog/policies feed back to spawn more runtime colleagues.
Stacked on Phase A (governance gate + module↔skill bridge). Phase C (chat routing, reflections, org-as-code) stays documentation-only.
Direction 1 —
xyos2freeosCompile
openxyos.agent-blueprint.v1→ tenant-scoped workspace (SOUL.md, skills,knowledge/, MEMORY seed,.env,cron.jsonfromjob_duties). Reverse path:export-profilewrites an openXYOS HR digest (OpenXyosHrClient; HTTP best-effort, local draft is the record).Direction 4 — lifecycle
draft → market → recruit → shadow → active → offboardpersisted under{FREEOS_HOME}/tenants/<id>/employees/. Shadow is read-only; offboard revokes.envvalues and archives MEMORY into org-knowledge. Mapped to openXYOS talent/employee statuses.Bidirectional asset factory
freeos org assets publish→freeos.asset-pack.v1(skills, plugin drafts, governance MCP, agents,openxyos/org-employees.publish.json,org-talent.publish.json). Packed.envsecrets are redacted. Never auto-enabled.freeos org assets import --catalog|--blueprint|--policies|--from-sidecar{FREEOS_HOME}/governance/imported-policies.jsonand the engine loads them. Explicit deny blocks; explicit allow still requires a durable human approval. Unmatched high-risk actions still default-deny.CI
Superseded Phase B heads failed
make typecheck(9 mypy errors). This revision narrows blueprintima/governancedicts and typesOPENXYOS_STATUS_MAPasTypedDictso mapping lookups are notobject.Operator guide: docs/asset-loop.md
uv run freeos org governance enable --tenant-id 1 uv run freeos org assets import --catalog --blueprint tests/fixtures/agent-blueprint.v1.json --tenant-id 1 uv run freeos org employee transition policy-analyst market uv run freeos org employee transition policy-analyst recruit uv run freeos org employee transition policy-analyst shadow uv run freeos org employee transition policy-analyst active uv run freeos org assets publishHigh-risk tools still go through Phase A
xyos-governance-mcp(default-deny, durable human approval).Target branch
cursor/phase-a-governance-bridge-767d(Phase A)Type of change
Test plan
make all(not run here)Verified locally (
PYTHONPATH=src):pytest --noconftest tests/unit/test_blueprint_compiler.py tests/unit/test_lifecycle.py tests/unit/test_asset_loop.py tests/unit/test_governance_mcp.py tests/unit/test_skill_bridge.py tests/unit/test_org_module.py tests/unit/test_paths.py # 52 passed