Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

Add System Constitution Layer for Brittek machine-readable architecture - #2

Closed
brittek wants to merge 3 commits into
mainfrom
claude/slack-session-EmxKJ
Closed

brittek wants to merge 3 commits into
mainfrom
claude/slack-session-EmxKJ

Conversation

@brittek

@brittek brittek commented Jun 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds four foundational primitives to transform Brittek from a website into a self-regulating operating system with machine-readable architecture.

New files:

  • brittek-system-constitution.ts — Complete type system for System State Model, Content Atoms, Dual Rendering, and System Graph
  • brittek-design-tokens.ts — BOS UDES v2026.1 token extraction (color, typography, spacing, geometry, motion)
  • brittek-content-atomization-guide.md — Migration guide for extracting hardcoded JSX into structured atoms
  • brittek-journal-subsystem.md — MDX-based journal layer implementation guide

Target: lib/system/ in brittek-base-website

Implements:

  1. System State Model (runtime semantics for stateful page interpretation)
  2. Content Atomization (separate content from presentation into structured atoms)
  3. Journal Layer (MDX-based content lifecycle and memory system)
  4. Dual Rendering Engine (simultaneous human + agent views)

Test plan

  • Copy files to brittek-base-website lib/system/ directory
  • Follow content-atomization-guide.md to extract principles, capabilities, work artifacts
  • Follow journal-subsystem.md to implement MDX compilation and routes
  • Test /site-index.json and /llm.json agent views
  • Verify dual rendering in browser (human) and curl (agent)

🤖 Generated with Claude Code

https://claude.ai/code/session_01GkPNCW7m8mRUuVjigtdh23


Generated by Claude Code

claude added 3 commits June 4, 2026 08:39
Initialize @brittek/bkos package for Brittek Operating System integration with Vue.js core.

Created:
- Package structure with composables, components, system layer
- Type definitions for BKOS APIs
- Plugin system for Vue integration
- System bridge for OS interaction
- Initial composables (useProcess, useFileSystem)
- Comprehensive integration plan and task breakdown

This establishes the foundation for Phase 1 of BKOS integration.

https://claude.ai/code/session_EmxKJ
Add stub implementations for all BKOS composables, components, and system modules:

Composables:
- useWindow: Native window control
- useSystemResources: Resource monitoring
- useIPC: Inter-process communication

Components:
- BKWindow, BKProcess, BKFileExplorer
- BKSystemTray, BKMenuBar

System modules:
- ProcessManager, FileSystemManager, WindowManager

Also includes pnpm-lock.yaml update for package dependencies.

All code passes linting and type checking.

https://claude.ai/code/session_EmxKJ
Four foundational primitives for machine-readable architecture:

- brittek-system-constitution.ts: Complete type system (SystemNode, SystemState, DesignPrinciple, Capability, WorkArtifact, JournalEntry, AgentView, SystemIndex, LLMContextPayload)
- brittek-design-tokens.ts: BOS UDES v2026.1 design tokens (color, typography, spacing, geometry, motion)
- brittek-content-atomization-guide.md: Migration guide for extracting hardcoded JSX into structured atoms
- brittek-journal-subsystem.md: MDX-based journal layer with compiler and route implementation

Target: lib/system/ in brittek-base-website

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GkPNCW7m8mRUuVjigtdh23
@brittek
brittek marked this pull request as ready for review June 18, 2026 10:41
@brittek

brittek commented Jun 18, 2026

Copy link
Copy Markdown
Owner Author

Cancel - Wrong repo to commit

@brittek brittek closed this Jun 18, 2026
@brittek
brittek deleted the claude/slack-session-EmxKJ branch June 18, 2026 10:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants