A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
docs: record recovery contract and backup workflow findings
Amruth Pillai7c4f41d6f16a
diff --git a/docs/execution/approved-issue-plans-ledger.md b/docs/execution/approved-issue-plans-ledger.mdindex 954f6b1df..b1506585a 100644--- a/docs/execution/approved-issue-plans-ledger.md+++ b/docs/execution/approved-issue-plans-ledger.md@@ -34,14 +34,14 @@ state changes are outside scope.| Unit | Issues | Status / current validity | Owner | Worktree / branch | Base → head | Dependencies | Evidence | Tests | PR | Next action | Blockers || --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- || 01 account login/recovery | #3166, #3164, #3078, #3046, #2897, #2837 | blocked | audit `task_855fbee0a803` | `codex-audit-backend-01-06` | `7a98f6662` → no source change | none | zero drift; live issues remain split; #3046/#3078 have merged #3095 candidate only | auth 42, email 6, focused/full API/server suites and affected typechecks/boundaries passed in audit | — | select exact auth/mail/API boundary only after current sanitized trace | current cloud digest, provider/account method, request/status trace, controlled mailbox |-| 02 hosted v4 recovery | #3181, #2760 | reviewing | review `task_ae1f7e591826` / `ctx_475ef901639c` | `codex/issue-3181-recovery-procedure` | `7a98f6662` → `8607a5138` | #2760 identity branch depends on 01 evidence | original-form validation now blocks boxed/custom-serialized invalid objects before serialization; regressions committed | 16 tooling, 54 API, 21 auth tests; typechecks/boundaries/Biome/Markdown/diff green; final review active | — | clean final review, fresh verify, publish | real recovery still needs verified owner, snapshot, mapping, private delivery |+| 02 hosted v4 recovery | #3181, #2760 | implementing contract hardening | fix `task_baf33a609db0` / `ctx_48534ddcf89f` | `codex/issue-3181-recovery-procedure` | `7a98f6662` → `8607a5138` | #2760 identity branch depends on 01 evidence | third review found truthy non-boolean gate bypass and executable/non-JSON object identity; comparator contract now being narrowed to serialized requests | prior 16 tooling, 54 API, 21 auth tests and gates green; strict-TDD correction active | — | validate full serialized envelope, then fresh independent review | real recovery still needs verified owner, snapshot, mapping, private delivery || 03 MCP registration | #3398, #3153 | no-change | audit `task_855fbee0a803` | `codex-audit-backend-01-06` | `7a98f6662` → no source change | coordinate DB/startup with 05 | merged #3421 (`fe9b59e`) present on main; current schema/startup/auth contracts match plan | #3421 hosted checks successful; audit auth/server/API/DB tests, typechecks, boundaries passed | #3421 merged before run | deployment verification only | deployed digest/log correlation and exact Codex/Claude DCR/consent/PKCE/MCP retest unavailable || 04 AI provider compatibility | #2732, #2766, #2723, #2708 | blocked | audit `task_855fbee0a803` | `codex-audit-backend-01-06` | `7a98f6662` → no source change | serialize edits to AI service | zero drift; historical #2708 Responses path and #2766 structured Test path absent; remaining tuples differ | focused API 96 and full API suites/typecheck/boundaries passed in audit | — | select wire/state/import/base-path unit only after exact current tuple fails | provider/model/base URL/path/version/action/error tuple and allowed endpoint unavailable || 05 AI provider migrations | #3152 | blocked | audit `task_855fbee0a803` | `codex-audit-backend-01-06` | `7a98f6662` → no source change | coordinate DB/startup with 03 | zero drift; table schema, migration, startup ordering, Docker copy path coherent; `42P01` historical cause unresolved | audit API/server/DB tests, typechecks, boundaries passed; no real PostgreSQL migration fixture | — | choose config/packaging/startup/migration repair only after disposable reproduction | affected image layout/digest, working directory, DB schema/search path/journal, fresh+upgrade DB fixture || 06 image storage delivery | #2684, #2778 | blocked | audit `task_855fbee0a803` | `codex-audit-backend-01-06` | `7a98f6662` → no source change | coordinate 12/15/25 renderer/image fixtures | #2684 ACL cause fixed by merged #3432 (`35cecf9`); #2778 Browserless path obsolete; current topology unproved | #3432 hosted checks successful; audit storage/upload/PDF tests, typechecks, boundaries passed | #3432 merged before run | deployment retest plus shared real-encoding/backend/render fixture before repair | deployed digest; disposable S3/Garage/SeaweedFS/MinIO/proxy and browser/server raster matrix unavailable || 07 AIO deployment | #2722 | published; hosted follow-up pushed | implementation/review chain complete | `codex/issue-2722-postgres-docs` | `7a98f6662` → `a7b8c4cc5` | none | hosted review corrections distinguish image/build paths, pin quickstart PostgreSQL 17, warn on host ports, require verified cross-host TLS; five comments fixed, one rejected with evidence | Compose dry-runs, disposable PostgreSQL 17.11 migrations, Markdown/link/diff/scope green; zero unresolved threads; hosted checks rerunning | [#3457](https://github.com/amruthpillai/reactive-resume/pull/3457) | monitor exact-head checks/re-review; keep unmerged | no AIO implementation; optional Unraid host smoke unavailable || 08 root public resume | #2669 | plan amendment required before implementation | audit `task_9f27829ca50f` | planned `codex/issue-2669-root-resume` | `7a98f6662` → — | none | current password redirect rejects `/`; public view is slug-hook-bound; SSR canonical cannot import server env; expanded auth/canonical contract identified | audit focused API/web suites, typechecks, boundaries passed | — | amend ownership for identity-vs-return auth flow and server-derived canonical root, then dispatch coherent feature | engineering scope correction; feature remains narrower than arbitrary domain/TLS registry |-| 09 external version backup | #2705 | published; hosted correction under review | review `task_a44e374822b4` / `ctx_89e6769df19d` | `codex/issue-2705-git-backup-docs` | `7a98f6662` → published `6931d2cc4`; local `2d3ca10` | none | clean pre-publication review; hosted bots correctly found `HEAD` could not select earlier revision; selected-commit commands committed locally | 152 focused tests plus Markdown/diff/base/scope green; hosted correction Markdown/diff green | [#3458](https://github.com/amruthpillai/reactive-resume/pull/3458) | finish independent correction review, push, resolve duplicate threads | DB integration/E2E unavailable; no sync/remote/whole-account restore |+| 09 external version backup | #2705 | published; hosted correction being completed | fix `task_8605c30ca032` / `ctx_2e0aa7be1312` | `codex/issue-2705-git-backup-docs` | `7a98f6662` → published `6931d2cc4`; local `2d3ca10` | none | selected commit lookup fixed; re-review proved commands still lacked explicit non-destructive recovered-file creation | 152 focused tests plus Markdown/diff/base/scope green; new synthetic file-output regression active | [#3458](https://github.com/amruthpillai/reactive-resume/pull/3458) | add recovered-file command, clean re-review, push, resolve duplicate threads | DB integration/E2E unavailable; no sync/remote/whole-account restore || 10 legacy link routing | #2836 | pending implementation after brief correction | audit `task_9f27829ca50f` | planned `codex/issue-2836-retired-slug-notices` | `7a98f6662` → — | none | prospective same-username slug-attempt notice remains coherent; exact DB/API/UI/E2E owner set verified | audit focused API/web suites, DB/API/web typechecks, boundaries passed | — | correct final E2E target to `public-sharing.spec.ts`, then implement migration/API/owner UI atomically | historical cause absent; no redirects/emails/recovery; prospective partial coverage only || 11 job search policy | #3010 | published; hosted wording correction queued | hosted re-review `task_a9d8b3e0a8a2` | `codex/issue-3010-jsearch-docs` | `7a98f6662` → published `e05977007`; local `1d03978` | none | clean independent publication review; two valid low-risk hosted wording comments corrected locally | 52 focused tests plus Markdown/diff/base/scope green; follow-up Markdown/link/diff green | [#3459](https://github.com/amruthpillai/reactive-resume/pull/3459) | independently review correction, push, resolve threads | real provider/browser optional gate unavailable; removal motive unknown || 12 preview/export failures | #3323, #3290, #3033, #3007, #2609 | blocked corrective work; diagnostic-ready | audit `task_1c6582ccdeae` | `codex-audit-rendering-12-19` | `7a98f6662` → no source change | renderer ownership; share observation harness with 18 | zero drift; staged-preview/error-boundary baselines remain; reports cross persistence/font/PDF/viewer/deployment boundaries | audit focused web/PDF suites, affected typechecks, boundaries, build passed | — | isolate PT Sans, browser/config, and template-selection boundaries; no shared fix | exact JSON/output/browser/config/current reproduction missing |@@ -90,9 +90,11 @@ state changes are outside scope.| Plan 09 review fix | `task_8aa48854e7da` / `ctx_5aa2007ec136` | same Plan 09 worktree | complete | commit `6931d2cc4`; correct rendered-export scope and throttled template snapshot wording || Plan 02 re-review | `task_5bffa8e386f2` / `ctx_57fe2ac671f8` | same Plan 02 worktree | complete; changes required | original object still serialized before validation; boxed string reproduced false no-op || Plan 02 second review fix | `task_eb3b8c09aef2` / `ctx_3d3e5f7d2496` | same Plan 02 worktree | complete; worker released | commit `8607a5138`; original-form validation plus boxed-string/custom-`toJSON` regressions |-| Plan 02 final re-review | `task_ae1f7e591826` / `ctx_475ef901639c` | same Plan 02 worktree | reviewing | all prior findings and full fixed diff |+| Plan 02 final re-review | `task_ae1f7e591826` / `ctx_475ef901639c` | same Plan 02 worktree | complete; changes required; worker released | P1 truthy gate bypass plus executable/non-JSON object input identity |+| Plan 02 contract hardening | `task_baf33a609db0` / `ctx_48534ddcf89f` | same Plan 02 worktree | implementing | serialized request-only API, strict envelope, adversarial regressions || Plan 09 re-review | `task_1bd82b008a77` / `ctx_ca2a0176b52f` | same Plan 09 worktree | complete; no findings; worker released | full diff and both factual corrections verified before PR #3458 |-| Plan 09 hosted review follow-up | `task_a44e374822b4` / `ctx_89e6769df19d` | same Plan 09 worktree | reviewing | commit `2d3ca10`; select earlier revision with path-filtered log plus chosen commit reference |+| Plan 09 hosted review follow-up | `task_a44e374822b4` / `ctx_89e6769df19d` | same Plan 09 worktree | complete; changes required; worker released | selected revision prints correctly but no importable file is created |+| Plan 09 hosted review fix round 2 | `task_8605c30ca032` / `ctx_2e0aa7be1312` | same Plan 09 worktree | implementing | non-destructive recovered-file command plus synthetic proof || Plan 11 independent review | `task_7d5d4c1417a9` / `ctx_17ee05faf9e7` | same Plan 11 worktree | complete; changes required | attachment-format overclaim and duplicated patch/restore guidance || Plan 11 review fix | `task_351a96e90b69` / `ctx_e398c9128731` | same Plan 11 worktree | complete; worker released | commit `e05977007`; attachment promise removed and adjacent guidance deduplicated || Plan 11 re-review | `task_86a66b578544` / `ctx_3bb8017e8676` | same Plan 11 worktree | complete; no findings; worker released | exact head `e05977007`; 52 focused tests and full diff verified before PR #3459 |diff --git a/docs/execution/briefs/fix-review-plan-02-round3.md b/docs/execution/briefs/fix-review-plan-02-round3.mdnew file mode 100644index 000000000..e40484f7f--- /dev/null+++ b/docs/execution/briefs/fix-review-plan-02-round3.md@@ -0,0 +1,32 @@+# Address third independent review: plan 02++Read `.orchestration/plan-02-rereview-round3.md`, pinned approved plan 02, current `AGENTS.md`, RTK, and applicable+receiving-code-review/TDD/documentation skills. Reproduce both findings before editing.++Use strict TDD. Narrow comparator public input contract to one serialized JSON request string. This is approved engineering+correction: object-envelope inputs are no longer accepted. A non-string runtime argument must be rejected immediately,+before any property access, schema parsing, serialization, accessor call, proxy trap, or caller method. Keep returned+manifest deterministic and add an explicit stable invalid-input reason/identity convention where needed.++After parsing the primitive string with `JSON.parse`, strictly validate complete envelope before hashing:++- non-empty string case/source IDs and either null or non-empty string target ID;+- literal booleans for all three safety flags; named gate failures still apply only to valid `false` values, while truthy+ non-booleans are invalid input;+- required JSON-compatible source/target values with target presence invariant retained;+- no unknown envelope keys, executable/non-JSON values, NaN/Infinity, or lossy envelope normalization.++Parsed JSON creates inert data; retain exact current-v5 resume validation, raw-vs-schema canonical equality checks,+deterministic SHA-256 hashes, no-op/export-copy semantics, and pure/no-network/no-write/no-output behavior. Update migration+docs to say comparator accepts a serialized comparison request only, not object arguments.++RED regressions must cover each reported bypass: string `"false"` for each safety flag; numeric/empty IDs; top-level+accessor/proxy objects with zero getter/trap calls; schema-valid changing getters if passed as object; malformed request+JSON/NaN; distinct non-JSON-versus-null identity; all prior boxed-string/custom-`toJSON`/template/target mismatch cases.+Adapt success tests to serialized request input. Prefer a small strict Zod input schema if available through public package+exports; avoid custom recursive proxy detection because narrowing to JSON text removes that surface.++Run focused RED/GREEN tests, tooling typecheck, relevant API/auth checks and typechecks, boundaries, narrow Biome/Markdown,+static import, diff/four-file scope gates. Add normal follow-up commit. Write `.orchestration/plan-02-review-fix-round3.md`+with reproductions, RED/GREEN, exact commit/files, commands/results, skipped gates, risks. Do not push/open PR/merge/mutate+issues/spawn subagents. Final response at most ten lines.diff --git a/docs/execution/briefs/fix-review-plan-09-round2.md b/docs/execution/briefs/fix-review-plan-09-round2.mdnew file mode 100644index 000000000..77db188b8--- /dev/null+++ b/docs/execution/briefs/fix-review-plan-09-round2.md@@ -0,0 +1,14 @@+# Address plan 09 hosted-review follow-up finding++Read `.orchestration/plan-09-hosted-review-rereview.md`, pinned approved plan 09, current `AGENTS.md`, RTK, and applicable+receiving-code-review/documentation skills. Verify finding in a disposable two-revision local repository before editing.++Make smallest one-guide correction: add explicit plain-Git command that saves selected earlier `resume.json` revision to+a new importable filename such as `recovered-resume.json`, without overwriting current `resume.json`. Direct following+dashboard instruction to that recovered file. Preserve selected-commit log/show workflow, privacy warning, import-as-new+behavior, no remote/push/global config/sync/destructive replacement, and two-doc base scope.++Rerun synthetic two-revision workflow and prove selected earlier content exists in recovered file while current+`resume.json` remains current. Run 152 focused tests, Markdown lint, forbidden-command/link/diff/scope gates. Commit normal+follow-up. Write `.orchestration/plan-09-hosted-review-fix-round2.md` with verification, exact commit/files, commands/results,+skips, risks. Do not push/merge/resolve threads/mutate issues/spawn subagents. Final response at most ten lines.