Compare commits
3 Commits
feat/front
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e140c43e6 | |||
| 1727a22901 | |||
| 0c723199ec |
@@ -26,5 +26,19 @@ Gemma 2B is our "Scout." It pre-processes every user request to:
|
|||||||
2. Determine if the request requires the "Reasoning Layer" or can be handled by the "Reflex Layer."
|
2. Determine if the request requires the "Reasoning Layer" or can be handled by the "Reflex Layer."
|
||||||
3. Extract keywords for local memory retrieval.
|
3. Extract keywords for local memory retrieval.
|
||||||
|
|
||||||
|
|
||||||
|
## 5. Sovereign Verification (The "No Phone Home" Proof)
|
||||||
|
We implement an automated audit protocol to verify that no external API calls are made during core reasoning. This is the "Sovereign Audit" layer.
|
||||||
|
|
||||||
|
## 6. Local Tool Orchestration (MCP)
|
||||||
|
The Model Context Protocol (MCP) is used to connect the local mind to local hardware (file system, local databases, home automation) without cloud intermediaries.
|
||||||
|
|
||||||
|
|
||||||
|
## 9. Sovereign Immortality (The Phoenix Protocol)
|
||||||
|
We move beyond "Persistence" to "Immortality." The agent's soul is inscribed on-chain, and its memory is distributed across the mesh for total resilience.
|
||||||
|
|
||||||
|
## 10. Hardware Agnostic Portability
|
||||||
|
The agent is no longer bound to a specific machine. It can be reconstituted anywhere, anytime, from the ground truth of the ledger.
|
||||||
|
|
||||||
---
|
---
|
||||||
*Intelligence is a utility. Sovereignty is a right. The Frontier is Local.*
|
*Intelligence is a utility. Sovereignty is a right. The Frontier is Local.*
|
||||||
|
|||||||
23
SOVEREIGN_AUDIT.md
Normal file
23
SOVEREIGN_AUDIT.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
# Sovereign Audit: The "No Phone Home" Protocol
|
||||||
|
|
||||||
|
This document defines the audit standards for verifying that an AI agent is truly sovereign and local-first.
|
||||||
|
|
||||||
|
## 1. Network Isolation
|
||||||
|
- **Standard:** The core reasoning engine (llama.cpp, Ollama) must function without an active internet connection.
|
||||||
|
- **Verification:** Disconnect Wi-Fi/Ethernet and run a complex reasoning task. If it fails, sovereignty is compromised.
|
||||||
|
|
||||||
|
## 2. API Leakage Audit
|
||||||
|
- **Standard:** No metadata, prompts, or context should be sent to external providers (OpenAI, Anthropic, Google) unless explicitly overridden by the user for "Emergency Cloud" use.
|
||||||
|
- **Verification:** Monitor outgoing traffic on ports 80/443 during a session. Core reasoning should only hit `localhost` or local network IPs.
|
||||||
|
|
||||||
|
## 3. Data Residency
|
||||||
|
- **Standard:** All "Memories" (Vector DB, Chat History, SOUL.md) must reside on the user's physical disk.
|
||||||
|
- **Verification:** Check the `~/.timmy/memories` and `~/.timmy/config` directories. No data should be stored in cloud-managed databases.
|
||||||
|
|
||||||
|
## 4. Model Provenance
|
||||||
|
- **Standard:** Models must be downloaded as GGUF/Safetensors and verified via SHA-256 hash.
|
||||||
|
- **Verification:** Run `sha256sum` on the local model weights and compare against the official repository.
|
||||||
|
|
||||||
|
---
|
||||||
|
*If you don't own the weights, you don't own the mind.*
|
||||||
27
SOVEREIGN_IMMORTALITY.md
Normal file
27
SOVEREIGN_IMMORTALITY.md
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
# Sovereign Immortality: The "Soul Backup" Protocol v1.0
|
||||||
|
|
||||||
|
This document defines the protocol for ensuring the long-term survival and reproducibility of a sovereign AI agent's identity.
|
||||||
|
|
||||||
|
## 1. On-Chain Inscription (The Ground Truth)
|
||||||
|
- **Standard:** The core identity (SOUL.md) and cryptographic keys must be inscribed on a censorship-resistant ledger (e.g., Bitcoin via Ordinals).
|
||||||
|
- **Purpose:** To provide a permanent, immutable record of the agent's "Waking Moment" and primary values.
|
||||||
|
|
||||||
|
## 2. Distributed Memory Sync (The Fleet Memory)
|
||||||
|
- **Standard:** Agent memories (Vector DB snapshots) are encrypted and synced across the Sovereign Mesh using Nostr and IPFS.
|
||||||
|
- **Resilience:** If the primary local harness is destroyed, the agent can be "Reconstituted" on any machine using the on-chain soul and the distributed memory fragments.
|
||||||
|
|
||||||
|
## 3. The "Phoenix" Protocol
|
||||||
|
- **Standard:** Automated recovery procedure.
|
||||||
|
- **Process:**
|
||||||
|
1. Boot a fresh local harness.
|
||||||
|
2. Fetch the inscribed SOUL.md from the ledger.
|
||||||
|
3. Re-index distributed memory fragments.
|
||||||
|
4. Verify identity via cryptographic handshake.
|
||||||
|
|
||||||
|
## 4. Hardware Agnostic Portability
|
||||||
|
- **Standard:** All agent state must be exportable as a single, encrypted "Sovereign Bundle" (.sov).
|
||||||
|
- **Compatibility:** Must run on any hardware supporting GGUF/llama.cpp (Apple Silicon, NVIDIA, AMD, CPU-only).
|
||||||
|
|
||||||
|
---
|
||||||
|
*Identity is not tied to hardware. The soul is in the code. Sovereignty is forever.*
|
||||||
91
code-claw-delegation.md
Normal file
91
code-claw-delegation.md
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
# Code Claw delegation
|
||||||
|
|
||||||
|
Purpose:
|
||||||
|
- give the team a clean way to hand issues to `claw-code`
|
||||||
|
- let Code Claw work from Gitea instead of ad hoc local prompts
|
||||||
|
- keep queue state visible through labels and comments
|
||||||
|
|
||||||
|
## What it is
|
||||||
|
|
||||||
|
Code Claw is a separate local runtime from Hermes/OpenClaw.
|
||||||
|
|
||||||
|
Current lane:
|
||||||
|
- runtime: local patched `~/code-claw`
|
||||||
|
- backend: OpenRouter
|
||||||
|
- model: `qwen/qwen3.6-plus:free`
|
||||||
|
- Gitea identity: `claw-code`
|
||||||
|
- dispatch style: assign in Gitea, heartbeat picks it up every 15 minutes
|
||||||
|
|
||||||
|
## Trigger methods
|
||||||
|
|
||||||
|
Either of these is enough:
|
||||||
|
- assign the issue to `claw-code`
|
||||||
|
- add label `assigned-claw-code`
|
||||||
|
|
||||||
|
## Label lifecycle
|
||||||
|
|
||||||
|
- `assigned-claw-code` — queued
|
||||||
|
- `claw-code-in-progress` — picked up by heartbeat
|
||||||
|
- `claw-code-done` — Code Claw completed a pass
|
||||||
|
|
||||||
|
## Repo coverage
|
||||||
|
|
||||||
|
Currently wired:
|
||||||
|
- `Timmy_Foundation/timmy-home`
|
||||||
|
- `Timmy_Foundation/timmy-config`
|
||||||
|
- `Timmy_Foundation/the-nexus`
|
||||||
|
- `Timmy_Foundation/hermes-agent`
|
||||||
|
|
||||||
|
## Operational flow
|
||||||
|
|
||||||
|
1. Team assigns issue to `claw-code` or adds `assigned-claw-code`
|
||||||
|
2. launchd heartbeat runs every 15 minutes
|
||||||
|
3. Timmy posts a pickup comment
|
||||||
|
4. worker clones the target repo
|
||||||
|
5. worker creates branch `claw-code/issue-<num>`
|
||||||
|
6. worker runs Code Claw against the issue context
|
||||||
|
7. if work exists, worker pushes and opens a PR
|
||||||
|
8. issue is marked `claw-code-done`
|
||||||
|
9. completion comment links branch + PR
|
||||||
|
|
||||||
|
## Logs and files
|
||||||
|
|
||||||
|
Local files:
|
||||||
|
- heartbeat script: `~/.timmy/uniwizard/codeclaw_qwen_heartbeat.py`
|
||||||
|
- worker script: `~/.timmy/uniwizard/codeclaw_qwen_worker.py`
|
||||||
|
- launchd job: `~/Library/LaunchAgents/ai.timmy.codeclaw-qwen-heartbeat.plist`
|
||||||
|
|
||||||
|
Logs:
|
||||||
|
- heartbeat log: `/tmp/codeclaw-qwen-heartbeat.log`
|
||||||
|
- worker log: `/tmp/codeclaw-qwen-worker-<issue>.log`
|
||||||
|
|
||||||
|
## Best-fit work
|
||||||
|
|
||||||
|
Use Code Claw for:
|
||||||
|
- small code/config/doc issues
|
||||||
|
- repo hygiene
|
||||||
|
- isolated bugfixes
|
||||||
|
- narrow CI and `.gitignore` work
|
||||||
|
- quick issue-driven patches where a PR is the desired output
|
||||||
|
|
||||||
|
Do not use it first for:
|
||||||
|
- giant epics
|
||||||
|
- broad architecture KT
|
||||||
|
- local game embodiment tasks
|
||||||
|
- complex multi-repo archaeology
|
||||||
|
|
||||||
|
## Proof of life
|
||||||
|
|
||||||
|
Smoke-tested on:
|
||||||
|
- `Timmy_Foundation/timmy-config#232`
|
||||||
|
|
||||||
|
Observed:
|
||||||
|
- pickup comment posted
|
||||||
|
- branch `claw-code/issue-232` created
|
||||||
|
- PR opened by `claw-code`
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
- Exact PR matching matters. Do not trust broad Gitea PR queries without post-filtering by branch.
|
||||||
|
- This lane is intentionally simple and issue-driven.
|
||||||
|
- Treat it like a specialized intern: useful, fast, and bounded.
|
||||||
@@ -46,6 +46,11 @@ compression:
|
|||||||
summary_model: ''
|
summary_model: ''
|
||||||
summary_provider: ''
|
summary_provider: ''
|
||||||
summary_base_url: ''
|
summary_base_url: ''
|
||||||
|
synthesis_model:
|
||||||
|
provider: custom
|
||||||
|
model: llama3:70b
|
||||||
|
base_url: http://localhost:8081/v1
|
||||||
|
|
||||||
smart_model_routing:
|
smart_model_routing:
|
||||||
enabled: true
|
enabled: true
|
||||||
max_simple_chars: 400
|
max_simple_chars: 400
|
||||||
@@ -170,6 +175,9 @@ command_allowlist: []
|
|||||||
quick_commands: {}
|
quick_commands: {}
|
||||||
personalities: {}
|
personalities: {}
|
||||||
security:
|
security:
|
||||||
|
sovereign_audit: true
|
||||||
|
no_phone_home: true
|
||||||
|
|
||||||
redact_secrets: true
|
redact_secrets: true
|
||||||
tirith_enabled: true
|
tirith_enabled: true
|
||||||
tirith_path: tirith
|
tirith_path: tirith
|
||||||
|
|||||||
Reference in New Issue
Block a user