Skip to content

feat(workflow): secret-free user environment profile for cross-machine restore - #45

Merged
DTALEX66 merged 1 commit into
mainfrom
feat/user-environment-profile
Aug 10, 2026
Merged

feat(workflow): secret-free user environment profile for cross-machine restore#45
DTALEX66 merged 1 commit into
mainfrom
feat/user-environment-profile

Conversation

@DTALEX66

Copy link
Copy Markdown
Owner

Scope

Preserve the user's Hermes + Codex user configuration and skills in neutral, secret-free form so a machine change does not start from zero.

  • scripts/workflow/user_profile_export.py (stdlib+yaml, read-only): inventories Hermes config (values redacted), .env key names only, 143 Hermes skills (name+description+path), Codex config (provider/model names kept, credentials redacted), 10 agents skills, rules list. Fail-closed redaction: an unredacted secret value makes the export refuse to write.
  • Tracked manifest config/user-environment-profile.json: secret-pattern scan clean, 34 [REDACTED] values, provider/model names preserved.
  • docs/workflow/user-environment-profile.md: content summary, refresh command, new-machine restore flow. workflow-assistance-self-improvement skill gains a 'User environment preservation' section.
  • Boundary contract detect extended (secret-free environment inventory); README doc entry added (governance README-surface test); 5 regression tests (key/value redaction, env key names only, TOML redaction, skills inventory, end-to-end secret-free).

No user config is modified; no credentials/sessions/keychains read; values are never committed.

Evidence

  • Targeted: user-profile 5/5, lifecycle 8/8, sync 20/20, boundary 3/3, scanner OK, governance PASS; full quality gate QUALITY_GATE_PASS (21 gates).
  • Manifest scan: no secret patterns; git diff --cached --check clean; tree c91d754.
  • Candidate SHA: 0116edf.

…e restore

- New user_profile_export.py (stdlib+yaml, read-only): inventories Hermes
  config (redacted), .env key names only, 143 Hermes skills, Codex config
  (provider/model names kept, credentials redacted), 10 agents skills, rules;
  fail-closed redaction (unredacted secret value -> no write)
- Tracked manifest config/user-environment-profile.json (34 redacted values,
  secret-pattern scan clean)
- docs/workflow/user-environment-profile.md: refresh + new-machine restore
  flow; self-improvement skill gains 'User environment preservation' section
- Boundary contract detect extended (secret-free environment inventory);
  README doc entry added; 5 regression tests (redaction, env keys, toml,
  skills inventory, end-to-end secret-free)
@DTALEX66
DTALEX66 merged commit ee909fd into main Aug 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant