Developer Tooling • Local-First AI • SQLite Time-Machine

AI Update_Context App & Master Change-Log Vault

A zero-friction architectural snapshot bundler, SHA-256 version-control vault, and local LLM documentation engine built for AI-assisted software engineering.

Master AI Context Vault / Dashboard
Master AI Context Vault and Change-Log Inspector: project selection, snapshot metrics and green/red Python source changes.
Original local Streamlit dashboard · built by Justin Samuel ParsonsCAPTURE / NOT A HOSTED ENGINE
  • SHA-256 Diff Engine
  • 1-Click File Time-Machine
  • Local Gemma 2 Powered
  • Bidirectional Script Sync

01 / THE PROBLEM

AI moves fast. Context gets lost.

Feeding multi-file codebases to LLMs means manual copy-pasting, accidental exposure of .env keys and oversized JSON or lockfiles. Rapid AI-assisted iterations can leave little visibility into what changed, when it changed or how to recover.

02 / THE SOLUTION

A clean bundle. A lasting record.

Drop in the launcher and scan. A token-optimized project_context.txt gives the AI useful architectural context, while master_context_vault.db records additions, modifications, deletions and line-by-line diffs across repositories.

CONTEXT / CONTINUITY / RECOVERY

Why project_context.txt Supercharges AI-Assisted Engineering

A single developer profile, multiple AI platforms and connected local repositories—with a repeatable record of what the AI saw, what changed and what can be recovered.

01 / PORTABILITY

Change models. Keep your project context.

One plain-text architectural snapshot travels between Google Gemini, OpenAI ChatGPT, Anthropic Claude, Lovable and local Ollama (Gemma 2). Start a fresh conversation without rebuilding the project’s background from memory.

02 / ARCHITECTURAL AWARENESS

Fewer guesses between connected files.

A discovered file manifest and included source show how the bundler, dashboard and README generator fit together. That shared reference helps the AI reason about imports, data structures and cross-file changes instead of inventing missing connections.

03 / ONE DEVELOPER, MANY REPOSITORIES

A shared memory for a connected toolkit.

AI Voice Agent, Focus-Manager and the Context App report into one master_context_vault.db. The local Streamlit inspector on port 8502 brings their history into a single developer workspace.

04 / CONTEXT HYGIENE

Useful source, without the bulk.

The described filtering pipeline excludes .env and .gemini_key, strips UTF-8 BOMs, caps files at 150KB and reduces large JSON to a 40-line preview. Less scaffolding leaves more room for architectural reasoning.

The 3-Step AI Coding Loop

Local repositories → reviewed context → AI-assisted iteration → inspectable history.

Drop & Run · explanation & verification

Scan the local repository, compare SHA-256 signatures, log changes in SQLite and create a clean project_context.txt.

Output: architectural context bundle + recorded file changes

Check: inspect the manifest and excluded files; review the bundle for secrets.

Reliability: visible evidence, explicit limits.

What the supplied dashboard demonstrates

The original capture shows 6 tracked source files, 36,132 context characters, 2 snapshot runs and 9 recorded file modifications. Its expanded diff displays a concrete change in changelog_dashboard.py: +9 / −17 lines. This is visible evidence of local tracking and inspection—not a fabricated performance benchmark.

What still needs a reproducible check

The screenshot alone does not verify successful file restoration, synchronization across every repository, secret-filter coverage or README accuracy. Demonstrating those requires source review, a before/after restore check and repeatable local tests. Richer context supports reliability; it cannot promise zero broken imports, zero hallucinations or universal two-second handoffs.

03 / DASHBOARD FEATURE TOUR

From scan to understanding.

Every change has a trace.

Each scan compares SHA-256 content signatures and records ADDED, MODIFIED and DELETED events. Python’s difflib turns revisions into unified diffs with exact added and removed line counts.

SHA-256 signatures / unified diffs / +lines & −lines

ILLUSTRATIVE EXCERPT / DIFFS

changelog_dashboard.py · MODIFIED

+9 lines / −17 lines

@@ context preview @@
- st.text_area("Context", content)
+ st.text_area(
+   "Context", content,
+   key=f"txt_ctx_{project_id}"
+ )

The tour illustrates the local app. Portfolio visitors cannot scan repositories, restore files or access the local model. Context exclusions reduce exposure; review bundles before sharing them.

04 / SYSTEM ARCHITECTURE

Six files. One connected workflow.

Snapshot engine

update_context.py

Compiles project_context.txt, computes SHA-256 signatures, calculates unified diffs with difflib and synchronizes file history with the central SQLite vault.

Source scan → content filtering → signature comparison → snapshot + change events → context bundle

05 / TECHNOLOGY

Local by design.

  • Python 3.15
  • SQLite3
  • Streamlit
  • Ollama (Gemma 2)
  • SHA-256 & Difflib
  • Windows Batch Automation

Environment and architecture supplied by the author. The README HTTP client uses Python’s standard library; the dashboard requires Streamlit and local generation requires an installed Ollama runtime and model. No cloud API cost does not mean no local hardware or electricity cost.

Part of a larger local-first toolkit.