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,6 +1,8 @@
|
||||
# CLI
|
||||
|
||||
Display and output formatting service for AIPass modules. Provides consistent terminal output — headers, success/error/warning messages, section breaks, and operation templates — so every module looks the same without duplicating Rich formatting code.
|
||||
**Purpose:** Display and output formatting service for AIPass modules. Provides consistent terminal output — headers, success/error/warning messages, section breaks, and operation templates — so every module looks the same without duplicating Rich formatting code.
|
||||
**Module:** `aipass.cli`
|
||||
**Last Updated:** 2026-03-08
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -48,3 +50,29 @@ cli/
|
||||
|
||||
- `apps/modules/` — Public API. Import from here.
|
||||
- `apps/handlers/` — Internal implementation. Don't import directly.
|
||||
|
||||
## Commands / Usage
|
||||
|
||||
```bash
|
||||
drone @cli --help # Show services and Rich formatting showcase
|
||||
drone @cli --version # Show version
|
||||
drone @cli help # Same as --help
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Integration Points
|
||||
|
||||
### Depends On
|
||||
- `aipass.prax` — Logging via `system_logger`
|
||||
- `rich` — Rich library for terminal formatting (Table, Panel, Columns, Text)
|
||||
- Python stdlib (`sys`, `importlib`, `pathlib`)
|
||||
|
||||
### Provides To
|
||||
- All modules — display formatting (headers, success/error/warning, section breaks)
|
||||
- All modules — operation templates (`operation_start`, `operation_complete`)
|
||||
- All modules — Rich console access
|
||||
|
||||
---
|
||||
|
||||
*Last Updated: 2026-03-08*
|
||||
|
||||
@@ -1,17 +1,9 @@
|
||||
|
||||
# ===================AIPASS====================
|
||||
# META DATA HEADER
|
||||
# Name: cli.py - CLI Branch Entry Point [SHOWROOM]
|
||||
# Date: 2025-11-12
|
||||
# Version: 0.2.0
|
||||
# Category: cli
|
||||
#
|
||||
# CHANGELOG (Max 5 entries):
|
||||
# - v0.2.0 (2025-11-15): Added print_introspection() - the CLI showroom
|
||||
# - v0.1.0 (2025-11-12): Initial structure - service provider for display/output
|
||||
#
|
||||
# CODE STANDARDS:
|
||||
# - SHOWROOM - demonstrates CLI capabilities and architecture
|
||||
# =================== AIPass ====================
|
||||
# Name: cli.py
|
||||
# Description: Entry point CLI for drone @cli — display service and Rich formatting
|
||||
# Version: 1.0.0
|
||||
# Created: 2026-03-08
|
||||
# Modified: 2026-03-08
|
||||
# =============================================
|
||||
|
||||
"""
|
||||
|
||||
@@ -1,18 +1,9 @@
|
||||
|
||||
# ===================AIPASS====================
|
||||
# META DATA HEADER
|
||||
# Name: json_handler.py - JSON Auto-Creating Handler
|
||||
# Date: 2025-11-21
|
||||
# =================== AIPass ====================
|
||||
# Name: json_handler.py
|
||||
# Description: JSON auto-creating handler — manages CLI JSON files with templates and rotation
|
||||
# Version: 1.1.0
|
||||
# Category: cli/handlers/json
|
||||
#
|
||||
# CHANGELOG (Max 5 entries):
|
||||
# - v1.1.0 (2025-11-21): Refactored to comply with error handling
|
||||
# - v1.0.0 (2025-11-13): Initial JSON auto-creation system
|
||||
#
|
||||
# CODE STANDARDS:
|
||||
# - Pure functions with proper error raising
|
||||
# - No Prax imports (handler tier 3)
|
||||
# Created: 2025-11-13
|
||||
# Modified: 2025-11-21
|
||||
# =============================================
|
||||
|
||||
"""JSON Auto-Creating Handler - manages CLI JSON files with templates and auto-rotation."""
|
||||
|
||||
@@ -1,20 +1,9 @@
|
||||
|
||||
# ===================AIPASS====================
|
||||
# META DATA HEADER
|
||||
# Name: display.py - CLI Display Module
|
||||
# Date: 2025-11-15
|
||||
# =================== AIPass ====================
|
||||
# Name: display.py
|
||||
# Description: CLI Display Module — public API for Rich terminal output formatting
|
||||
# Version: 0.4.0
|
||||
# Category: cli/modules
|
||||
#
|
||||
# CHANGELOG (Max 5 entries):
|
||||
# - v0.4.0 (2025-11-15): Replaced argparse help with Rich formatted help (SEED pattern)
|
||||
# - v0.3.0 (2025-11-15): Restructured to follow SEED module pattern
|
||||
# - v0.2.0 (2025-11-12): Implemented Rich library formatting
|
||||
# - v0.1.0 (2025-11-12): Public API for display functions
|
||||
#
|
||||
# CODE STANDARDS:
|
||||
# - PUBLIC API - thin wrapper over handler implementation
|
||||
# - Follows SEED module pattern (introspection/help/command handling)
|
||||
# Created: 2025-11-12
|
||||
# Modified: 2025-11-15
|
||||
# =============================================
|
||||
|
||||
"""
|
||||
@@ -40,6 +29,9 @@ from rich.panel import Panel
|
||||
from rich.table import Table
|
||||
from rich.columns import Columns
|
||||
|
||||
# NOTE: Cannot import prax here — circular import (prax depends on cli)
|
||||
# from aipass.prax import logger
|
||||
|
||||
# Initialize Rich console (lowercase follows service instance pattern)
|
||||
CONSOLE = Console() # Internal constant
|
||||
console = CONSOLE # Primary export (lowercase service instance pattern)
|
||||
|
||||
@@ -1,19 +1,9 @@
|
||||
|
||||
# ===================AIPASS====================
|
||||
# META DATA HEADER
|
||||
# Name: templates.py - CLI Templates Module
|
||||
# Date: 2025-11-15
|
||||
# =================== AIPass ====================
|
||||
# Name: templates.py
|
||||
# Description: CLI Templates Module — reusable operation output patterns
|
||||
# Version: 0.3.0
|
||||
# Category: cli/modules
|
||||
#
|
||||
# CHANGELOG (Max 5 entries):
|
||||
# - v0.3.0 (2025-11-15): Restructured to follow SEED module pattern
|
||||
# - v0.2.0 (2025-11-12): Implemented Rich library formatting
|
||||
# - v0.1.0 (2025-11-12): Public API for output templates
|
||||
#
|
||||
# CODE STANDARDS:
|
||||
# - PUBLIC API - reusable output patterns
|
||||
# - Follows SEED module pattern (introspection/help/command handling)
|
||||
# Created: 2025-11-12
|
||||
# Modified: 2025-11-15
|
||||
# =============================================
|
||||
|
||||
"""
|
||||
@@ -32,6 +22,8 @@ from typing import Dict, Any, Optional, List
|
||||
|
||||
# Import console from CLI display module (using our own service!)
|
||||
from aipass.cli.apps.modules.display import console as CONSOLE
|
||||
# NOTE: Cannot import prax here — circular import (prax depends on cli)
|
||||
# from aipass.prax import logger
|
||||
|
||||
|
||||
# ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user