mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-03 19:34:45 +00:00
3.2 KiB
3.2 KiB
Protocol Research Findings: The codebase uses bip_utils and nostr_sdk correctly. However, BIP85 implementation uses app_no=2 for symmetric key derivation, which is non-standard (usually 128 or 0). A regression test src/tests/test_bip85_compliance.py was added to document and monitor this behavior.
Memory Update - 2026-02-26
What was done
- Ran TORCH update and doctor checks for this repository.
- Preferred dedicated
torch/install path first, then fell back to repo-root updater flow.
Key findings
npx --prefix torch --no-install torch-lock update --forcefailed with:src and dest cannot be the same /home/user/Documents/GitHub/SeedPass/torch/src
- Repo-root flow succeeded:
npx --no-install torch-lock update --forcenpx --no-install torch-lock doctorreported7 passed, 0 warned, 0 failed.
Operational note
- In this repo, when
torch-lock updateis run with--prefix torch, path resolution can collide ontorch/src. - If that occurs, running the updater from repo root is a reliable fallback.
Resolution Applied - 2026-02-26
- Implemented same-path guards in
torch/src/ops.mjs:copyDir(src, dest)now skips whenpath.resolve(src) === path.resolve(dest).copyFile(src, dest, ...)now skips no-op self-copy operations for identical resolved paths.
- This aligns with upstream TORCH fix notes for self-hosted installs where package root equals install target.
Validation After Fix
npx --prefix torch --no-install torch-lock update --forcenow succeeds (nosrc and dest cannot be the sameerror).- Update created backup:
torch/_backups/backup_2026-02-26T13-45-30-661Z. npx --prefix torch --no-install torch-lock doctorreports:7 passed, 0 warned, 0 failed.
Operator Context Note (Adam)
bitvidis a different project Adam is working on.- If a prompt context references
bitvidinstead ofSeedPass, treat it as a likely working-directory mismatch. - In that case, ask Adam to confirm whether the active directory/repo is correct before making changes.
Follow-up (warnings cleanup)
- Added pytest
markersregistration fornetworkunder[tool.pytest.ini_options]to removePytestUnknownMarkWarning. - Added narrow pytest warning filters for known third-party GUI deprecation noise (
Pack.padding*). - For
imghdrdeprecation triggered duringtest_imghdr_stubimport, added a localwarnings.filterwarnings(...)at top of that test module to suppress import-time warning deterministically. - Verified final suite status:
766 passed, 11 skipped, no warnings.
UI update (landing favicon)
- Added a new
landing/favicon.svgwith a lock/keyhole glyph in SeedPass terminal-green colors. - Wired favicon metadata into both
landing/index.htmlandlanding/docs.html(rel="icon",rel="alternate icon", andtheme-color) so tab/icon branding is consistent across the landing site. - Landing theme accent system was centralized in
landing/style.cssCSS variables; changing--accent-primary/secondarypropagated icon color updates (Font Awesome<i>styles) across both home and docs pages. landing/docs.csshad a few hardcoded blue RGBA backgrounds for hover/active/table headers that needed manual conversion to green to fully complete a palette swap.