You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mirrored from upstream 1jehuang/jcode — Pull Request #187 by @ptlnextdoor
Original state: open
Created: 2026-05-11T02:32:03Z · Updated: 2026-05-11T05:59:00Z
Diff: https://github.com/1jehuang/jcode/pull/187.diff
This issue is an auto-mirrored copy. Comments and edits here are local to quangdang46/jcode — do not expect them to propagate upstream.
Summary
Adds durable self-dev customization records so Jcode can persist, inspect, and report user-local adaptations across update/install flows.
This PR implements the first self-dev customization slice from #32 and addresses issues #35, #36, and #37:
Defines a versioned SelfDevCustomizationRecord schema with stable IDs, timestamps, active/disabled state, base version metadata, provenance, rationale, validation commands, and update hints.
Persists customization records to stable on-disk storage with create/load/list/append-outcome support.
Adds selfdev tool actions for recording, listing, disabling, and inspecting active customizations.
Captures both tracked diffs and untracked files in saved customization patches so the source fingerprint and stored patch match more accurately.
Integrates active customization records into update/install reporting.
Runs configured validation commands during update/install reporting and records report-only pass/fail details, including status, exit code, and truncated stdout/stderr.
Cleans up compact active-customization memory when a customization is disabled while keeping durable records as the source of truth.
Summary
Adds durable self-dev customization records so Jcode can persist, inspect, and report user-local adaptations across update/install flows.
This PR implements the first self-dev customization slice from #32 and addresses issues #35, #36, and #37:
SelfDevCustomizationRecordschema with stable IDs, timestamps, active/disabled state, base version metadata, provenance, rationale, validation commands, and update hints.selfdevtool actions for recording, listing, disabling, and inspecting active customizations.Fixes #35
Fixes #36
Fixes #37
Testing
Passed on the rebased branch:
Notes:
cargo checkandcargo buildpass with existing warnings.cargo test selfdev --librun hit two unrelated/flaky failures on macOS:cli::tui_launch::tests::spawn_selfdev_in_new_terminal_uses_handterm_exec_modedue to/private/varvs/vartemp path normalization.tool::selfdev::tests::build_dedupes_identical_reason_and_version_with_attached_watcherdue to a background task timeout.origin/master.Need help on this PR? Tag
@codesmithwith what you need.