Files
SeedPass/memory-update.md
T

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 --force failed 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 --force
    • npx --no-install torch-lock doctor reported 7 passed, 0 warned, 0 failed.

Operational note

  • In this repo, when torch-lock update is run with --prefix torch, path resolution can collide on torch/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 when path.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 --force now succeeds (no src and dest cannot be the same error).
  • Update created backup: torch/_backups/backup_2026-02-26T13-45-30-661Z.
  • npx --prefix torch --no-install torch-lock doctor reports: 7 passed, 0 warned, 0 failed.

Operator Context Note (Adam)

  • bitvid is a different project Adam is working on.
  • If a prompt context references bitvid instead of SeedPass, 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 markers registration for network under [tool.pytest.ini_options] to remove PytestUnknownMarkWarning.
  • Added narrow pytest warning filters for known third-party GUI deprecation noise (Pack.padding*).
  • For imghdr deprecation triggered during test_imghdr_stub import, added a local warnings.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.svg with a lock/keyhole glyph in SeedPass terminal-green colors.
  • Wired favicon metadata into both landing/index.html and landing/docs.html (rel="icon", rel="alternate icon", and theme-color) so tab/icon branding is consistent across the landing site.
  • Landing theme accent system was centralized in landing/style.css CSS variables; changing --accent-primary/secondary propagated icon color updates (Font Awesome <i> styles) across both home and docs pages.
  • landing/docs.css had a few hardcoded blue RGBA backgrounds for hover/active/table headers that needed manual conversion to green to fully complete a palette swap.