Automates version bumps across all version source files: - Cargo.toml (PRIMARY - workspace.package.version) - debian/changelog (prepend new entry) - debian/control (update Version field) - scripts/build-package.sh (update VERSION variable) - frontend/package.json (update version field) - Stale references check after bump Usage: ./scripts/bump-version.sh <new_version> <old_version>
2.1 KiB
2.1 KiB
Credential Bootstrap & Skill Restoration Plan
Problem
SSH keys and Vaultwarden access are lost on every container restart. This causes repeated auth failures at session start.
Changes
1. Restore vaultwarden-secrets skill to /a0/skills/
- Source:
/tmp/vaultwarden-secrets/(cloned from gitea) - Destination:
/a0/skills/vaultwarden-secrets/ - Files: SKILL.md, README.md, scripts/vw_client.py, scripts/bw-wrapper.sh
- This makes
vw_client.pyavailable at the path referenced in system prompt - Verify pycryptodome is installed (needed by vw_client.py)
2. Add Session Bootstrap section to echo profile
- File:
/a0/usr/agents/echo/prompts/01-identity.md - Add a Session Bootstrap section that instructs Echo to verify credentials at the start of every new conversation
- Checks to perform:
- SSH key: If
~/.ssh/id_ed25519doesn't exist, retrieve from Vaultwarden using vw_client.py and install - Vaultwarden skill: Verify
/a0/skills/vaultwarden-secrets/scripts/vw_client.pyexists and works - bw CLI: Check if
bwis installed; if not, install it (fallback for vw_client.py) - Gitea SSH key: Verify
/a0/usr/credentials/gitea-lxc/gitea_id_ed25519exists for git operations
- SSH key: If
- Bootstrap runs silently unless a check fails (then report to user)
3. Update Credential Type Registry in 02-architecture.md
- Add Vaultwarden as the authoritative source for SSH keys
- Clarify that
/a0/usr/storage/echo-ssh-setup/is a backup, not primary - Add vw_client.py as the primary credential retrieval method
4. Update lessons.md
- Add lesson about credential bootstrap being a systemic fix
Implementation Order
- Restore vaultwarden-secrets skill (prerequisite for everything else)
- Verify vw_client.py works with current credentials
- Add Session Bootstrap to 01-identity.md
- Update Credential Type Registry in 02-architecture.md
- Update lessons.md
- Test full bootstrap flow
Approval Needed
- Modifying echo profile prompts (01-identity.md, 02-architecture.md)
- Installing skill files to /a0/skills/
- Installing bw CLI if missing