266 Commits

Author SHA1 Message Date
nvaldez a3d35c7f12 Implement SPEC 7.1.1.4: wiki init duplicate error handling
wiki init now catches FileExistsError, prints one stderr line with the
update suggestion, and exits 1. SPEC.md status for wiki init bumped to
Implemented (v1.22.2). Adds test for message format, exit code, and
single-line stderr output.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-19 11:53:41 +01:00
nvaldez def3d2cd6d Rewrite specification-writer skill to be self-contained
- Remove references to fiona-assistant and agent-cost-estimator
- Include all SPEC structure details directly in the skill
- Add comprehensive section guidelines with numbered items
- Expand core contracts, configuration files, error handling sections
- Maintain sectionize-markdown integration
- All housekeeping checks pass

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-03 16:34:25 +01:00
nvaldez b7c173affa Fix linting violations in specification-writer skill
- Fix MD013 line length violations by splitting long lines
- Fix MD032 by adding blank lines around lists
- Fix MD036 by removing bold emphasis used as headings
- All housekeeping checks now pass

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-03 16:30:57 +01:00
nvaldez 59d1054e1d Add specification-writer skill for expert SPEC.md creation
- Create new skill at src/fiona/data/llm_wiki/utils/skills/specification-writer/
- Provides comprehensive guidance for writing project specifications
- Integrates with sectionize-markdown skill for consistent formatting
- Includes structure template based on fiona-assistant and agent-cost-estimator patterns
- Emphasizes always sectionizing SPEC files with numbered headings and list items
- Features quality checklist and maintenance guidelines

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-03 16:27:05 +01:00
nvaldez 983198b8b4 feat: add git diff staged/unstaged flags and root discovery\n\n- Git commands now discover and operate on root repository from current dir (7.12.0)\n- git diff includes untracked and deleted files by default (7.12.6)\n- Add --staged and --unstaged flags to git diff (7.12.7, 7.12.8)\n- Update diff rendering: collapse consecutive added/deleted lines (7.12.5)\n- Update SPEC to 1.22.1 and CHANGELOG to 1.2.3\n\nGenerated by Mistral Vibe.\nCo-Authored-By: Mistral Vibe <vibe@mistral.ai> 2026-10-24 14:11:21 +02:00
nvaldez a907e7da79 feat: ship sectionize-markdown skill as SKILL.md
Rename the template skill to the <name>/SKILL.md convention, add the
frontmatter description fmlint requires (FML004), point every
reference at the new path (SPEC 3.4.2), and add template tests.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-10-21 23:07:48 +02:00
nvaldez b0539d6f10 chore: align package version with SPEC 1.19.0
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-10-21 23:07:43 +02:00
nvaldez dfea2bccfa feat: refuse to run bootstrap when not sourced
Bash bootstrap now exits non-zero when executed instead of sourced
(and when run under a non-bash shell), pointing the user at the
source command, per SPEC 7.21.7.

Also clears every ruff and pycustomlint violation so
run_sanity.py passes: five ruff findings in diff_report.py and
the two inline diff_report imports moved to module top in
__main__.py and git_tool.py.
2026-10-21 18:01:46 +02:00
nvaldez d6a265d4be fix minor issue 2026-10-19 15:45:55 +02:00
nvaldez 1c40d252b6 %CURSOR=90% fix: wire git diff in fiona-assistant main CLI
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-19 15:35:50 +02:00
nvaldez 295089c748 %CURSOR=90% feat: sync git diff HTML report from Nokia fork
Constellation-themed fiona-assistant git diff, tmp/ gitignore, SPEC 1.18.1. Version 1.17.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-19 10:58:19 +02:00
nvaldez de28441943 feat: sync Nokia fork product through SPEC 1.18 (v1.16.0)
MEMORY.md and skill memory template, ingest auth and html_sweep, TOC slug fix, run_tests CI output, and matching tests. Excludes GitLab CI and publishing docs.
2026-10-19 09:12:04 +02:00
nvaldez fd72e4d66b bump version to spec 2026-10-10 12:00:37 +02:00
nvaldez e9542ccf88 update fiona skill 2026-10-06 11:27:26 +02:00
nvaldez dcc0536f6e wiki ingest additional spec for auth required links 2026-10-05 09:07:02 +02:00
nvaldez 9ff5af588a test result changed spec 2026-10-05 07:31:46 +02:00
nvaldez 4c84213a30 librarian move specifications 2026-10-02 13:16:53 +02:00
nvaldez 09362f3951 librarian move specifications 2026-10-02 12:24:54 +02:00
nvaldez 3c21217970 librarian move specifications 2026-10-02 12:15:01 +02:00
nvaldez 8a00ce97f5 sanity fix 2026-10-02 11:50:26 +02:00
nvaldez 348579a085 license 2026-10-02 11:35:46 +02:00
nvaldez 48b94a5781 graph optimization 2026-10-02 11:33:55 +02:00
nvaldez 20378727fa SPEC for graph directory and live view 2026-10-01 17:56:31 +02:00
nvaldez cd1ea32635 v1.2.0 2026-10-01 17:01:42 +02:00
nvaldez 44029aee90 wiki update fix, themes versioning, readme refactor, graph ignore 2026-10-01 16:58:19 +02:00
nvaldez c45d4f1d2a Version 1.…11 llm tagging for auto mode 2026-10-01 13:53:04 +02:00
nvaldez 9e98390f2b Version 1.…1.0 SPEC subsection improvement, and wiki update refinement 2026-10-01 11:36:20 +02:00
nvaldez 482b2cb2e0 ingest implemented 2026-10-01 07:04:55 +02:00
nvaldez 2d08b71b55 new custom pylint to enforce no late declaration 2026-09-30 23:37:59 +02:00
nvaldez 31364eab2c housekeeping and fiona skill overhaul 2026-09-30 21:25:12 +02:00
nvaldez a1fccbe641 housekeeping and fiona skill overhaul 2026-09-30 21:24:29 +02:00
nvaldez da01b3fe4a housekeeping and fiona skill overhaul 2026-09-30 21:19:47 +02:00
nvaldez 94d3554d77 update themes 2026-09-30 17:10:12 +02:00
nvaldez b93a5a0c02 bump version and update themes 2026-09-30 13:37:01 +02:00
nvaldez 151282657e new spec for node draw improvement 2026-09-30 11:13:11 +02:00
nvaldez 0907252d4c fiona skill improvement, and local non edit bootstrap install 2026-09-30 11:06:02 +02:00
nvaldez 3471ff9fe6 themes revisit 2026-09-30 08:53:47 +02:00
nvaldez 32920d1736 Major graph refactor, better physics, themes, etc 2026-09-30 08:34:27 +02:00
nvaldez fd58ad549a refactor fiona src to have single module 2026-09-29 16:01:16 +02:00
nvaldez 02a159a086 fix: add pre-build cleanup to prevent stale artifact upload errors
- Added rm -rf dist/ build/ fiona_assistant.egg-info/ to build.sh
- Bumped version from 0.36.0 to 0.40.5 in pyproject.toml
2026-09-29 14:43:55 +02:00
nvaldez 6e334cc34d major refactor of spec 2026-09-29 14:35:51 +02:00
nvaldez e14f96b590 update todo with the audit 2026-09-29 10:44:57 +02:00
nvaldez 859d2e55d7 update the spec 2026-09-29 10:10:20 +02:00
nvaldez e6920aa691 windows bootstrap implemented 2026-09-29 10:04:57 +02:00
nvaldez 9b54aebe14 test: add comprehensive tests for jsonlint to achieve 96% coverage
- Added tests for all public methods in JsonLinter class
- Added tests for internal helper methods (_check_trailing_commas, _check_indentation,
  _check_duplicate_keys, _check_line_length, _check_key_order)
- Added tests for error handling in lint_file and fix_file
- Added tests for settings loading and default settings
- Added tests for violation formatting and compression
- Added direct calls to main() function to cover CLI code paths
- Fixed inline imports by moving StringIO to top-level imports
- Fixed except (SystemExit, Exception): pass to use specific exception types

This improves overall test coverage from 94% to 96%, meeting the project requirement.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-29 08:42:05 +02:00
nvaldez 4365f291ae test: add comprehensive tests for wiki/graph_generator.py to achieve 100% coverage
Added tests for all uncovered code paths in graph_generator.py:
- TestLoadGraphSettings: tests for loading settings from fiona-settings.json
- MarkdownLinkParser: tests for fragment handling, wikilinks, external URLs,
  file parsing error handling, and link validation
- WikiGraphMain: tests for directory validation, settings override, output
  directory creation, file writability checks, max_files limit, overwrite
  behavior, and exception handling

This increases coverage from 85% to 100% for wiki/graph_generator.py (315/315 statements).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-28 21:32:46 +02:00
nvaldez f0dccf726c refactor: fix JSON linter imports and violations for project standards
- Move JsonLinter to customlinter package (src/customlinter/jsonlint.py)
- Use JSN001-JSN006 violation codes matching other linters
- Fix circular import by not importing JsonLinter in customlinter/__init__.py
- Fix import sorting to pass ruff checks
- Update all imports to use correct paths
- Fix test to expect LinterError instead of ValueError/OSError

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-28 21:08:13 +02:00
nvaldez 814bad2866 feat: add JSON linter (jsonlint) to customlinter package
- Move JSON linter from src/json_lint/json_lint.py to src/customlinter/jsonlint.py
- Use JSN prefix for violation codes (JSN001-JSN006) matching other linters
- Rename class from JSONLinter to JsonLinter for consistency
- Update all imports across codebase
- Fix inline import violations for pycustomlint
- Integrate into both sanity checkers (run_sanity.py and wiki/sanity_manager.py)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-28 20:55:07 +02:00
nvaldez 90e7055dbd feat: add JSON linter (json-lint) module with full integration
- Implement src/json_lint/json_lint.py with JSON syntax and style validation
- Support JSON syntax validation using standard json module
- Add style rules: indentation (space/tab), trailing commas, duplicate keys, key ordering, line length
- Add CLI integration: fiona-assistant json-lint chklint [directory]
- Support --fix flag for auto-fixing certain violations
- Add settings support via fiona-settings.json (json section)
- Integrate into run_sanity.py sanity checker
- Integrate into wiki/sanity_manager.py wiki sanity checker
- Add comprehensive TDD tests (25 tests)
- Update pyproject.toml with json-lint entry point

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-28 20:45:30 +02:00
nvaldez f1a12ae1f6 feat: add configurable hover settings for wiki graph
- Fix hover exit behavior to restore original node size (not minimum)
- Add configurable hover settings in fiona-settings.json:
  - hover.color: node highlight color (default: #add8e6)
  - hover.edge_color: edge highlight color (default: #0000ff)
  - hover.size_multiplier: hover size multiplier (default: 1.3)
- Cap hover size at max_radius to prevent nodes from growing too large
- Update SPEC.md with new configuration options and acceptance criteria
- Update llm-wiki fiona-settings.json with hover configuration

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-28 20:32:59 +02:00