Implements the upstream tracking toggle discussed in design review. Operator enables once during setup; the agent can check divergence from chat. Changes: - setup/upstream.ts — new setup step: --enable adds nanoclaw remote, fetches, writes NANOCLAW_UPSTREAM_ENABLED=true to .env; --disable/--status - setup/index.ts — register 'upstream' in STEPS - scripts/fetch-upstream.ts — cron-safe host-side fetch; prints divergence summary (commits in nanoclaw/main not in HEAD); respects NANOCLAW_UPSTREAM_ENABLED - jail/agent-runner/src/ipc-mcp-stdio.ts — add check_upstream_updates MCP tool: read-only git log against nanoclaw/main, returns commit list for operator review - docs/REFACTOR-PLAN.md — add Phase 7 (Option B: Gitea jail, deferred) Nothing auto-merges. Operator decides what to apply. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| memory | ||
| apply-skill.ts | ||
| destroy-jails.sh | ||
| fetch-upstream.ts | ||
| fix-skill-drift.ts | ||
| post-update.ts | ||
| rebase.ts | ||
| run-migrations.ts | ||
| test-jail-runtime.ts | ||
| uninstall-skill.ts | ||
| update-core.ts | ||
| validate-all-skills.ts | ||