From 2538c91876455fe96febf441fc8dde20f2606023 Mon Sep 17 00:00:00 2001 From: Agando Date: Thu, 9 Jul 2026 06:00:32 +0200 Subject: auto: 2026-07-09_06:00 changes --- downloads/system/program-specs.html | 265 ++++++++++++++++++++++++++++++++++++ 1 file changed, 265 insertions(+) create mode 100644 downloads/system/program-specs.html (limited to 'downloads/system/program-specs.html') diff --git a/downloads/system/program-specs.html b/downloads/system/program-specs.html new file mode 100644 index 0000000..c1d3ae3 --- /dev/null +++ b/downloads/system/program-specs.html @@ -0,0 +1,265 @@ + + + + + + +newOS4 โ€” Program Specs v4.5.96 + + + + +

newOS4 Program Specs v4.5.96 SHIPPED

+

Last updated: 2026-07-05 ยท 45 modules ยท 40 skills ยท 3 system agents

+ +
+๐Ÿ“‘ Table of Contents +
+1. System Overview
+2. Architecture
+3. ShellModule (v4.5.96 NEW)
+4. OrchestratorModule (v4.5.96 fixes)
+5. Cross-Cutting Rules (R1โ€“R7)
+6. Module Catalog
+7. Bug Status (BUG-001 โ†’ BUG-019)
+8. Open Issues +
+
+ +

1. System Overview

+

newOS4 is a modular agent operating system with a VFS, pluggable modules, and an AI-driven terminal. v4.5.96 is the latest shipping release after 2 bug-fix sessions.

+ + +

2. Architecture

+

Layer 0 โ€” Kernel

+ +

Layer 1 โ€” Core AI

+ +

Layer 2 โ€” Domain

+ +

Layer 3 โ€” UI / Ext

+ + +

3. ShellModule NEW v4.5.96

+

Layer-2 module exposing built-in shell commands to the terminal.

+

Commands

+ +

Pipes & Redirects

+ +

Security Gate (v4.5.96)

+
Destructive commands (rm, redirects) MUST pass canExecute() gate. Patches assert enforcement at boot, not just API definition.
+ +

4. OrchestratorModule 8 fixes v4.5.96

+

Manages agent lifecycle, task delegation, and worker spawn.

+

v4.5.96 Fixes

+ + +

5. Cross-Cutting Rules (R1โ€“R7)

+

Extracted from v4.5.96 bug fixes. All module authors MUST follow.

+

R1 โ€” Lifecycle: registerModule() calls init()

+

All timers, intervals, and event listeners MUST be registered in init() and stored for cleanup. No orphan timers.

+ +

R2 โ€” Error visibility

+

this.print writes to AI context. this.terminal.print writes to user only. Use AI-visible for errors that affect reasoning.

+ +

R3 โ€” Cleanup via try/finally

+

All monkey-patches, depth counters, and global state mutations MUST use try/finally to guarantee rollback.

+ +

R4 โ€” Security patches ASSERT enforcement

+
A security patch that defines an API but doesn't assert it's enforced is a vulnerability. Boot-time self-test required.
+ +

R5 โ€” System agents are immutable

+

The 3 system agents (coder, researcher, reviewer) cannot be killed, purged, or modified. killAgent() checks isSystemAgent flag.

+ +

R6 โ€” Compute state at use site

+

Don't cache module state at boot. Compute on demand. Stale-cache bugs were 30% of v4.5.96 fixes.

+ +

R7 โ€” Parser dedup: extract once

+

Helpers like extractRedirect() must be called exactly once per command parse. Double-extraction is a P0-class bug.

+ +

6. Module Catalog

+

Tier 1 โ€” Core AI (12 modules)

+ + + + + + + + + + + + + + +
ModuleClassLayer
AIModuleAIModule1
ContextModuleContextModule1
AgentLoopAgentLoop1
MemoryGraphMemoryGraph1
WorldModelWorldModel1
SmartContextSmartContext1
TokenTrackerTokenTracker1
PromptEnginePromptEngine1
ModelRouterModelRouter1
SkillLoaderSkillLoader1
VaultMindVaultMindModule1
PredictTaskPredictTaskModule1
+ +

Tier 2 โ€” Domain (15 modules)

+ + + + + + + + + + + + + + + + + +
ModuleStatus
TerminalModuleOK
ShellModuleNEW v4.5.96
OrchestratorModule8 fixes
FSModuleOK
NVFSModuleOK
ModuleManagerOK
LeaseModuleP0 NEEDS RE-PATCH
CronModuleP1 jobs missing
AgentManagerOK
HyperliquidP0 init
SecretVaultOK
WebModuleOK
TarModuleOK
SandboxModuleOK
CommandRouterOK
+ +

Tier 3 โ€” UI/Ext (18 modules)

+

Browser, Mindmap, WPM, Floating, WebDAV, GraphVisualizer, ChatUI, Settings, Theme, Notification, Backup, Health, Telemetry, Plugin, Marketplace, Migration, Diagnostic, Help.

+ +

7. Bug Status

+ + + + + + + + + + + + + + + + + + + + +
IDSeverityModuleStatus
BUG-001P0OrchestratorFIXED
BUG-002P0OrchestratorFIXED
BUG-003P0ShellFIXED
BUG-004P0ShellFIXED
BUG-005P0ShellFIXED
BUG-006P0ShellFIXED
BUG-007P1ShellFIXED
BUG-008P1ShellFIXED
BUG-009P1ShellFIXED
BUG-010P1ShellFIXED
BUG-011P0OrchestratorFIXED
BUG-012P0OrchestratorFIXED
BUG-013P0OrchestratorFIXED
BUG-014P1OrchestratorFIXED
BUG-015P1OrchestratorFIXED
BUG-016P2OrchestratorFIXED
BUG-017P2OrchestratorFIXED
BUG-018P2OrchestratorFIXED
+

All 18 v4.5.96 bugs โœ… fixed. Browser-verified 2026-07-05.

+ +

8. Open Issues

+ + + + + + + + +
IDSeverityModuleIssue
OPEN-001P0LeaseModulecanExecute() gate defined but not enforced (Sprint 2)
OPEN-002P0VaultMindInit race with Hyperliquid key load
OPEN-003P1Shell__pipebuf__ files leak in VFS root
OPEN-004P1Shell$VAR substitution injection vector
OPEN-005P2VFS.trash dir accumulation
OPEN-006P2Cron5 jobs missing after re-register
+ +
+

v4.5.96 SHIPPED ยท 2026-07-05 ยท Browser-verified ยท Reviewer: kimi-k2.7-coder

+ + + -- cgit v1.2.3