Owners can share their creator-fee view with other Luca users - #94
Merged
Merged
Conversation
Off unless the owner turns it on (migration 026, fee_sources.shared), per source and reversible: node dist/scripts/fee-source.js share 0xWallet 0xToken on|off. When shared, another user asking about the fees gets the same fixed-wording view, headed "shared by the owner of that wallet", built only from the fee tables (Bankr's readings, verified claims and the reconciliation) and the fee wallet's balance of the fee asset. None of the owner's other transactions, labels, wallets, balances, figures or identity is read for it. The machine report marks it "view": "shared_by_owner". The owner's own view says the view is shared. The switch never guesses: with no source, or several owners of the same fees and no user id, it changes nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KqcPsn2HCGWiE2FTmHKYEQ
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
danbuildss
pushed a commit
that referenced
this pull request
Sep 27, 2026
Not on the page until draft is false: the false-"Confirmed" fix (#90) and the shared ACCUM fee view (#94). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KqcPsn2HCGWiE2FTmHKYEQ
danbuildss
pushed a commit
that referenced
this pull request
Sep 27, 2026
- site/building.ts: the false-"Confirmed" fix (#90) and the shared ACCUM fee view (#94) are published, each with its PR as evidence. - landing/styles.css: .live-dot gets a soft ring that grows and fades every 2.4s (transform and opacity only); still for anyone who prefers reduced motion. - The same dot now sits beside CURRENTLY on /building and on every LIVE roadmap item, replacing the static dot; the homepage hero dot pulses too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KqcPsn2HCGWiE2FTmHKYEQ
8 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Dan's explicit override (Sep 27): let other Luca users ask about the ACCUM fees, while Dan keeps tracking the wallet. It's proof of work for the ACCUM experiment.
Migration 026 (additive):
fee_sources.shared(defaultFALSE) andshared_changed_at. Every source stays private until its owner turns sharing on.The switch:
node dist/scripts/fee-source.js share 0xWallet 0xToken on|off [userId], per source and reversible. It never guesses: with no source, or several users following the same fees and no user id, it changes nothing.statusnow shows whether a source is shared.What another user gets when it's shared (
src/fees/report.ts,src/fees/sources.ts):"view": "shared_by_owner".The shared view is built from the fee tables only:
fee_source_readingsfee_claim_checksrows (amount, time, transaction)balance_snapshotsrow for the fee assetIt never reads the owner's other transactions, labels, wallets, balances, figures or identity. Every query stays scoped to the source's own owner and wallet.
The owner still sees their own view once, and it ends with "You share this view with other Luca users (nothing else of yours)."
A prompt line: shared views are marked as shared; never speculate about the owner.
Why
Dan wants people to see the ACCUM fee activity Luca verifies, while he keeps the wallet and the books. Everything in the shared view is already public: Bankr publishes its figures and claims are on-chain. Luca adds its verification. This is a deliberate, opt-in exception to "no operator sees another's data", so it is per source, reversible, and limited to one fixed set of fields.
How it was verified
npm run lintandnpm run typecheckpassLUCA_INTEGRATION=1 npx vitest runpasses: 56 files, 536 teststests/integration/fee-report.test.ts)fee_owner. Another user's reply and machine report contain none of these (and not the owner's user id). They do contain the claim with its link, the BNKR balance and the "shared" heading.Checklist
user_id.Deploy:
cd /opt/luca && git pull && npm ci && bun run buildluca-api luca-worker luca-telegram.node dist/scripts/fee-source.js share 0xb54081ff3f6a90a5a1057d8a5537f7f14e376fdb 0x70aEb20cD233e044bB7676C34105712132F49Ba3 on🤖 Generated with Claude Code
https://claude.ai/code/session_01KqcPsn2HCGWiE2FTmHKYEQ
Generated by Claude Code