This document describes a possible path from GoClaw's current Level 4 model, an autonomous digital workforce gateway, toward a Level 5 enterprise operating layer. It is a roadmap document, not a statement of current implementation.
| Dimension | Level 4 | Level 5 target |
|---|---|---|
| Goal source | Humans assign tasks | Agents infer candidate goals from organizational signals |
| Learning | Learns facts from conversations; corrects a failed tool call in the same turn | Learns from controlled experiments and outcomes |
| Collaboration | Manager-to-worker delegation | Peer negotiation, reputation, and collective decisions |
| Organization model | Channels, sessions, tools, SOPs | Live world model of systems, dependencies, risk, and priorities |
| Safety | Role, tool, auth, and channel controls | Constitutional policy layer with decision provenance |
| Self-improvement | Admin-approved notes, saved queries and SOPs | Proposed SOPs, skill gaps, and tool composition under review |
Level 5 should propose goals from observed operational signals instead of waiting only for direct commands.
Candidate inputs:
Conceptual model:
type StrategicGoal struct {
ID string
Description string
Priority int
Evidence []string
GeneratedBy string
CreatedAt time.Time
}
Goal lifecycle:
stateDiagram-v2
direction LR
[*] --> proposed
proposed --> approved
approved --> in_progress
in_progress --> completed
in_progress --> abandoned
Human approval should remain the default. Auto-approval can be considered only for low-risk goals with clear policy boundaries.
Level 5 should learn by proposing and testing hypotheses in controlled environments.
Experiment lifecycle:
Example:
Hypothesis: Increasing GitLab runner cache reuse will reduce deploy duration.
Environment: staging project only.
Metric: median pipeline duration over 10 runs.
Approval: required before changing runner configuration.
The current system supports subagents and session tools. A Level 5 system would add richer peer coordination.
Future concepts:
Conceptual model:
type AgentReputation struct {
AgentID string
TrustScore float64
SuccessRate float64
SpecialtyAreas []string
}
GoClaw already has observability tools, memory, graph storage, and metrics storage. Level 5 would connect those into a live world model.
World model inputs:
metrics_store.Conceptual model:
type WorldModel struct {
Systems map[string]*SystemNode
Dependencies []Dependency
CurrentState map[string]StateValue
HistoricalPatterns []Pattern
LastUpdated time.Time
}
The goal is not just to answer "what is broken?" but to evaluate "what is likely to happen if we take this action?"
Level 5 should adjust communication style to user state, channel, and urgency while staying transparent.
Examples:
| Situation | Preferred behavior |
|---|---|
| Incident response | Short status, concrete action, no long background unless asked |
| New user | Plain language, fewer internal abbreviations |
| Risky action | Explicit risk, approval requirement, rollback plan |
| Repeated failure | State what changed since the previous attempt |
This should be implemented as style guidance and response policy, not as hidden emotional profiling.
GoClaw already has SOPs, tools, auto-learning, and skill registries. Level 5 would add governed self-improvement proposals.
Future capabilities:
Conceptual model:
type SynthesizedToolProposal struct {
Name string
Components []string
Reason string
Evidence []string
RequiresReview bool
}
As autonomy increases, the policy layer must become more explicit.
Required controls:
Example policy sketch:
constitution:
absolute_prohibitions:
- "Delete production data without explicit approval"
- "Expose credentials or secrets"
- "Escalate beyond configured role permissions"
approval_required:
- "Actions affecting more than 500 users"
- "External API bursts above configured thresholds"
- "Bulk data movement above configured size limits"
Level 5 is not just a smarter single agent. It is a governed coordination layer where agents can propose goals, test hypotheses, collaborate, reason over operational state, and improve workflows while remaining auditable and policy-bound.