Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/architecture/rfcs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,18 @@ Paired diffs do not certify translation accuracy.
governed commit policy/verifier, lease-impact handling and Stage 3+
qualification remain unshipped. Manager handoff consumes these boundaries;
it does not provide another amendment writer.
- [Goal-Oriented Multi-Agent Peer Coordination v0](goal-oriented-multi-agent-coordination-v0.md)
([中文版](goal-oriented-multi-agent-coordination-v0.zh-CN.md))
- **Delivery on `main`:** M0 read-only peer frontier and collaboration
opportunity projection implemented (`peer_coordination.ts`); M1–M3 remain
unshipped.
- **Current boundary:** Projects bounded `peer_frontiers` and deterministic
`collaboration_opportunities` (`shared_target_collision_risk`,
`peer_verification_needed`, `peer_unleased_lane_attention`,
`shared_domain_synergy`, all with `grants_authority: false`) onto
`shared_goal_alignment_v0` from canonical `file_v0`/`sqlite_v0` snapshots.
Turn-envelope `<=400 B` digests (M1), cooldown-gated bilateral `manager-inbox`
handshakes (M2), and host-neutral live route observers (M3) remain open.
- [Goal contract evolution and bounded working context v0](goal-contract-evolution-v0.md)
([中文版](goal-contract-evolution-v0.zh-CN.md))
- **Delivery on `main`:** Proposal only; existing objective revision and additive
Expand Down
3 changes: 2 additions & 1 deletion docs/architecture/rfcs/STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ appendix may keep dated history, but no dated log heading may precede it.

[中文版](STATUS.zh-CN.md) is the semantic mirror of this file.

## Accepted (54)
## Accepted (55)

| RFC | Header status | Supersedes / closes | Ledger |
| --- | --- | --- | --- |
Expand All @@ -42,6 +42,7 @@ appendix may keep dated history, but no dated log heading may precede it.
| [RFC: Goal Direction Baseline (v0)](goal-direction-baseline-v0.md) | Accepted | none | — |
| [Design follow-up: Goal continuity across restart and replacement](goal-immutability-coherence-defense-v0.md) | Accepted | none | — |
| [Goal Instance Identity and Orphan Recovery (v0)](goal-instance-identity-and-orphan-recovery-v0.md) | Accepted | none | — |
| [RFC: Goal-Oriented Multi-Agent Peer Coordination (v0)](goal-oriented-multi-agent-coordination-v0.md) | Accepted | none | — |
| [RFC: Persistent Goal outcome refinement (v0)](goal-outcome-refinement-v0.md) | Accepted | none | — |
| [RFC: Goal-scoped Capability Portfolio and Connector Lifecycle (v0)](goal-scoped-capability-portfolio-v0.md) | Accepted | none | — |
| [RFC: Per-Goal Usage, Token, and Cost Surfacing v0](goal-usage-token-cost-v0.md) | Accepted | none | — |
Expand Down
3 changes: 2 additions & 1 deletion docs/architecture/rfcs/STATUS.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

[English](STATUS.md) 与本文互为语义镜像。

## 已接受 (54)
## 已接受 (55)

| RFC | 头部状态 | 替代 / 关闭 | Ledger |
| --- | --- | --- | --- |
Expand All @@ -39,6 +39,7 @@
| [RFC:Goal Direction Baseline(目标方向基线)v0](goal-direction-baseline-v0.zh-CN.md) | 已接受 | 无 | — |
| [后续设计:重启与实例替换中的 Goal 连续性](goal-immutability-coherence-defense-v0.zh-CN.md) | 已接受 | none | — |
| [Goal 实例身份与孤儿状态恢复(v0)](goal-instance-identity-and-orphan-recovery-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:面向目标的多 Agent 自主协同协议(v0)](goal-oriented-multi-agent-coordination-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:持久化 Goal 成果细化(v0)](goal-outcome-refinement-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:Goal 级能力组合与 Connector 生命周期(v0)](goal-scoped-capability-portfolio-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC: Per-Goal Usage, Token, and Cost Surfacing v0](goal-usage-token-cost-v0.md) | 已接受 | none | — |
Expand Down
176 changes: 176 additions & 0 deletions docs/architecture/rfcs/goal-oriented-multi-agent-coordination-v0.md

Large diffs are not rendered by default.

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions loopx/cli_commands/shared_goal_alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,29 @@ def render_shared_goal_alignment_markdown(payload: dict[str, object]) -> str:
f" - `{item.get('todo_id')}` "
f"claim_required=`{item.get('claim_required_before_work')}`"
)
peer_frontiers = payload.get("peer_frontiers")
if isinstance(peer_frontiers, list) and peer_frontiers:
lines.append("- peer_frontiers:")
for peer in peer_frontiers:
if isinstance(peer, dict):
lines.append(
f" - `{peer.get('agent_id')}` `{peer.get('todo_id')}` "
f"priority=`{peer.get('priority')}` domain=`{peer.get('task_domain')}` "
f"target=`{peer.get('target_key')}` validation_required=`{peer.get('completion_validation_required')}` "
f"lease_active=`{peer.get('lease_active')}`"
)
opportunities = payload.get("collaboration_opportunities")
if isinstance(opportunities, list) and opportunities:
lines.append("- collaboration_opportunities:")
for opp in opportunities:
if isinstance(opp, dict):
lines.append(
f" - `{opp.get('opportunity_id')}` `{opp.get('kind')}` "
f"peer=`{opp.get('peer_agent_id')}`:`{opp.get('peer_todo_id')}` "
f"caller_todo=`{opp.get('caller_todo_id')}` "
f"advisory_action=`{opp.get('advisory_action')}` "
f"grants_authority=`{opp.get('grants_authority')}`"
)
return "\n".join(lines)


Expand Down
Loading
Loading