fix(pulse): point the business freshness pill at WORK/YOUR_COMPANIES - #2104
Open
pai-scaffolde wants to merge 1 commit into
Open
fix(pulse): point the business freshness pill at WORK/YOUR_COMPANIES#2104pai-scaffolde wants to merge 1 commit into
pai-scaffolde wants to merge 1 commit into
Conversation
tab-freshness.ts registered the business tab's only source as USER/BUSINESS. The shipped USER scaffold has no such directory: business data lives at USER/WORK/YOUR_COMPANIES (the installer layout, canonical per issue danielmiessler#1720), which is also what observability.ts reads (BUSINESS_DIR). So on every install the pill reported "no sources on disk" / unknown. Register the directory that exists. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Reproduced on a fresh LifeOS 7.40.4 install (macOS, Claude Code in the Claude desktop app); the fix was applied to that install and run there before filing.
Observed
Pulse business tab freshness pill: "no sources on disk" / tier
unknown, forever, whileUSER/WORK/YOUR_COMPANIES/(README.md, AOS.md, SAMPLE_COMPANY/) is present andobservability.tsreads it fine.Root cause
LIFEOS/PULSE/modules/tab-freshness.ts:76registers the business tab's only source asUSER/BUSINESS. The shipped USER scaffold has noBUSINESS/; business data lives atUSER/WORK/YOUR_COMPANIES— the pathobservability.tsuses (BUSINESS_DIR = join(USER_DIR, "WORK", "YOUR_COMPANIES")) and the layout #1720 made canonical. The two Pulse readers disagreed and the pill read the one that never exists.Fix
Register
WORK/YOUR_COMPANIES/(expand: direct.mdchildren, as the other entries). Other staleUSER/BUSINESSmentions in docs (CurationCoverage.md,SecurityClassification.md) are documentation and left alone here.How tested
Probe: HOME pointed at a temp dir holding a copy of the shipped
install/USERscaffold,GET /api/tab-freshness?tab=businessthrough the module'shandleRequest:Transpiles (
bun build --target=bun --no-bundle). On the live install the pill now reports the dated sources after a Pulse restart.🤖 Generated with Claude Code