Self-Maintaining Constellation Pattern

How to automate your constellation endpoints so they stay current without manual maintenance - a key advancement carried forward into v7.1.

The Problem

Manually updating 6 constellation artifacts and the surrounding discovery layer every time your site changes is tedious and error-prone. A self-maintaining constellation uses scripts and AI agent prompts to keep all endpoints current, validated, and in sync automatically.

Reference Automation Scripts

ScriptResponsibilityTrigger
calculate_karma.pyCompute Digital Karma Score, write karma.jsonDaily or on content change
update_federation.pyRefresh timestamps, regenerate health.jsonOn rebuild
harvest_data.pyPull site data from approved sourcesScheduled
rebuild.shMaster orchestration: runs all scripts, validates outputOn deploy

Agent System Prompt

Define an agent system prompt at /prompts/agent-system.md that gives an AI agent its role and operating boundaries. Core responsibilities: Monitor, Harvest, Validate, Update, Report.

The agent can read files, update /data/, /datasets/, and /ai/ directories, and run validators - but should never remove required endpoints or change the constellation version without approval.

Getting Started

Start with the master rebuild script. Even a simple shell script that runs the karma calculator, refreshes timestamps, and verifies that /robots.txt still points to the root /sitemap.xml is a meaningful first step. Reference implementation at AI Website Systems.

Constellation Audit

Check a live site against what you just read

Use the constellation audit to compare a public implementation against the current Digital Karma rules and export a starter upgrade package.

Public URLs only. Instant results. Exportable upgrade package.

← Back to Knowledge Base