diff --git a/SPEC.md b/SPEC.md index b4a34e5..cd75bdf 100644 --- a/SPEC.md +++ b/SPEC.md @@ -9,7 +9,7 @@ type: summary # Fiona-Assistant Specification -**Spec sheet for the Fiona-Assistant toolkit.** Derived from `todo.md` and the +**Spec sheet for the Fiona-Assistant toolkit.** Derived from the current codebase state. Each feature section opens with a `Status` line followed by requirements and acceptance criteria. Status values: `Implemented`, `Partially Implemented`, `Planned`, `Won't Do`. @@ -381,7 +381,7 @@ Requirements: rule (MD055/MD056/MD058/MD060) runs in sanity. The Node.js markdownlint used by IDE extensions parses tables natively, which is why table style errors (MD060) appear in the IDE but not in `run_sanity.py`. - Tracked in `todo.md`; enable the extension once pymarkdown is fixed. + Enable the extension once pymarkdown is fixed. - MD060 (`table-column-style`) is explicitly disabled for when that day comes: pymarkdown's implementation (new in pymarkdownlnt 0.9.40, plugin v0.5.0) enforces different delimiter-row expectations than the @@ -820,8 +820,9 @@ Acceptance criteria: > Covers: `src/fiona/__main__.py`. The `fiona-assistant` console script > dispatches to the tool modules so every tool is reachable through one > command. Each tool also keeps its standalone CLI; `librarian` and -> `mdoctor` are installed as console scripts, `python-ruff` currently -> has none (packaging fix tracked in `todo.md` P0). +> `mdoctor` are installed as console scripts, while `python-ruff` is +> available only through `fiona-assistant`. All dispatch modules +> (`fiona`, `python_ruff`) ship in the wheel. Command tree: diff --git a/pyproject.toml b/pyproject.toml index 788998a..9ed06ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ include-package-data = true [tool.setuptools.packages.find] where = ["src"] -include = ["fiona", "librarian", "mdoctor", "llm-wiki", "wiki"] +include = ["fiona", "librarian", "mdoctor", "python_ruff", "llm-wiki", "wiki"] [tool.setuptools.package-data] "llm-wiki" = ["*", "**/*"] diff --git a/src/fiona/__init__.py b/src/fiona/__init__.py new file mode 100644 index 0000000..2e07c0b --- /dev/null +++ b/src/fiona/__init__.py @@ -0,0 +1,4 @@ +"""Fiona package. + +Main CLI entry point for the Fiona-Assistant package. +""" diff --git a/src/python_ruff/__init__.py b/src/python_ruff/__init__.py new file mode 100644 index 0000000..719e7f9 --- /dev/null +++ b/src/python_ruff/__init__.py @@ -0,0 +1,4 @@ +"""Python Ruff package. + +Wraps the external ruff linter for the Fiona-Assistant CLI. +""" diff --git a/todo.md b/todo.md index 9bfccde..5548a1e 100644 --- a/todo.md +++ b/todo.md @@ -24,13 +24,13 @@ Ordered by priority. Each item references its section in [SPEC.md](./SPEC.md) From the 2026-09-23 structure audit. These are repo-hygiene items that block a correct install or make the docs contradict the code. -- [ ] Fix PyPI packaging so a non-editable install works (wheel build +- [x] Fix PyPI packaging so a non-editable install works (wheel build confirmed `python_ruff` is missing entirely) - - [ ] Add `python_ruff` to the `packages.find` include list in + - [x] Add `python_ruff` to the `packages.find` include list in `pyproject.toml` - - [ ] Add `src/python_ruff/__init__.py` - - [ ] Add `src/fiona/__init__.py` - - [ ] Re-verify: build a wheel, install it fresh, confirm the + - [x] Add `src/python_ruff/__init__.py` + - [x] Add `src/fiona/__init__.py` + - [x] Re-verify: build a wheel, install it fresh, confirm the `fiona-assistant` console script runs and the llm-wiki template data ships - [x] Resolve the duplicated `raw/` zone in the llm-wiki template