feat: AI investigation is the product, drop zero-dep constraint (#64) #65

Merged
claude-code merged 1 commit from feat/issue-64-ai-first-scope into main 2026-04-11 09:46:47 -06:00
Collaborator

Closes #64.

Two original design constraints are dropped:

  1. Zero-dependency Python CLI is no longer a goal. Luminos installs from requirements.txt like a normal Python project.
  2. AI investigation is the headline. The base scan becomes the agent's first input pass, not a standalone product. There is no --ai flag and no --no-ai mode. AI runs unconditionally on every invocation.

Watch mode is deleted as part of the same change because a non-AI filesystem-churn monitor conflicts with the new philosophy. If a live update mode is wanted later, it gets rebuilt as incremental AI re-investigation.

Code changes

  • Delete luminos_lib/watch.py
  • Delete luminos_lib/capabilities.py and tests/test_capabilities.py
  • Move clear_cache() into luminos_lib/cache.py
  • luminos.py: remove --watch, --ai, --install-extras flags. AI runs unconditionally after the base scan. If ANTHROPIC_API_KEY is unset, exit 0 with a one-line hint before running the base scan.
  • ai.py: drop the check_ai_dependencies() call and import.
  • New requirements.txt: anthropic, tree-sitter + grammars, python-magic.
  • setup_env.sh installs from requirements.txt.

Doc changes

  • README.md rewritten to lead with AI investigation, drops the two-modes framing and the watch feature line.
  • CLAUDE.md (project): rewrites Key Constraints, updates module map and Running Luminos commands.
  • PLAN.md: strips zero-dep philosophy from the file map and reframes the watch+incremental note as a future live-mode feature.
  • Wiki: Architecture.md, DevelopmentGuide.md, Home.md, Internals.md updated.

Verification

  • python3 -m unittest discover -s tests/ → 164 pass (down from 168 with the 4 removed capabilities tests).
  • python3 luminos.py --help shows the slimmed flag set.
  • python3 luminos.py /tmp with no ANTHROPIC_API_KEY exits 0 with the one-line hint before running the base scan.

Follow-up

  • Close #35 (incremental AI re-investigation in watch mode) as obsolete: watch mode no longer exists in the form that issue assumed. If/when a live-update mode comes back, it goes in as a new issue framed as incremental AI re-investigation.
Closes #64. Two original design constraints are dropped: 1. **Zero-dependency Python CLI** is no longer a goal. Luminos installs from `requirements.txt` like a normal Python project. 2. **AI investigation is the headline.** The base scan becomes the agent's first input pass, not a standalone product. There is no `--ai` flag and no `--no-ai` mode. AI runs unconditionally on every invocation. Watch mode is deleted as part of the same change because a non-AI filesystem-churn monitor conflicts with the new philosophy. If a live update mode is wanted later, it gets rebuilt as incremental AI re-investigation. ## Code changes - Delete `luminos_lib/watch.py` - Delete `luminos_lib/capabilities.py` and `tests/test_capabilities.py` - Move `clear_cache()` into `luminos_lib/cache.py` - `luminos.py`: remove `--watch`, `--ai`, `--install-extras` flags. AI runs unconditionally after the base scan. If `ANTHROPIC_API_KEY` is unset, exit 0 with a one-line hint *before* running the base scan. - `ai.py`: drop the `check_ai_dependencies()` call and import. - New `requirements.txt`: anthropic, tree-sitter + grammars, python-magic. - `setup_env.sh` installs from `requirements.txt`. ## Doc changes - `README.md` rewritten to lead with AI investigation, drops the two-modes framing and the watch feature line. - `CLAUDE.md` (project): rewrites Key Constraints, updates module map and Running Luminos commands. - `PLAN.md`: strips zero-dep philosophy from the file map and reframes the watch+incremental note as a future live-mode feature. - Wiki: `Architecture.md`, `DevelopmentGuide.md`, `Home.md`, `Internals.md` updated. ## Verification - `python3 -m unittest discover -s tests/` → 164 pass (down from 168 with the 4 removed capabilities tests). - `python3 luminos.py --help` shows the slimmed flag set. - `python3 luminos.py /tmp` with no `ANTHROPIC_API_KEY` exits 0 with the one-line hint before running the base scan. ## Follow-up - Close #35 (incremental AI re-investigation in watch mode) as obsolete: watch mode no longer exists in the form that issue assumed. If/when a live-update mode comes back, it goes in as a new issue framed as incremental AI re-investigation.
claude-code added 1 commit 2026-04-11 09:44:21 -06:00
Two original design constraints are dropped:

1. Zero-dependency Python CLI is no longer a goal. Luminos installs from
   requirements.txt like a normal Python project.
2. AI investigation is the headline. The base scan becomes the agent's
   first input pass, not a standalone product. There is no --ai flag and
   no --no-ai mode. AI runs unconditionally on every invocation.

Watch mode is deleted as part of the same change because a non-AI
filesystem-churn monitor conflicts with the new philosophy. If a live
update mode is wanted later, it gets rebuilt as incremental AI
re-investigation.

Code:
- Delete luminos_lib/watch.py
- Delete luminos_lib/capabilities.py and tests/test_capabilities.py
- Move clear_cache() into luminos_lib/cache.py
- luminos.py: remove --watch, --ai, --install-extras flags. AI runs
  unconditionally after the base scan. If ANTHROPIC_API_KEY is unset,
  exit 0 with a one-line hint before running the base scan.
- ai.py: drop the check_ai_dependencies() call and import.
- New requirements.txt: anthropic, tree-sitter + grammars, python-magic.
- setup_env.sh installs from requirements.txt.

Docs:
- README.md rewritten to lead with AI investigation, drops the two-modes
  framing and the watch feature line.
- CLAUDE.md (project): rewrites Key Constraints, updates module map and
  Running Luminos commands.
- PLAN.md: strips zero-dep philosophy from the file map and reframes the
  watch+incremental note as a future live-mode feature.

Tests: 164 pass (down from 168 with the 4 removed capabilities tests).
claude-code merged commit 5c5c4dbb1a into main 2026-04-11 09:46:47 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: archeious/luminos#65
No description provided.