feat(system): seedgo v2 operational, full system audit, 14/15 branches at 99%
Three days of intensive work bringing seedgo to full operational status and driving all branches through comprehensive standards compliance. Seedgo v2.0.0: - 22 checkers active (up from 20), standards pack fully operational - New introspection standard researched from Dev-Pass, FPLAN-0017 open - Bypass system for false positives (.seedgo config) - Standards query and audit commands fully functional System-wide audit (FPLAN-0016): - All 14 auditable branches at 99%+ compliance - CLI imports standardized across all branches (console from cli.apps.modules) - handle_command(command, args) → bool contract added to all modules - print_help() function naming fixed for checker pattern matching - Handler extraction: large modules split, file I/O moved to handler layer - New handlers created across ai_mail, backup, daemon, flow, skills, spawn, seedgo Branch-specific highlights: - ai_mail: email.py split 840→420 lines, 4 new handlers - flow: dplan_flow.py 688→591 lines, 4 new handlers - seedgo: massive restructure — standards moved to handlers/aipass_standards/, old standards/ tree removed, bypass system added, diagnostics module - commons: database module added, CLI imports fixed - skills: 5 handle_commands added, help function renamed - trigger: error reporter handler, handle_command routing - All branches: consistent architecture, clean drone routing Culture doc (CLAUDE.md) added — documents AIPass philosophy, identity, memory system, and collaboration principles. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
09e759a8a4
commit
babedd9c64
@@ -1,17 +1,9 @@
|
||||
# ===================AIPASS====================
|
||||
# META DATA HEADER
|
||||
# Name: json_handler.py - JSON Auto-Creating Handler
|
||||
# Date: 2026-03-07
|
||||
# =================== AIPass ====================
|
||||
# Name: json_handler.py
|
||||
# Description: JSON Auto-Creating Handler
|
||||
# Version: 1.0.0
|
||||
# Category: commons/apps/handlers/json
|
||||
#
|
||||
# CHANGELOG (Max 5 entries):
|
||||
# - v1.0.0 (2026-03-07): Ported from dev system for AIPass public framework
|
||||
#
|
||||
# CODE STANDARDS:
|
||||
# - Pure functions with proper error raising
|
||||
# - No sys.path manipulation
|
||||
# - Handler: no console.print
|
||||
# Created: 2026-03-07
|
||||
# Modified: 2026-03-07
|
||||
# =============================================
|
||||
|
||||
"""
|
||||
@@ -25,22 +17,17 @@ import json
|
||||
import os
|
||||
import inspect
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
from typing import Dict, Any, Optional
|
||||
|
||||
try:
|
||||
from aipass.prax.apps.modules.logger import system_logger as logger
|
||||
except ImportError:
|
||||
import logging
|
||||
logger = logging.getLogger("commons.json_handler")
|
||||
from aipass.prax.apps.modules.logger import system_logger as logger
|
||||
|
||||
# Constants
|
||||
AIPASS_ROOT = os.environ.get("AIPASS_ROOT", os.path.expanduser("~"))
|
||||
COMMONS_DIR = os.path.join(AIPASS_ROOT, "The_Commons")
|
||||
BRANCH_JSON_DIR = os.path.join(COMMONS_DIR, "the_commons_json")
|
||||
JSON_TEMPLATES_DIR = os.path.join(
|
||||
os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))),
|
||||
"json_templates"
|
||||
)
|
||||
# Constants - relative path resolution (pip-safe, no hardcoded absolutes)
|
||||
_HANDLER_DIR = Path(__file__).resolve().parent # .../commons/apps/handlers/json/
|
||||
_APPS_DIR = _HANDLER_DIR.parent.parent # .../commons/apps/
|
||||
_COMMONS_ROOT = _APPS_DIR.parent # .../commons/
|
||||
BRANCH_JSON_DIR = str(_COMMONS_ROOT / "commons_json")
|
||||
JSON_TEMPLATES_DIR = str(_APPS_DIR / "json_templates")
|
||||
|
||||
|
||||
def _get_caller_module_name() -> str:
|
||||
|
||||
Reference in New Issue
Block a user