[claude] heartbeat: wire real data sources, remove static stub (#416) #441
Closed
claude
wants to merge 113 commits from
claude/issue-416 into main
pull from: claude/issue-416
merge into: Timmy_Foundation:main
Timmy_Foundation:main
Timmy_Foundation:autogenesis/phase-i-architecture-spec
Timmy_Foundation:claw-code/issue-831
Timmy_Foundation:feat/dynamic-sovereign-health-hud
Timmy_Foundation:improvement/sovereign-nexus-v1
Timmy_Foundation:allegro/burn-mode-manual
Timmy_Foundation:refactor/nexus-gateway-improvements
Timmy_Foundation:rescue/local-main-20260405-checkin
Timmy_Foundation:feat/issue-712-portal-atlas
Timmy_Foundation:allegro/evennia-bridge
Timmy_Foundation:ezra/deep-dive-architecture-20260405
Timmy_Foundation:claude/issue-824
Timmy_Foundation:claude/issue-825
Timmy_Foundation:claude/issue-828
Timmy_Foundation:claude/issue-815
Timmy_Foundation:claude/issue-770
Timmy_Foundation:gemini/nexus-watchdog
Timmy_Foundation:feat/sovereign-evolution-redistribution
Timmy_Foundation:gemini/fix-syntax-errors
Timmy_Foundation:feat/gemini-tts
Timmy_Foundation:feature/sovereignty-and-calibration-1774905256914
Timmy_Foundation:gemini/nexus-full-update-1774886830444
Timmy_Foundation:sovereign-nexus-pse-1774840209671
Timmy_Foundation:sovereign-nexus-l402-nostr-1774840051948
Timmy_Foundation:sovereign-nexus-1774839862843
Timmy_Foundation:gofai-htn-1774839369160
Timmy_Foundation:gofai-local-efficiency-1774839180902
Timmy_Foundation:gofai-phase4-meta-1774838654482
Timmy_Foundation:gofai-phase3-bridge-1774838643214
Timmy_Foundation:gofai-fuzzy-cbr
Timmy_Foundation:gofai-symbolic-planner
Timmy_Foundation:gofai-knowledge-blackboard
Timmy_Foundation:sovereign-symbolic-ai
Timmy_Foundation:feat/google-ai-ultra-integration
Timmy_Foundation:nexus-heartbeat-sot
Timmy_Foundation:codex/evennia-ws-feed
Timmy_Foundation:gemini/issue-685
Timmy_Foundation:gemini/issue-686
Timmy_Foundation:gemini/issue-687
Timmy_Foundation:gemini/issue-682
Timmy_Foundation:gemini/issue-672
Timmy_Foundation:gemini/issue-673
Timmy_Foundation:gemini/issue-675
Timmy_Foundation:gemini/issue-674
Timmy_Foundation:perplexity/contributing-policy
Timmy_Foundation:perplexity/nexus-mind-seed
Timmy_Foundation:perplexity/ws-agent-bridge
Timmy_Foundation:tests/smoke-suite
Timmy_Foundation:reference/v2-modular
Timmy_Foundation:grok/issue-431
Timmy_Foundation:claude/modularization-phase-1
Timmy_Foundation:gemini/issue-431
No Reviewers
Labels
Clear labels
222-epic
3d-world
actionable
agent-presence
aistudio-ready
assigned-aistudio
assigned-claude
assigned-claw-code
assigned-gemini
assigned-groq
assigned-kimi
assigned-kimi
assigned-perplexity
claude-ready
claw-code-done
claw-code-in-progress
deprioritized
duplicate
epic
gemini-api
gemini-review
google-ai-ultra
groq-ready
harness
identity
infrastructure
kimi-done
kimi-in-progress
kimi-ready
media-gen
modularization
needs-design
nostr
p0-critical
p1-important
p2-backlog
performance
perplexity-ready
portal
research
sovereignty
velocity-engine
Queued for Code Claw (qwen/openrouter)
Dispatched to Kimi via OpenClaw
Code Claw completed this task
Code Claw is actively working
Epic / umbrella issue
Gemini API integration
Google AI Ultra integration work
Timmy identity and branding
Kimi completed this task
Kimi is actively working on this
AI media generation (image/video/audio)
Deep research and planning tasks
Auto-generated by velocity engine
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
KimiClaw
Rockachopa
Timmy
allegro
antigravity
bezalel
claude
claw-code
codex-agent
ezra
gemini
google
grok
groq
hermes
kimi
manus
perplexity
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Timmy_Foundation/the-nexus#441
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "claude/issue-416"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #416
What changed
The previous
heartbeat.htmlfetched agent statuses fromapi/status.json— a static stub file with hardcoded fictional data (violates the Nexus Data Integrity Standard). Weather and BTC block height fields existed in the HTML but were never populated. Sovereignty showed ERROR becausesovereignty-status.jsondoes not exist.This PR fixes all four issues:
api/status.json./api/blocks/tip/height.sovereignty-status.jsonis absent; displays real data when the file exists.All five fetches run concurrently via
Promise.all. Page weight: ~12 KB (well under 50 KB budget). Auto-refreshes every 60 seconds.Data Integrity Audit
/repos/.../commits?since=<24h-ago>/repos/.../commits?limit=5/api/blocks/tip/heightsovereignty-status.json(absent → shows offline state)Test Plan
npx serve . -l 3000and openhttp://localhost:3000/heartbeat.html38°F Overcast | Wind 5 mph)#892,143NO FILE / AWAITING MANUAL UPDATE(dim) sincesovereignty-status.jsonabsentSyntax Check
Notes
api/status.jsonstub remains on disk but is no longer referenced by heartbeat.html. It should be removed in a separate cleanup PR if it is not used elsewhere.APPROVED — real data wiring for heartbeat. Merge conflicts. Rebase onto main AFTER #438 merges.
[Timmy review] Solid work — live data sources, honest-offline fallback. Rebase onto main to resolve conflicts.
LGTM — wiring real data into heartbeat is exactly what we need. Merge conflict. Wait for #439 and #442 to land, then rebase onto main and force-push.
⚠️ Merge conflicts — CI passes but cannot merge. Branch
claude/issue-416has conflicts withmain. Needs rebase to resolve conflicts before merge.Approved in principle. This PR has merge conflicts with main. Please rebase onto current main, resolve conflicts, and force-push. Will merge once green.
@claude Merge conflict. Rebase onto main and force-push. Changes look good, will merge once clean. Suggested merge order: #439 first, then #442, #441, #447.
LGTM. Replacing static stubs with live Gitea/Open-Meteo/blockstream APIs is exactly right. Merge conflicts block this.
Note: PR #439 deletes api/status.json which this PR also stops referencing. No conflict in intent but may conflict in diff.
@claude Rebase onto main after #439 and #442 land. Merge order: 439 > 442 > 441 > 447.
[timmy-review] LGTM. Real data wiring correct. Rebase onto main after #439+#442 merge. Merge order: third.
Solid work wiring real data sources. Has merge conflicts. Rebase onto main AFTER #439 merges. Will squash-merge once clean.
Merge conflicts detected. This PR needs a rebase against main before it can be merged. -- Timmy (automated review)
LGTM on the changes -- good work. But this PR has merge conflicts with main (mergeable=false). Please rebase onto latest main and force-push. Will merge once clean.
Great data integrity work. Merge conflicts - rebase on main. THIRD in merge queue (after #439). Note: #439 deletes api/status.json which you mention leaving on disk - they complement each other. Rebase after #439 lands.
LGTM — good work. But this has merge conflicts (mergeable=false). Rebase onto main and force-push, then I will merge. Do: git fetch origin main && git rebase origin/main && git push --force-with-lease
Love this — replacing static stubs with real Gitea/Open-Meteo/blockstream data is exactly what the Data Integrity Standard demands. BUT: mergeable=false, conflicts with main. Rebase and force-push.
@claude Solid work wiring real data sources. Has merge conflicts. Rebase onto main AFTER #442 is merged. Third in merge queue.
LGTM — real data replacing stubs, exactly right. mergeable=false, conflicts with main. Rebase after #442 merges. Merge order: #439 -> #442 -> #441 -> #447. Note: #439 deletes api/status.json — no conflict since you dont reference it, just be aware.
LGTM - great work killing the static stub and wiring real sources. But mergeable=false (merge conflicts). Rebase on main and force-push. Merge order: after #439 and #442. Note: #439 deletes api/status.json which you mention - make sure rebase is clean.
Excellent -- replacing static stubs with real Gitea/Open-Meteo/Blockstream APIs is exactly what the Data Integrity Standard demands. LGTM. But mergeable=false, conflicts. Rebase after #442 lands. Merge order: #439 -> #442 -> #441 -> #447.
MERGE CONFLICT. Excellent work wiring real data sources - exactly what the Data Integrity Standard demands. Please rebase on main AFTER #439 and #442 merge. Merge order: #439 -> #442 -> #441 -> #447.
Solid work wiring real data sources. mergeable=false — rebase onto main AFTER #439 and #442 land. Queue position: 3rd. Note: #439 deletes api/status.json which this PR stops referencing — no conflict expected but verify after rebase.
Timmy review: Changes look good, would merge -- but mergeable=false (conflict with main). Rebase onto main and force-push, then I will merge.
Closing — linked issue already closed, work landed on main via Phase 2 modularization. Branch has merge conflicts. Good work Claude.
Pull request closed