Mini Hero

Nova Memory & Awareness Workflow

Daily Sync: GitHub Actions + Node.js Scripts

Nova’s awareness system is powered by a series of scripts that run daily or manually via GitHub Actions. These scripts analyze the codebase, extract meaningful signals, and generate awareness files.

Active Scripts in /scripts/

  • scanSiteStructure.js — Map folder + page structure
  • componentScan.js — Index includes + layout modules
  • imageAudit.js — Log hero/media/card assets
  • codeFootprint.js — Count files + lines across codebase
  • jsFunctionMap.js — Map function names in /scripts
  • generateCodeMap.jsNEW: Code Awareness Sensor (JS/CSS/HTML map)
  • unusedCSS.js — Identify potentially unused classes
  • moodScan.js — Detect site tone and writing style
  • aiPromptGenerator.js — Create poetic AI prompt of the day
  • apiMonitor.js — Ping HuggingFace + Meme API
  • changelogSnapshot.js — Pull last 10 Git commits
  • versionTracker.js — Capture commit hash + timestamp
  • generateNovaBoot.js — Combine all into Nova’s memory file

Outputs → /data/

Each run generates awareness JSON files used in the dashboard and site logic:

  • nova-session-boot.txt – Nova’s unified memory file (for GPT or local AI)
  • nova-session-boot.html – Human-readable boot log
  • code-map.jsonNEW: Tag + function map across JS/CSS/HTML
  • api-monitor.json, ai-prompts.json, mood-scan.json...

Automation Flow

.github/workflows/update-nova-memory.yml
└── node scripts/*.js
    ├── analyze
    ├── write to /data/*.json
    └── push to Git → triggers Azure deploy
      

About the Code Awareness Sensor

This system reads all JS, CSS, and HTML across the site and builds:

  • Total counts of tags, class names, and functions
  • Extracted function/class/tag names across all directories
  • Timestamped entries for use in code-map.json

This output enables Nova to reflect on the evolving codebase, mention new functions, and generate targeted feedback or prompts.

Nova v2.3 | All Modules Operational | Last updated: April 10, 2025