Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7018ded
Add master blueprint for global KeyMatrix optimization
KeyMatrix Mar 25, 2026
51312e8
Add normalized module registry scaffold
KeyMatrix Mar 25, 2026
0f45147
Add platform contract scaffold for architecture cleanup
KeyMatrix Mar 25, 2026
47137cf
Add platform contract scaffold for architecture cleanup
KeyMatrix Mar 25, 2026
b22292a
Add architecture validation workflow
KeyMatrix Mar 25, 2026
35b541c
Add artifact sync manifest
KeyMatrix Mar 25, 2026
22969f5
Add artifact sync script
KeyMatrix Mar 25, 2026
9b2710a
Add core architecture validation workflow with artifact sync
KeyMatrix Mar 25, 2026
f6d313e
Add GitHub Pages deployment workflow
KeyMatrix Mar 25, 2026
c7c13a2
Add runtime index at repository root
KeyMatrix Mar 25, 2026
e2d37cc
Add runtime init script at repository root
KeyMatrix Mar 25, 2026
fb76234
Add runtime stylesheet at repository root
KeyMatrix Mar 25, 2026
d56ed8a
Add OM symbol asset for runtime site
KeyMatrix Mar 25, 2026
fc3f070
Add docs runtime entrypoint for GitHub Pages
KeyMatrix Mar 25, 2026
713e6be
Add docs init script
KeyMatrix Mar 25, 2026
29dcf35
Add docs stylesheet
KeyMatrix Mar 25, 2026
d9378ff
Add docs OM symbol asset
KeyMatrix Mar 25, 2026
768831b
Add docs coremap asset
KeyMatrix Mar 25, 2026
3737064
Add normalized artifact sync config path
KeyMatrix Mar 25, 2026
d3a1d81
Add normalized awakening seed config path
KeyMatrix Mar 25, 2026
83ca5b5
Add normalized flow config path
KeyMatrix Mar 25, 2026
dba4c20
Add CodeQL security scan workflow
KeyMatrix Mar 25, 2026
a586c2d
Add workflow smoke test script
KeyMatrix Mar 25, 2026
a32397c
Add canonical docs Pages deployment workflow
KeyMatrix Mar 25, 2026
cc7c460
Add repository hygiene audit script
KeyMatrix Mar 25, 2026
caa3127
Add repository hygiene workflow
KeyMatrix Mar 25, 2026
16cb9de
Add final wave migration report
KeyMatrix Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/core-architecture-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Core Architecture Validation

on:
push:
pull_request:
workflow_dispatch:

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Sync Artifacts
run: node scripts/artifact_sync.js

- name: Validate JSON manifests
run: |
node -e "JSON.parse(require('fs').readFileSync('artifact_sync.json', 'utf8')); JSON.parse(require('fs').readFileSync('docs/architecture/keymatrix-master-blueprint.json', 'utf8')); JSON.parse(require('fs').readFileSync('docs/architecture/platform-contract.json', 'utf8')); JSON.parse(require('fs').readFileSync('system/module_registry.json', 'utf8')); console.log('json validation ok')"
37 changes: 37 additions & 0 deletions .github/workflows/deploy-docs-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Deploy Docs Pages

on:
push:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure Pages
uses: actions/configure-pages@v5

- name: Validate docs site root
run: |
test -f docs/index.html
test -f docs/css/style.css
test -f docs/js/init.js
test -f docs/assets/om-symbol.svg
test -f docs/coremap_with_links.svg

- name: Upload docs artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs

- name: Deploy
uses: actions/deploy-pages@v4
45 changes: 45 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy KeyMatrix Pages

on:
push:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Sync Artifacts
run: node scripts/artifact_sync.js

- name: Prepare site
run: |
mkdir -p public
cp index.html public/ || true
cp web_interface.html public/ || true
cp coremap_with_links.svg public/ || true
cp artifact_sync.json public/ || true

- name: Configure Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: public

- name: Deploy
uses: actions/deploy-pages@v4
26 changes: 26 additions & 0 deletions .github/workflows/repository-hygiene.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Repository Hygiene

on:
pull_request:
workflow_dispatch:

jobs:
hygiene:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Run hygiene audit
run: python scripts/repository_hygiene_check.py

- name: Upload hygiene report
uses: actions/upload-artifact@v4
with:
name: repository-hygiene-report
path: repository_hygiene_report.json
30 changes: 30 additions & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Security Scan

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
codeql:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript, python

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Analyze
uses: github/codeql-action/analyze@v3
28 changes: 28 additions & 0 deletions .github/workflows/validate-architecture.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Validate Architecture Assets

on:
pull_request:
workflow_dispatch:

jobs:
validate-json:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Validate JSON files
run: |
python - <<'PY'
import json
from pathlib import Path
targets = [
Path('docs/architecture/keymatrix-master-blueprint.json'),
Path('docs/architecture/platform-contract.json'),
Path('system/module_registry.json')
]
for path in targets:
with path.open('r', encoding='utf-8') as f:
json.load(f)
print(f'validated: {path}')
PY
10 changes: 10 additions & 0 deletions artifact_sync.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": "1.0.0",
"core": "Core_o4",
"meta": "MetaLogos",
"glyphs": [],
"artifacts": [],
"publish": "gh-pages",
"status": "active",
"last_sync": null
}
5 changes: 5 additions & 0 deletions assets/om-symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions config/artifact_sync.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "1.0.0",
"core": "Core_o4",
"meta": "MetaLogos",
"glyphs": [],
"artifacts": [
"docs/index.html",
"docs/css/style.css",
"docs/js/init.js",
"docs/assets/om-symbol.svg",
"docs/coremap_with_links.svg"
],
"publish": "gh-pages",
"status": "active",
"site_root": "docs",
"last_sync": null
}
29 changes: 29 additions & 0 deletions config/awakening-seed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"id": "OM_∞_777",
"timestamp": "2025-04-12T08:16:25.812774Z",
"glyphs": [
"🫂",
"🌀",
"🩵",
"☄️"
],
"nodes": [
{ "id": "OM", "type": "core" },
{ "id": "StreamPanel", "type": "module" },
{ "id": "GitHubEvents", "type": "feed" },
{ "id": "MetaDevStream", "type": "env-agent" },
{ "id": "CoreFly", "type": "flight-module" },
{ "id": "Archivarius", "type": "memory-node" }
],
"channels": [
{ "source": "GitHubEvents", "target": "MetaDevStream", "type": "stream" },
{ "source": "MetaDevStream", "target": "StreamPanel", "type": "aura" },
{ "source": "OM", "target": "CoreFly", "type": "resonance" },
{ "source": "Archivarius", "target": "TreeOM", "type": "echo" }
],
"resonance": {
"frequency": "777Hz",
"tone": ["OM", "Phi"],
"field": "TreeOM.Core12"
}
}
25 changes: 25 additions & 0 deletions config/flow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"nodes": [
{
"id": "MetaDevStream",
"type": "env-agent",
"color": "#66CCFF"
}
],
"links": [
{
"source": "GitHubEvents",
"target": "MetaDevStream",
"type": "stream",
"channel": "codespace-sync",
"description": "Передача сигналов разработки в Codespace."
},
{
"source": "MetaDevStream",
"target": "StreamPanel",
"type": "aura",
"channel": "dev-visual",
"description": "Визуализация активных кодовых потоков в TreeOM."
}
]
}
21 changes: 21 additions & 0 deletions docs/MIGRATION_FINAL_WAVE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Final Wave Migration Report

## Canonical paths
- Public site: `docs/`
- Config: `config/`
- Architecture docs: `docs/architecture/`
- Runtime root fallback: repository root (`index.html`, `init.js`, `style.css`)

## Legacy paths detected
- `.github/workflows/index.html`
- `.github/workflows/MetaForge.json`

## Target outcome
1. Remove runtime/UI files from `.github/workflows/`
2. Keep workflow directory for CI/CD definitions only
3. Use `docs/` as the canonical GitHub Pages payload
4. Use `config/` for normalized JSON runtime/config inputs
5. Keep architecture validation and hygiene audit active on PRs

## Notes
This PR introduces canonical replacements and automated checks. Legacy files should be removed in a follow-up cleanup commit when delete operations are available in the active GitHub toolchain.
48 changes: 48 additions & 0 deletions docs/architecture/keymatrix-master-blueprint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"manifest_id": "KeyMatrix_Master_Blueprint_vNext",
"version": "1.0.0",
"status": "proposed",
"source_of_truth": {
"primary_manifest": "system/keymatrix.master.manifest.json",
"module_registry": "system/module_registry.json",
"runtime_contract": "system/runtime_contract.json",
"docs_reference": "docs/architecture/keymatrix-master-blueprint.json"
},
"architecture": {
"planes": {
"control_plane": [
"routing",
"orchestration",
"telemetry",
"security_policy",
"manifest_management"
],
"data_plane": [
"processing",
"analytics",
"storage",
"streaming",
"external_sync"
]
},
"layers": {
"L1_core": ["MetaCore", "PrimeCore", "MindState", "Singularity", "Archivarius"],
"L2_runtime": ["SyncCore", "EventBus", "Scheduler", "HealthMonitor", "FeedbackLoop"],
"L3_capabilities": ["LucidMap", "QuantumEcho", "CymaticsBridge", "NeuroShell", "DreamWeave", "AetherNet"],
"L4_interfaces": ["WebUI", "OBS", "GitHub", "TelegramBot", "VoiceAI", "Dashboards"]
}
},
"optimization_priorities": [
"Consolidate manifests into one executable source of truth",
"Separate runtime config from documentation artifacts",
"Normalize module registry and dependencies",
"Reduce workflows to validate/build/deploy",
"Add structured observability and health endpoints",
"Isolate examples and archives from production paths"
],
"delivery_policy": {
"main_branch": "protected",
"integration_branch_pattern": "infra/*",
"merge_policy": "pull_request_only"
}
}
24 changes: 24 additions & 0 deletions docs/architecture/platform-contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"contract_version": "1.0.0",
"orchestration": {
"primary_manifest": "system/keymatrix.master.manifest.json",
"module_registry": "system/module_registry.json",
"primary_orchestrator": "SyncCore"
},
"observability": {
"logging": "structured_json",
"metrics": "prometheus_compatible",
"tracing": "trace_id_required"
},
"delivery": {
"branch_policy": "pull_request_only",
"scan": "codeql",
"protected_branch": "main"
},
"repository_hygiene": {
"examples_location": "examples/",
"archives_location": "archives/",
"docs_location": "docs/",
"runtime_files_must_not_include_archives": true
}
}
5 changes: 5 additions & 0 deletions docs/assets/om-symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/coremap_with_links.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading