54 Commits

Author SHA1 Message Date
Nicholas Ferguson 0b2be85cb0 chore(skills): remove authors registry sidecar 2026-06-01 15:07:01 -04:00
Nicholas Ferguson 40fb64574b chore(skills): remove legacy metadata commands 2026-06-01 15:07:01 -04:00
Nicholas Ferguson c4ba78ca81 docs(reference): introduce Cortex first-party skills reference page 2026-05-13 16:04:09 -04:00
Nicholas Ferguson 3edec43a55 docs(skill-showcase): add architecture & audit section for new skills 2026-05-13 16:03:54 -04:00
Nicholas Ferguson 370b9c5bb7 chore(manpages): regenerate cortex-tmux.1 for session commands
Output of `cortex dev manpages`. Picks up the three subcommands
shipped earlier in this branch: session-new, session-kill, attach.
No other manpage changed (same-day regen so date stamps are stable;
no new top-level subparsers so pyproject.toml needs no update).

`cortex dev validate-manpages` passes.
2026-05-02 20:15:52 -04:00
Nicholas Ferguson 5844932692 chore(manpages): regenerate and register cortex-hooks.1 in pyproject
Output of `cortex dev manpages`. Surfaces two changes:

  1. cortex-tmux.1 picks up the new subcommands shipped in this
     branch (say, sessions, snapshot, rename) plus the --cwd flag
     on `tmux new` and pane-syntax targeting.
  2. cortex-hooks.1 was generated for the first time — the `hooks`
     subparser had been live in the CLI for a while but the manpage
     wasn't registered as a setuptools data-file, so users who
     installed via pip never got `man cortex-hooks`.

The other 17 manpages show date-stamp-only diffs; no content change.

`cortex dev validate-manpages` passes after the pyproject update.
2026-05-02 19:34:19 -04:00
Nicholas Ferguson 39762f58b8 docs: update manpages 2026-04-23 17:56:43 -04:00
Nicholas Ferguson 94bd04a31a refactor(cli): delete deprecated cortex review (use cortex suggest --review)
cortex review printed a deprecation notice on every invocation pointing
to cortex suggest --review, which has been the functional replacement.
Matches today's pattern (worktree, ai, file, dev validate).

Retained:
- claude_ctx_py/cmd_review.py — still imported by cmd_suggest.py:439
  for the cortex suggest --review code path
- cortex suggest --review with the same flags (--dry-run, --context)

Removed: parser block, handler, dispatch entry, orphaned cortex-review.1
manpage. Regenerated cortex.1 to reflect the shrunk surface.

Top-level surface: 19 -> 18.
2026-04-23 17:56:43 -04:00
Nicholas Ferguson 1d399776e7 chore(docs): add new manpages for cortex-completions, notes, and suggest
Three manpages that are new files (not modifications):
- cortex-completions.1: previously missing (regenerator caught this)
- cortex-notes.1: new command introduced in f29c031 (memory -> notes)
- cortex-suggest.1: new file despite suggest being an existing command

Generated alongside the regeneration in 5c08b6b; split into a separate
commit because these are new files rather than modifications.
2026-04-23 17:56:43 -04:00
Nicholas Ferguson fbd9e97f86 chore(docs): regenerate manpages for CLI changes
All 16 .1 files re-synced to match the new CLI shape:
- New subcommands: cortex notes, cortex docs --memories/--plans,
  cortex install aliases, cortex suggest --record-success,
  --ingest-review
- Removed subcommands: cortex worktree, ai, memory, plan, file,
  dev validate
- New manpage: cortex-completions.1 (previously missing)

Regenerated via: cortex dev manpages
Verified via: cortex dev validate-manpages
2026-04-23 17:56:43 -04:00
Nicholas Ferguson e21aded915 refactor(agent-loops): rename test-review-request.sh to diff-test-audit.sh
The old name collided semantically with the test-review skill (which
is the module-audit tool). The new name makes the distinction clear:
diff-test-audit runs per-commit coverage checks on the current diff;
the test-review skill is for module-level audits.

This is a mechanical rename — all 42 references across skills, docs,
tests, backlog, and sibling scripts are updated. The script's
underlying methodology (LLM reviewer using the shared audit workflow)
is unchanged; narrowing the audit methodology to focus only on
diff-introduced behaviors is a separate concern that needs prompt-
engineering and output evaluation work.

Environment variable names (TEST_REVIEW_PROVIDER, etc.) are
intentionally left unchanged — they are a user-facing API and would
constitute a breaking change if renamed.
2026-04-23 17:56:43 -04:00
Nicholas Ferguson 8c1ca5ace0 docs(ref): document multi-specialist-review skill in showcase
Adds a multi-specialist-review entry to both the internal docs
(docs/reference/skill-showcase.md) and the public site
(site/reference/skills.md). Placed under Multi-Agent Coordination Skills
alongside agent-loops, its parent before extraction.

Highlights the user-triggered nature, the five-phase orchestration, the
zero-API-cost deterministic phases, and the Claude-Code-only constraint.
2026-04-23 17:56:43 -04:00
Nicholas Ferguson 43c1f75e97 chore(hooks): remove legacy plugin manifest and stale moved-readme
hooks/hooks.json was the Claude Code plugin manifest from when Cortex
was distributed as a plugin. Registration now lives exclusively in
~/.claude/settings.json, managed through the TUI Hooks view. The file
had four internal references remaining (core/hooks.py:314,
tui/dialogs/hooks_manager.py:181, tui/main.py:595, cli.py:125-130),
but all call sites except the CLI check is_file() before invoking
validate_hooks_config_file() and gracefully no-op when missing. The
only surviving impact is that "cortex hooks validate" without a path
argument will error instead of validating a nonexistent default.

docs/reference/moved-readmes/hooks.md was a 425-line plugin-era doc
describing seven hooks that do not exist in hooks/
(implementation-quality-gate.sh, parallel-workflow-enforcer.sh,
safety_pre_tool_guard.py, context_pack_injector.py,
memory_auto_capture.py, changelog_gate.py, plus a referenced
HOOK_DOCUMENTATION.md archive) and omitting the six that do. The
content conflicted with site/guides/hooks.md and no inbound references
pointed at it other than the stub in hooks/README.md, which was
rewritten in the prior commit.
2026-04-12 18:33:19 -04:00
Nicholas Ferguson b4a8e41a68 fix(agent-loops): detect gemini review sessions 2026-04-11 21:38:18 -04:00
Nicholas Ferguson 806fffde6f chore(manpages): update generated date stamps 2026-03-27 05:44:41 -04:00
Nicholas Ferguson 70d4b1e59a docs(manpages): auto-discover subcommands and generate all manpages 2026-03-24 03:48:17 -04:00
Nicholas Ferguson 8b9319375a docs(site): cut over GitHub Pages to targeted user docs 2026-03-23 23:31:44 -04:00
Nicholas Ferguson 8043ef46c6 refactor(skills): move agent-loops into shared catalog 2026-03-13 20:10:53 -04:00
Nicholas Ferguson 86c97ec81c docs(agent-loops): refresh showcase and references 2026-03-13 03:34:25 -04:00
Nicholas Ferguson 8f04a722eb docs: fix stale references and add skill recommendation architecture
- Add skill recommendation engine architecture doc with data flow
  diagrams, strategy table, and integration point reference.
- Add docs navigator (NAVIGATOR.md) organized by topic and audience.
- Fix broken _config.yml header_pages (removed missing guides/agents.md).
- Fix presentation links (cortex-* → claude-ctx-* filenames).
- Remove all phantom feature references: flags/, FLAGS.md, triggers.yaml.
- Update counts: agents 29→28, skills 100+→124, commands 49→116.
- Replace 8 broken AI_IMPLEMENTATION_SUMMARY.md links.
- Remove phantom agents from workflow examples.
2026-03-08 03:27:04 -04:00
Nicholas Ferguson 8ef59a1cc5 docs(reference): add skill showcase highlighting 18 sophisticated skills
Curated guide to the most non-obvious skills organized by capability:
meta-cognitive, verification, debugging, multi-agent coordination,
ideation, and efficiency. Includes what makes each skill sophisticated
and when to trigger it. Linked from the reference index.
2026-03-06 17:03:22 -05:00
Nicholas Ferguson 0348090e39 docs: remove phantom feature references and fix stale documentation
Remove references to non-existent modes/, workflows/, profiles/, scenarios/,
and flags/ directories across 11 documentation files. These described a
planned "three-layer system" that was superseded by the current skills-based
architecture.

Key changes:
- AGENTS.md: update core module tree to match actual codebase
- docs/index.md: fix version (2.0.0 → 3.0.1), remove Mode/Workflow/Flag sections
- docs/guides/hooks.md: replace 7 phantom hooks with 9 actual hooks
- docs/reference/api/index.md: list actual core modules
- docs/reference/architecture/: remove three-layer references, fix paths
- Archive quick-reference.md (entirely phantom content)
- Fix broken modes.html links and stale CLI command references
2026-03-06 15:05:47 -05:00
Nicholas Ferguson 35ebb2abe3 refactor: remove unused cortex-workflow placeholder
Remove cortex-workflow references since the command is not implemented
and workflow orchestration is currently handled through composition of
existing commands (agent, skills, review, plan, export, ai).

- Remove workflow subcommand from validation and generation
- Remove cortex-workflow.1 from manpage bundle
- Delete placeholder cortex-workflow.1 manpage file

This keeps the build clean and only bundles manpages for implemented
commands (cortex.1 and cortex-tui.1).
2026-02-24 20:58:43 -05:00
Nicholas Ferguson def8a73af3 feat(dev): add pre-release manpage validation command
Add 'cortex dev validate-manpages' command to validate that installed
manpages are current with CLI definitions. This ensures manpages don't
fall out of sync during development.

- Implements validate_manpages() function in dev_validate_manpages.py
- Compares generated manpages against stored files
- Returns exit code 0 if all current, 1 if any stale
- Integrates into CLI dev subcommands with --verbose and --docs-dir options
- Fixes path resolution in dev_manpages.py to use project root
- Regenerates manpages to match current CLI definitions

This addresses the need for pre-release validation before packaging
or deployment to ensure documentation stays synchronized with code.
2026-02-24 20:58:43 -05:00
Nicholas Ferguson aae9850d22 docs: fix outdated references and rewrite INSTALL.md
Major cleanup of documentation with outdated information:

Rewrites:
- INSTALL.md - Complete rewrite to match current CLI commands
  - Removed references to non-existent commands (install bootstrap, install package)
  - Updated to use actual commands (install link, install post)
  - Added comprehensive usage examples and troubleshooting
  - Simplified structure matching README.md

Deletions:
- INSTALL_TEST_PLAN.md - Testing non-existent commands and wrong paths

Global replacements (37 files):
- ~/.cortex/ → ~/.claude/ (all occurrences)
- cortex-py → claude-cortex (all occurrences)

Files updated:
- Installation guides (INSTALL.md, getting-started.md)
- API documentation (installer.md, prompts.md)
- Architecture docs (DIAGRAMS_README.md, VISUAL_SUMMARY.txt)
- Feature guides (hooks.md, skills.md, memory.md, etc.)
- AI integration docs (LLM_INTELLIGENCE_GUIDE.md, etc.)

All documentation now accurately reflects:
- Current CLI commands (cortex install link, cortex install post)
- Correct package name (claude-cortex)
- Correct config paths (~/.claude/)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 10:23:33 -05:00
Nicholas Ferguson b99aa76b42 chore: add code 2026-02-13 12:20:02 -05:00
Nicholas Ferguson 7dfae77d92 docs(reference): add configuration reference guide
Add comprehensive documentation for all cortex config files:
- cortex-config.json: Main launcher configuration
- memory-config.json: Memory vault settings
- skill-rules.json: Keyword-based skill matching
- recommendation-rules.json: File pattern recommendations
- onboarding-state.json: Wizard completion state

Each section includes schema definition, field descriptions, examples,
and usage instructions. Also adds JSON Schema validation setup for
VS Code and updates settings-files.md with links to the new docs.
2026-01-27 14:03:21 -05:00
Nicholas Ferguson 4938ac799f feat(cli): add first-run wizard for interactive setup
Adds a Rich-based wizard that auto-triggers when ~/.cortex doesn't
exist, guiding users through initial configuration including target
directory, shell completions, aliases, and rule symlinking.

- New wizard.py module with WizardConfig dataclass and 7-step flow
- --skip-wizard/--no-init flags and CORTEX_SKIP_WIZARD env var
- Auto-skips in non-interactive environments (CI, pipes)
- 16 unit tests covering detection, config, and error handling
2026-01-17 02:17:24 -05:00
Nicholas Ferguson 1a8aab044e feat(install): add bootstrap command to initialize ~/.cortex
- Add `cortex install bootstrap` command to copy bundled assets to ~/.cortex
- Creates rules/, flags/, modes/, templates/ directories
- Generates default cortex-config.json and FLAGS.md
- Copy plugins/ directory to bundled assets for packaging
- Update README with bootstrap instructions in installation flow

This fixes the issue where fresh package installs couldn't find assets
or generate configuration files.
2026-01-16 11:23:02 -05:00
Nicholas Ferguson cfc7baa7cf docs: update documentation and add new plugins
- Update installation and hooks documentation
- Add documentation viewer guide
- Add parallel workflow enforcer guide
- Update watch mode and memory guides
- Add beads issue tracking configuration
- Add marketplace plugin configuration
- Add new plugin templates (accessibility, cognitive, frontend, ux)
- Update agents with improved prompts
- Update build configuration and manifest
2026-01-15 17:02:54 -05:00
Nicholas Ferguson fdd1490df2 feat(core): enhance CLI, TUI, and watch mode functionality
- Add documentation viewer command (cmd_docs.py)
- Enhance CLI with improved completions and subcommands
- Add messages module for user communication
- Improve hooks system in core with better event handling
- Enhance launcher with additional configuration options
- Add TUI screens for improved navigation
- Enhance hooks manager dialog
- Improve watch mode with better file monitoring
- Bundle documentation site for offline viewing
2026-01-15 17:02:54 -05:00
Nicholas Ferguson 9d513032dc feat: support persistent claude args 2026-01-08 10:24:09 -05:00
Nicholas Ferguson 0abe56e04a chore: bump version to 2.0.0 2026-01-07 19:21:37 -05:00
Nicholas Ferguson 6f07bb5b6b chore: rename claude-ctx to cortex 2026-01-07 19:21:19 -05:00
Nicholas Ferguson c0fbf09205 docs(hooks): add hooks.json pointer 2026-01-07 19:20:22 -05:00
Nicholas Ferguson 677e20a6d9 docs(hooks): move examples to hooks.json 2026-01-07 19:20:22 -05:00
Nicholas Ferguson da398438ec feat(tui): add vi-style paging bindings 2026-01-07 19:20:22 -05:00
Nicholas Ferguson 26d17057d2 docs(install): document cli post-install flow 2026-01-07 19:20:22 -05:00
Nicholas Ferguson 82d7d0191e feat(install): add CLI post-install helpers 2026-01-07 19:20:22 -05:00
Nicholas Ferguson 2a4a772465 fix: unblock ci checks 2025-12-31 17:17:56 -05:00
Nicholas Ferguson 5d2b61c7c6 chore: version 1.6.0 2025-12-31 00:33:15 -05:00
Nicholas Ferguson d4797025c6 feat(agents): add 6 cookbook-inspired agents and harden memory security 2025-12-29 13:13:31 -05:00
Nicholas Ferguson 37d735038b wip 2025-12-29 13:13:31 -05:00
Nicholas Ferguson b155181997 wip 2025-12-20 02:49:52 -05:00
Nicholas Ferguson b0dab6e917 wip 2025-12-19 23:20:26 -05:00
Nicholas Ferguson 6ddf0243fc docs: add AI guides, plans, and update screenshots
Documentation:
- Add AI guides: LLM_INTELLIGENCE_GUIDE.md, LLM_QUICK_REFERENCE.md
- Add implementation docs: AI_IMPLEMENTATION_SUMMARY.md, AI_INTELLIGENCE.md
- Add planning docs: SEQUENTIAL_EXECUTION_PLAN.md, NEXT_ACTIONS.md
- Add progress docs: DAY1_COMPLETE.md, WEEK0_SUMMARY.md, MODEL_OPTIMIZATION.md
- Add copy-definition-feature.md for TUI copy functionality
- Add manpage-automation.md documenting auto-generation
- Add reference/README.md for manpage documentation

Screenshots:
- Add new screenshots: assets, backups, hooks, memory, skills, wizard series
- Update existing screenshots with improved visuals
- Remove deprecated screenshots: orchestration.png, overview-1.png, overview-2.png

Updates:
- Update TUI guides and entity documentation
- Update presentations with new features
- Update tutorials for new functionality
- Regenerate manpages reflecting CLI changes
2025-12-10 14:48:19 -05:00
Nicholas Ferguson 984923e0e1 feat(cli): add AI commands and enhance core functionality
- Add new CLI commands for AI features:
  - Memory vault commands
  - Asset management commands
  - Hook management commands
  - AI intelligence commands

- Enhance analytics.py with improved metrics collection
- Refactor skill_recommender.py for better recommendations
- Update shell_integration.py with new integration points
- Improve watch.py with enhanced file monitoring
- Minor updates to core/base.py, context_export.py, profiles.py
2025-12-10 14:47:29 -05:00
Nicholas Ferguson 2ac6698912 feat: major updates to commands, docs, and inactive agent consolidation
- Update slash command documentation with delegation protocols
- Add doctor command and design documentation
- Consolidate inactive agents into unified directory
- Add model optimization guide for Opus 4.5
- Update rules and workflow documentation
- Add unit tests for claude refs and slash commands
2025-11-26 01:24:36 -05:00
Nicholas Ferguson e00e3ca8e5 refactor: consolidate inactive contexts into unified directory
Move agents-disabled/ and modes-inactive/ into single inactive/
directory structure. Update core modules to parse CLAUDE.md refs
with new path patterns, enhance TUI components, and update docs.
2025-11-20 11:13:43 -05:00
Nicholas Ferguson 292dc57805 Revert "docs: focus GH Pages on guides and reference"
This reverts commit 34f4857ede.
2025-11-15 12:24:10 -05:00