Commit Graph

227 Commits

Author SHA1 Message Date
Alexander Whitestone
530f84b92f feat: add 5 poka-yoke guards for agent fleet
Guards added:
- api-key-preflight.sh: validates API keys before loop starts
- duplicate-pr-gate.sh: prevents duplicate PRs for same issue
- hardcoded-ip-scanner.sh: pre-commit hook rejecting hardcoded VPS IPs
- quality-verify.sh: verifies PRs have real diffs after agent success
- max-attempts.sh: tracks attempts per issue, skips after 3 failures

All guards tested and verified working.
Hardcoded IP scanner symlinked as pre-commit hook.

Note: --no-verify used because the scanner script itself contains
the IP patterns as definitions (not actual hardcoded usage).
2026-04-07 10:23:36 -04:00
Alexander Whitestone
487df48f36 fix: align ollama/fallback model to gemma4:latest (was hermes3:latest, not installed)
Resolves #291

- config.yaml: providers.ollama.model hermes3:latest -> gemma4:latest
- config.yaml: fallback_model.model hermes3:latest -> gemma4:latest
- config.yaml: fix YAML indent bugs in security block and container keys
- cron/jobs.json: Health Monitor model -> gemma4:latest
- tests/test_local_runtime_defaults.py: update assertion to match
- Machine truth: ollama list shows gemma4:latest installed, hermes3:latest absent
- Gateway: 404 errors on hermes3:latest will stop after restart

Per Alexander: 'we are Gemma4 maxis now. Or hermes trained frontier models'
2026-04-07 10:16:15 -04:00
Alexander Whitestone
95d65a1155 feat: extract sovereign work from hermes-agent fork into sidecar
Extracted 52 files from Timmy_Foundation/hermes-agent (gitea/main) into
hermes-sovereign/ directory to restore clean upstream tracking.

Layout:
  docs/             19 files — deploy guides, performance reports, security docs, research
  security/          5 files — audit workflows, PR checklists, validation scripts
  wizard-bootstrap/  7 files — wizard environment, dependency checking, auditing
  notebooks/         2 files — Jupyter health monitoring notebooks
  scripts/           5 files — forge health, smoke tests, syntax guard, deploy validation
  ci/                2 files — Gitea CI workflow definitions
  githooks/          3 files — pre-commit hooks and config
  devkit/            8 files — developer toolkit (Gitea client, health, notebook runner)
  README.md          1 file  — directory overview

Addresses: #337, #338
2026-04-07 10:11:20 -04:00
Bezalel
0d4d14b25d ops(gitea): add Ezra resurrection workflow
All checks were successful
Ezra Resurrection / resurrect (push) Successful in 3s
- Attempts health check and host-level restart via Docker nsenter
- Triggered manually or on push to this workflow file
- Part of all-hands effort to restore Ezra (#lazzyPit)
2026-04-07 03:36:50 +00:00
Alexander Whitestone
c4d0dbf942 docs: Universal Paperclips deep dive — AI agent blueprint from decisionproblem.com 2026-04-06 23:31:51 -04:00
8d573c1880 Merge branch 'main' of https://forge.alexanderwhitestone.com/Timmy_Foundation/timmy-config 2026-04-07 03:24:02 +00:00
Bezalel
49b3b8ab45 feat(wizards): add Ezra source-of-truth config with fixed fallback chain
- Establishes Ezra's config in timmy-config
- Fixes kimi-for-coding 403 issue by switching to kimi-k2.5
- Adds full fallback chain: kimi -> anthropic -> openrouter
- Part of #lazzyPit automated resurrection epic
2026-04-07 03:23:50 +00:00
Alexander Whitestone
634a72f288 feat: Force Multipliers #541 velocity tracking + #542 fleet cost report
Adds velocity_tracking() to track burn velocity across repos.
Adds fleet cost report in docs/fleet-cost-report.md.

Fixes #541
Fixes #542
2026-04-06 23:09:48 -04:00
9b36a0bd12 Implement Force Multiplier 16: The Nexus Bridge (Health Feed) 2026-04-06 22:45:25 -04:00
f4d4fbb70d Implement Force Multiplier 15: Contextual Memory Injection 2026-04-06 22:45:25 -04:00
2ad3e420c2 Implement Force Multiplier 14: The "Green Light" Auto-Merge 2026-04-06 22:45:24 -04:00
395942b8ad Implement Force Multiplier 13: Fleet Cost & Velocity Tracker 2026-04-06 22:45:23 -04:00
e18f9d772d Implement Force Multiplier 12: Automated Issue Decomposition 2026-04-06 22:45:23 -04:00
fd2aec4a24 Implement Force Multiplier 11: The Lazarus Heartbeat (Self-Healing) 2026-04-06 22:45:22 -04:00
bbbd7b6116 Implement Force Multiplier 10: Automated PR Quality Gate 2026-04-06 22:45:21 -04:00
d51100a107 Implement Sovereign Audit Trail in tasks.py 2026-04-06 22:45:20 -04:00
525f192763 Implement Fallback Portfolio wiring in tasks.py 2026-04-06 22:45:20 -04:00
67e2adbc4b Implement "The Reflex Layer" for low-reasoning tasks 2026-04-06 22:37:22 -04:00
66f13a95bb Implement Sovereign Audit Trail for agent actions 2026-04-06 22:36:42 -04:00
0eaeb135e2 Update automation inventory with new memory and audit capabilities 2026-04-06 22:36:42 -04:00
88c40211d5 feat: Bezalel Builder Wizard — Automated Artificer Provisioning (#323)
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-04-07 02:34:41 +00:00
5e5abd4816 [ARCH] Gitea Client Resiliency & Retry Logic (#297)
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-04-07 02:34:37 +00:00
1f28a5d4c7 [OPS] Intelligent Issue Triage & Priority Labeling (#296)
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-04-07 02:34:35 +00:00
eea809e4d4 [PRIVACY] Implement pii-scrubber task via gemma2:2b (#294)
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-04-07 02:33:37 +00:00
Bezalel
1759e40ef5 feat(config): add Bezalel wizard config with kimi-k2.5 fallback chain
- Establishes Bezalel's source-of-truth config in timmy-config
- Sets primary model to kimi-k2.5 via kimi-coding provider
- Adds fallback chain: kimi-k2.5 -> anthropic -> openrouter
- Includes platform configs, webhook routes, and provider settings
- Addresses #lazzyPit automated resurrection requirements
2026-04-07 01:59:03 +00:00
85b7c97f65 fix(fallback): add kimi-k2.5 to front of Allegro fallback chain
- Adds fallback_providers with kimi-coding:kimi-k2.5 as fallback1
- Followed by anthropic and openrouter fallbacks
- Aligns with #lazzyPit epic for automated resilience
2026-04-07 01:56:42 +00:00
49d7a4b511 [MEM] Implement Pre-compaction Flush Contract (#301)
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-04-06 21:46:24 +00:00
c841ec306d [GOVERNANCE] Sovereign Handoff: Timmy Takes the Reigns (#313)
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-04-06 21:45:39 +00:00
58a1ade960 [DOCS] Force Multiplier 17: Automated Documentation Freshness Audit (#312)
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-04-06 18:34:42 +00:00
3cf165943c Merge pull request '[LAZARUS][SPEC] Cell contract, roles, lifecycle, and publication rules (#268)' (#278) from ezra/lazarus-cell-spec-268 into main 2026-04-06 17:00:47 +00:00
083fb18845 Merge pull request '[M2] Allegro Commit-or-Abort — cycle guard with 10-minute slice rule (Epic #842)' (#277) from allegro/m2-commit-or-abort-845 into main 2026-04-06 16:58:38 +00:00
Timmy Foundation Ops
c2fdbb5772 feat(lazarus): operator control surface + cell isolation + process backend (#274, #269)
Implements the Lazarus Pit v2.0 foundation:

- cell.py: Cell model, SQLite registry, filesystem packager with per-cell HERMES_HOME
- operator_ctl.py: summon, invite, team, status, close, destroy commands
- backends/base.py + process_backend.py: backend abstraction with process implementation
- cli.py: operator CLI entrypoint
- tests/test_cell.py: 13 tests for isolation, registry, TTL, lifecycle
- README.md: quick start and architecture invariants

All acceptance criteria for #274 and #269 are scaffolded and tested.
13 tests pass.
2026-04-06 16:58:14 +00:00
Ezra
ee749e0b93 [LAZARUS][SPEC] Define cell contract, roles, lifecycle, and publication rules
Addresses timmy-config#268.

- Establishes 6 core invariants (filesystem, credential, process, network, memory, audit)
- Defines 5 canonical roles: director, executor, observer, guest, substitute
- Documents full lifecycle state machine (IDLE -> INVITED -> PREPARING -> ACTIVE -> CHECKPOINTING/CLOSED/ARCHIVED)
- Specifies publication rules: what must, must not, and may be published back to Gitea
- Filesystem layout contract for process/venv/docker/remote backends
- Graveyard retention policy with hot/warm/cold tiers

Cross-references: #269 #270 #271 #272 #273 #274 #245
2026-04-06 16:56:43 +00:00
Timmy Foundation Ops
2db03bedb4 M2: Commit-or-Abort — cycle guard with 10-minute slice rule and crash recovery (Epic #842) 2026-04-06 16:54:02 +00:00
c6207bd689 Merge pull request '[gemini] implement read-only Nostur status query MVP (#182)' (#275) from gemini/issue-182 into main 2026-04-06 15:45:13 +00:00
d0fcd3ebe7 feat: implement read-only Nostur status query MVP (#182)
Fixes #182
2026-04-06 15:34:13 +00:00
b2d6c78675 Merge pull request 'feat: Architecture Linter — Sovereign Quality Enforcement' (#265) from feat/architecture-linter-provenance into main 2026-04-06 15:15:22 +00:00
a96af76043 feat: add Architecture Linter for sovereignty enforcement 2026-04-06 15:12:29 +00:00
6327045a93 Merge pull request 'docs: Implement Architectural Decision Record (ADR) System' (#264) from feat/adr-system-provenance into main 2026-04-06 15:05:47 +00:00
e058b5a98c docs: add ADR-0001 for Sovereign Local-First Architecture 2026-04-06 15:02:13 +00:00
a45d821178 docs: add ADR template for architectural decisions 2026-04-06 15:02:12 +00:00
d0fc54da3d Merge pull request 'docs: sonnet smoke test - add comment to README' (#263) from sonnet/smoke-test-sonnet into main 2026-04-06 15:00:16 +00:00
Alexander Whitestone
8f2ae4ad11 chore: sonnet smoke test
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 10:52:07 -04:00
a532f709a9 Merge pull request 'docs: add sonnet workforce loop documentation (Refs #260)' (#261) from sonnet/issue-260 into main 2026-04-06 14:45:18 +00:00
Ezra
8a66ea8d3b docs: add sonnet workforce loop documentation (Refs #260) 2026-04-06 14:43:04 +00:00
5805d74efa Merge pull request 'feat: Frontier Local Agenda v3.0 — Sovereign Mesh & Multi-Agent Fleet' (#230) from feat/frontier-local-layer-4-mesh into main 2026-04-06 14:30:11 +00:00
d9bc5c725d Merge pull request 'docs: Architecture Knowledge Transfer (KT) — Unified System Schema' (#258) from docs/architecture-kt-unified-schema into main 2026-04-06 14:15:10 +00:00
80f68ecee8 docs: Architecture Knowledge Transfer (KT) — Unified System Schema 2026-04-06 14:07:33 +00:00
Ezra (Archivist)
5f1f1f573d resolve merge conflicts with main in FRONTIER_LOCAL.md 2026-04-06 14:05:08 +00:00
Ezra
9d9f383996 fix: replace hardcoded public IPs with Tailscale resolution and Forge URL 2026-04-05 23:25:02 +00:00