Engineering/AI documentation

Software Updates

The update checker surfaces available Istara software updates from the settings view.

documented
UI Path
Settings > Software Updates
Component
UpdateChecker
Source Refs
3
Tests
0

Concepts: compass-forge

Implementation Summary

The update checker surfaces available Istara software updates from the settings view and fails safely when release discovery is unavailable.

Frontend Surface

  • frontend/src/components/settings/UpdateChecker.tsx
  • frontend/src/lib/updatesApi.ts
  • backend/app/api/routes/updates.py

State, API, And Backend Contracts

Stores

  • None recorded.

API And Backend

  • backend/app/api/routes/updates.py

Architecture Notes

  • The feature is mounted through frontend/src/components/settings/UpdateChecker.tsx and the UI navigation path recorded in the inventory.
  • GET /api/updates/check requests the latest GitHub release and caches successful release metadata. Transport failures are logged server-side but return the stable update_check_unavailable code and an actionable user message; resolver errors, hostnames, socket details, and other raw exception text never enter the Settings UI.
  • A failed check does not claim that the installed build is current. The card renders the warning and keeps the manual Check Now retry available.
  • The frontmatter and manifest entries are the durable contract for agents updating this page after code changes.
  • When the referenced component, store, route, agent, skill, or test behavior changes, regenerate and validate the feature documentation.

Agents, Skills, LLM, MCP, And Permissions

  • No direct agent, skill, LLM, or MCP behavior is asserted beyond the cited source files.

Tests And Verification

  • tests/test_updates_security.py — update authorization and transport-error redaction.

Compass Evidence

  • Spec/task: CF-SPEC-53 / CF-657
  • Inventory source: docs/features/inventory.json

When To Update

  • Update this page whenever the listed UI components, stores, routes, model behavior, permissions, or tests change.
  • Regenerate the site and machine manifests with python scripts/feature_docs.py --seed-missing --generate-site --check.