Skip to content

test(mobile): check workspace and wallet worklet dependencies in About licenses - #165

Merged
juancguerrerodev merged 1 commit into
DojoCodingLabs:mainfrom
santinofuentesAI:test/about-licenses-packages
Nov 29, 2026
Merged

juancguerrerodev merged 1 commit into
DojoCodingLabs:mainfrom
santinofuentesAI:test/about-licenses-packages

Conversation

@santinofuentesAI

Copy link
Copy Markdown
Contributor

What and why

Closes #24

Extends apps/mobile/src/licenses.test.ts so the About screen (HM-SET-08) license check covers not only apps/mobile/package.json direct dependencies, but also every third-party dependency declared by reachable @hermit/* workspace packages (packages/*/package.json, walked recursively from apps/mobile's dependencies) and by apps/mobile/worklets/wallet/package.json.

  • Observed the new test fail first listing @noble/curves, @noble/hashes, @tetherto/wdk-wallet-evm, bare-crypto, bare-node-runtime, and bip39.
  • Added the matching packages arrays to those six existing entries in apps/mobile/src/licenses.ts.
  • Verified README.md's Credits section already matches (did not implement the lockfile transitive-dependencies stretch goal; kept the check focused on direct workspace and worklet manifests with node:fs).

Vision fit

Serves Principle 4 ("Honest about limits") and Principle 7 ("Small, typed and tested"): ensures the About screen and open-source notices stay accurate whenever a workspace package or the wallet worklet adds a dependency.

Non-negotiables

  • This keeps every non-negotiable in AGENTS.md as it is.
  • Or it changes one, and this is the accepted RFC: #

Checklist

  • It closes one issue, linked above, or it's a small fix (a typo, a broken link, a wrong comment). A feature has an accepted proposal.
  • I wrote the failing test first. It fails without this change and passes with it.
  • These pass: pnpm check:privacy, pnpm typecheck, pnpm lint, pnpm test and node scripts/guard/check.mjs --base origin/main --patterns scripts/guard/patterns.txt.
  • No new network call, telemetry, analytics, ads or crash reporting. (A new request in an app adapter is explained below, with its host, skill and risk.)
  • No new dependency, or the reason for each one is below. (node:fs only.)
  • Every UI string is in packages/copy, in es-419 and en, with matching keys and placeholders, and no em or en dashes. (n/a: no UI strings.)
  • Tests, fixtures and screenshots use made-up data only.

Model path

  • This doesn't touch the model path: packages/model, agent, skills or eval, the prompt, the router, tool descriptions, normalizers, examples or the model file.
  • It does. The eval numbers from before and after are below, run as docs/evals.md says. No held-out case was tuned on.

Screenshots

  • No UI change.
  • UI change. Each changed screen is below, in both themes and both languages, with made-up data.

New dependencies and network calls

n/a

AI agents

  • No AI agent wrote any part of this.
  • An AI agent helped. Which one, and what it did: Antigravity wrote the recursive workspace/worklet dependency scan in apps/mobile/src/licenses.test.ts, added the matching packages arrays in apps/mobile/src/licenses.ts, ran all five gates against origin/main (6b37497), and drafted this PR description.
  • I read and ran everything in this pull request, and I can explain it.

…t licenses (DojoCodingLabs#24)

Signed-off-by: Santino Fuentes <santinofuentesAI@users.noreply.github.com>
@juancguerrerodev
juancguerrerodev merged commit f54f01c into DojoCodingLabs:main Nov 29, 2026
4 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.

Test that the About screen credits every package the app ships

2 participants