Skip to main content

Overview

The Work-Wiki system represents a fundamental innovation in how development history is captured and visualized. Unlike traditional Git which captures discrete snapshots (commits), Work-Wiki operates at a micro-level, recording every file save as a “sub-commit” that can later be linked to the actual Git commit. This architecture enables Work-Wiki to serve as an “upper concept” of Git - providing granularity that Git cannot offer while maintaining full integration with the existing Git workflow.

Contribution to THE CENTER

Current Implementation

The Work-Wiki system is implemented as a Rust module that records file changes before they are committed to Git. The core tracking functionality exists, but lacks the critical linkage to Git commits and AI attribution.

The 3-Layer Integration Architecture

The Work-Wiki extension creates a 3-layer architecture that unifies Git history with micro-level development tracking and AI attribution.

Data Flow Architecture

Schema Extension Design

The schema extension uses SQLite ALTER TABLE for backward-compatible migration that preserves all existing data.

Extended Schema Relationships

AI Session Detection Architecture

The AI session detection system uses a state machine to track when AI agents are actively making changes.

System Integration

File Watcher Integration

The Work-Wiki extension integrates with the existing NIIA Watcher daemon that monitors file system changes.

Git Commit Detection


Implementation Guide

Continue to Implementation for visualization components and frontend integration