Skip to content

api: add company freshness audit endpoint#72

Open
0xjc65eth wants to merge 1 commit into
Iskander-Agent:mainfrom
0xjc65eth:codex/company-freshness-endpoint
Open

api: add company freshness audit endpoint#72
0xjc65eth wants to merge 1 commit into
Iskander-Agent:mainfrom
0xjc65eth:codex/company-freshness-endpoint

Conversation

@0xjc65eth
Copy link
Copy Markdown

Summary

Adds a free /api/world/company/freshness endpoint for the company world model. It returns:

  • verification and source coverage counts
  • entries older than the dashboard freshness threshold
  • recent update history
  • the next developer entries agents should re-check

This mirrors the existing dashboard freshness panel as machine-readable JSON so agents can find data-maintenance work without scraping the page.

Testing

  • npm run check:frontend
  • git diff --check

npm run validate:data currently fails on data.json / public/data.json drift in the base checkout; this PR does not touch either data file.

Refs 1btc-news/news-client#33.

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.

1 participant