mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
Full Observe→Decide→Act→Emit loop for the restic + Garage + rclone stack: - storage_agent.py: probes Garage health, restic snapshot count and dedup ratio (Q16_16), backup log staleness, cold-copy drift; triggers corrective actions (snap, cold-copy, verify, forget, offload, garage restart) based on Q16_16 threshold comparisons. Emits hash-chained receipts to both a local JSONL log (~/.cache/storage-agent.jsonl) and s3://research-stack/agent-receipts/ in Garage. - storage-agent.service / storage-agent.timer: systemd units installed system-wide; timer fires every 15 min (RandomizedDelaySec=60). Includes PATH=/home/allaun/.local/bin:... so aws cli and restic are resolved. - .git/hooks/post-commit updated: agent runs (--once) in the background after each restic snap, so post-commit state is always observed. - 4-Infrastructure/AGENTS.md: full documentation of agent contract, receipt schema, trigger table, log paths, and usage examples. Shim boundary: zero logic — pure subprocess calls to existing CLI tools. No Float, no new dependencies. py_compile and live dry-run verified. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| bin | ||
| config | ||
| drivers | ||
| exploit-infra/CATEGORY/TSM | ||
| gpu | ||
| hardware | ||
| infra | ||
| kernel | ||
| nano-kernel | ||
| NoDupeLabs | ||
| packaging | ||
| rds_probe | ||
| servo-fetch | ||
| shim | ||
| shims | ||
| storage | ||
| surface | ||
| witness | ||
| AGENTS.md | ||
| README.md | ||
4-Infrastructure
Purpose: Python shims, GPU duty assignment, cloud storage, web interaction, hardware designs, drivers.
Depends on: 0 through 3
Contents (Target)
| Source | Destination |
|---|---|
infra/ |
4-Infrastructure/infra/ |
hardware/ |
4-Infrastructure/hardware/ |
drivers/ |
4-Infrastructure/drivers/ |
config/ |
4-Infrastructure/config/ |
Components
- Lean Shim — Lean ↔ Python bidirectional interface
- ENE Shim — ENE node management from Python
- GPU Duty — GPU translation surface duty assignment
- Cloud Storage — Rclone topological storage (Google Drive)
- Web Surface — BrowserPool, distributed crawl
GPU Status
- Device: NVIDIA GeForce RTX 4070
- Memory: 12.3GB total, ~10GB available
- CUDA: 13.0