feat(cli): add AI-first super-admin command coverage#5
Merged
Conversation
…ut, FollowStream Foundation layer establishes exit code mapping (0 success, 1-6 error types), TTY-aware output auto-switching based on terminal capabilities, and FollowStream abstraction for streaming log handling. Breaking change: TTY auto-switch moves from config-only to intelligent detection. Includes inline fixes: handler-error sentinel pattern, MaxRetries=0 hardening, GOCLAW_OUTPUT validation.
…figs, edition Establishes tenant isolation context, heartbeat SIGINT handler for graceful shutdown, system configuration inspection, and edition info commands. Adds permissions subcommand with C1 confirm fix gating configuration revocation. Implements systemic tui.Confirm fix: non-interactive mode now requires --yes flag to prevent interactive prompts in automation.
Adds signed URL download and multipart upload abstractions for large file handling. Implements backup/restore with S3 support and per-domain export (agents/teams/skills/MCP). Inline fixes: S3 secret multi-field masking, URL escape tenant ID in paths, error body propagation for debugging, MkdirAll parent directory creation, typed confirmation on restore operations.
Implements vault subsystem for document management, link tracking, file upload with streaming, full-text search, knowledge graph visualization, and semantic enrichment. Tree output formatter provides hierarchical display. Inline fixes: content pass-through on documents create, URL escape tree --path and documents --q parameters for special character safety.
…itical max polish Core AI agent management commands with JSON schema export, chat with AI primitives, team collaboration with task management, and semantic memory graph. Modularized files <200 LoC per component. Inline fixes: kg entities upsert JSON validation, agents wait command timeout with websocket cleanup, WSClient.Close sync.Once race fix for concurrent shutdown.
…command extensions Completes CLI surface: pair device linking, OAuth provider whitelist verification, package management, send as AI inter-agent primitive, quota inspection. Extends channels, MCP, skills, providers, tools, and admin with subcommands for deep management. Inline fixes: URL escape throughout for special characters, channels pending delete --all guard prevents accidental system-wide wipe.
Synchronizes project documentation: roadmap phases marked complete, changelog entries for all major features, codebase summary reflecting new modularity, code standards updated with new patterns. Plan directory with all phase files and implementation reports from expanded CLI surface.
Closes remaining gaps after P0-P5 ship:
P0 - Critical surface
- hooks (list/create/update/delete/toggle/test/history) via WS hooks.*
- agents files (list/get/set with --propagate) for global context files
P1 - Lifecycle & analytics
- agents cancel-summon
- agents skills list
- usage timeseries / breakdown
P2 - Coverage completion
- tts test-connection
- voices list / refresh
- memory kg extract -> /v1/agents/{id}/kg/extract (legacy path retired)
- files sign (signed URL)
- teams workspace upload / move (multipart)
- packages github-releases
All commands honor AI-first ergonomics contract: JSON envelope, central
error handler, --yes for destructive ops, --quiet for CI.
Round 2 audit after P0-P5 + P0-P2 expansion ship: ~95% server coverage achieved (vs ~70% R1). Residual gaps cluster into: - P3 AI-critical (~250 LoC): multi-profile, sessions compact, health, traces filter polish - P4 UX polish batch 1 (~400 LoC): codex-pool umbrella, api-keys rotate, config defaults, chat replay/resume, agents prompt-preview, tools invoke, storage size - P5 fillers + verify batch 2 (~250 LoC): writers groups, contacts unmerge, agents instances, mcp tools, evolution patch/apply, team attachments - P6 deferred — server FR backlog (no CLI work, file upstream issues)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
origin/maininto the feature branch and resolves conflicts.Validation
go test -count=1 ./...go vet ./...go build ./...Notes
AGENTS.mdremains untracked locally and is not part of this PR.