Releases: Intelligent-Internet/CommonGround
Releases · Intelligent-Internet/CommonGround
Merge pull request #3 from Intelligent-Internet/v1r4-hotfix
Summary
- preserve chronological ordering when reusing prior output history and appending new context
- pack inherited handover cards before the new instruction card so reused tasks see old history first
- add regression coverage for handover packing, react step context loading, and delegate_async/fork_join reuse flows
Testing
- uv run pytest tests/services/agent_worker/test_react_step_baseline.py tests/pmo/test_handover_authority.py -q
v1r4 release
CommonGround V1R4 Release Notes
Date: 2026-03-12
Status: Final release of the v1 line
Summary
V1R4 is the final stabilized release for CommonGround v1.
Compared with the pre-release main baseline, this branch is the complete V1R4 release candidate: it includes the v1r4 protocol cutover, the context/authority hard cut, the spawn/runtime cleanup, and the final stabilization fixes required to publish v1.
This release closes the remaining publish blockers from the post-migration period without over-investing in runtime pieces that are expected to change again in v2.
The release goal is:
- make the current
v1runtime publishable and stable - keep kernel contracts clean enough for
v2 - avoid turning the current centralized worker/tool pipeline into a new long-term complexity center
Compared with main
1. Protocol and context authority hard cut
- Protocol version is now
v1r4, withcg.v1r4.*subjects as the release target. - Control-plane identity is now treated as
CGContext/header authority rather than payload authority. - Migration docs, quickstarts, tools, and first-party examples have been aligned with the
v1r4contract.
2. Runtime and topology cleanup
- Spawn-facing dispatch no longer accepts caller-owned child turn topology; L0 allocates the real child turn identity.
BatchManagerand PMO orchestration now track child work by the realagent_turn_idand avoid the old inbox/epoch archaeology path as the primary runtime truth.- Child termination, downstream tracking, and wakeup flows continue to operate on the real L0 turn identity.
3. Final stabilization fixes for publish blockers
resume/tool_resultuses a minimal single-winner apply path instead of allowing obvious duplicate append/apply.- Existing-agent
provision_agent/ensureno longer allows rewritingowner_agent_id,worker_target,tags, orprofile_box_id. - Validation-failure context recovery no longer trusts payload lineage fields; it recovers only from ingress context and
tool.callmetadata. - Watchdog/stop completion paths now emit
evt.agent.*using the committed post-bump(agent_turn_id, turn_epoch)identity instead of stale pre-update context. - Skills runtime resolves an owner-scoped internal
session_key; publicsession_idremains a caller-visible alias only. tool_resultingress performs lightweight source/card validation, including card pointer,tool_call_id, and source/author/function consistency checks.
4. Release-facing documentation cleanup
- Tool callback examples now use the live
CGContext/ingress-based helper shape. - Skills docs now describe
session_idas an alias rather than raw sandbox identity. - PMO context docs now describe pre-authorized box inheritance rather than exists-only behavior.
- This release note replaces the earlier
v1r4convergence playbook drafts and should be used as the release summary againstmain.
Intentionally Deferred to V2
The following topics are important, but are not part of the V1R4 release gate:
- full redesign of the centralized
tool_result / resume / UTPmodel - complete strict source-authenticity / producer-binding framework
- full capability-style ACL
- formal external runtime contract for edge runtimes and future agent-owned execution
These continue under the v2 direction tracked from #417.
Validation
The V1R4 closure was verified with:
- targeted unit/regression suites for worker, PMO, skills, dispatcher, L0 report, and final stabilization regressions: the last blocker-focused patch passed with
47 passed, on top of the earlier targeted coverage that closed the broaderV1R4branch - full integration coverage:
7 passed, 1 skipped - quickstart validation on an isolated local stack (
NATS 4223,API 8099):demo_simple_principal_streamdemo_principal_fullflowdemo_principal_fullflow_apidemo_fork_join_word_countdemo_ui_action --mode chatdemo_ui_action --mode busy
- compile verification on the touched Python modules
Upgrade Notes
V1R4should be treated as the stable final target forv1.- Existing integrations should stop relying on payload control fields and outdated callback helper signatures.
- Any workflow that assumes
session_idis globally reusable across agents should be updated to treat it as an alias only. - If local port
4222is already occupied during validation, point[nats].serversorNATS_SERVERSto an alternate local NATS port; the release validation itself was exercised on4223.