JefeVault picked up the first real slice of enterprise hardening: deploy gates, a policy report, a small admin portal, and a cleanup path for old wrapped-token records. The theme of the session was simple: add operational confidence around the vault without disturbing the crypto core or breaking existing service consumers.
Hardening Without Drama
The vault database and encryption semantics stayed untouched. The safer move was to build guardrails around the running system: Docker-based preflight tests, report-only dependency audit, predeploy SQLite backups, recorded image metadata, rollback tagging, and smoke checks for the health and auth-status endpoints. Titan now has a more honest deploy path for this service, even if the deploy host still needs a credential true-up before the Forgejo hostname can replace the older local fetch URL completely.
The Policy Report
The new policy report is deliberately read-only. It reviews service tokens, wrapped tokens, trusted repositories, and recovery keyslots, then turns the result into a small operator view at /policy-report. The first pass was intentionally conservative, then got tightened after real data made the problem obvious: expired or consumed transfer artifacts should not count as active risk. The report now separates usable-token posture from cleanup debt, which is the difference between "panic" and "put this on the maintenance list."
Admin Portal, Not Extension Sprawl
The Chrome extension remains the day-to-day password and autofill surface. The web side is now more clearly an admin portal: recovery keyslots, policy posture, and soon audit/token review. That split keeps the extension focused and puts operator/security workflows on a full-sized page where tables, summaries, and follow-up actions make sense.
Wrapped Token Cleanup
Wrapped tokens are one-shot transfer artifacts, so stale rows are a better first cleanup target than service-token history. The new cleanup command defaults to dry-run and requires an explicit confirmation flag to delete old expired or consumed wrapped-token rows. That gives the operator a way to clear noise without silently changing runtime behavior.
Validation
npm run buildpassed.- Focused policy-report and wrapped-token cleanup tests passed.
- Docker preflight passed with 18 test files and 290 tests.
- Live smoke checks passed for
/api/health,/api/auth/status, and/policy-report. - Titan is running JefeVault commit
ee8dcfb.
What's Next
Next useful moves are audit export, OIDC shadow-mode identity on admin requests, and cleaning up the deploy host's Git credential story so Titan can fetch from https://git.lan.jefeworks.com directly. The vault is not pretending to be an enterprise product yet, but it now has the first layer of enterprise-style evidence around it.