Compare commits
1 Commits
claw-code/
...
feat/dynam
| Author | SHA1 | Date | |
|---|---|---|---|
| f1d8414974 |
@@ -1,2 +0,0 @@
|
||||
{"created_at_ms":1775428982645,"session_id":"session-1775428982645-0","type":"session_meta","updated_at_ms":1775428982645,"version":1}
|
||||
{"message":{"blocks":[{"text":"You are Code Claw running as the Gitea user claw-code.\n\nRepository: Timmy_Foundation/the-nexus\nIssue: #831 — [BUG] Missing robots.txt\nBranch: claw-code/issue-831\n\nRead the issue and recent comments, then implement the smallest correct change.\nYou are in a git repo checkout already.\n\nIssue body:\nThe production site `https://forge.alexanderwhitestone.com/` is missing a `robots.txt` file (404 Not Found). This is a best practice for SEO and crawler control.\n\nRecent comments:\n## Triage — Allegro\n\nThe missing `robots.txt` at `https://forge.alexanderwhitestone.com/robots.txt` is a **Gitea server-level issue**, not a `the-nexus` code defect.\n\nTo fix this, a `robots.txt` file needs to be placed in the Gitea static asset path (typically `/data/gitea/public/` inside the Gitea container or the equivalent host path) or served by the reverse proxy in front of Gitea.\n\n**Suggestion:** Move this issue to `timmy-config` or address it during the next Gitea server maintenance window.\n\nRerouting this small concrete issue to `claw-code` for the new dispatch lane. This is a bounded smoke-on-real-work handoff.\n\n🟠 Code Claw (OpenRouter qwen/qwen3.6-plus:free) picking up this issue via 15-minute heartbeat.\n\nTimestamp: 2026-04-05T22:42:59Z\n\nRules:\n- Make focused code/config/doc changes only if they directly address the issue.\n- Prefer the smallest proof-oriented fix.\n- Run relevant verification commands if obvious.\n- Do NOT create PRs yourself; the outer worker handles commit/push/PR.\n- If the task is too large or not code-fit, leave the tree unchanged.\n","type":"text"}],"role":"user"},"type":"message"}
|
||||
35
app.js
35
app.js
@@ -1169,24 +1169,53 @@ function updateDevQueue(issues) {
|
||||
}
|
||||
|
||||
|
||||
function updateSovereignHealth() {
|
||||
async function updateSovereignHealth() {
|
||||
const container = document.getElementById('sovereign-health-content');
|
||||
if (!container) return;
|
||||
|
||||
let metrics = { sovereignty_score: 100, local_sessions: 0, total_sessions: 0 };
|
||||
try {
|
||||
const res = await fetch('http://localhost:8082/metrics');
|
||||
if (res.ok) {
|
||||
metrics = await res.json();
|
||||
}
|
||||
} catch (e) {
|
||||
// Fallback to static if local daemon not running
|
||||
console.log('Local health daemon not reachable, using static baseline.');
|
||||
}
|
||||
|
||||
const services = [
|
||||
{ name: 'FORGE / GITEA', url: 'https://forge.alexanderwhitestone.com', status: 'ONLINE' },
|
||||
{ name: 'NEXUS CORE', url: 'https://forge.alexanderwhitestone.com/Timmy_Foundation/the-nexus', status: 'ONLINE' },
|
||||
{ name: 'HERMES WS', url: 'ws://143.198.27.163:8765', status: wsConnected ? 'ONLINE' : 'OFFLINE' },
|
||||
{ name: 'SIDE CAR', url: 'http://127.0.0.1:18789', status: 'LOCAL-ONLY' }
|
||||
{ name: 'SOVEREIGNTY', url: 'http://localhost:8082/metrics', status: metrics.sovereignty_score + '%' }
|
||||
];
|
||||
|
||||
container.innerHTML = '';
|
||||
|
||||
// Add Sovereignty Bar
|
||||
const barDiv = document.createElement('div');
|
||||
barDiv.className = 'meta-stat';
|
||||
barDiv.style.flexDirection = 'column';
|
||||
barDiv.style.alignItems = 'flex-start';
|
||||
barDiv.innerHTML = `
|
||||
<div style="display:flex; justify-content:space-between; width:100%; margin-bottom:4px;">
|
||||
<span>SOVEREIGNTY SCORE</span>
|
||||
<span>${metrics.sovereignty_score}%</span>
|
||||
</div>
|
||||
<div style="width:100%; height:4px; background:rgba(255,255,255,0.1);">
|
||||
<div style="width:${metrics.sovereignty_score}%; height:100%; background:var(--accent-color); box-shadow: 0 0 10px var(--accent-color);"></div>
|
||||
</div>
|
||||
`;
|
||||
container.appendChild(barDiv);
|
||||
|
||||
services.forEach(s => {
|
||||
const div = document.createElement('div');
|
||||
div.className = 'meta-stat';
|
||||
div.innerHTML = `<span>${s.name}</span> <span class="${s.status === 'ONLINE' ? 'pse-status' : 'l402-status'}">${s.status}</span>`;
|
||||
div.innerHTML = `<span>${s.name}</span> <span class="${s.status === 'OFFLINE' ? 'status-offline' : 'status-online'}">${s.status}</span>`;
|
||||
container.appendChild(div);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function updateNexusCommand(state) {
|
||||
|
||||
Reference in New Issue
Block a user