Open
Conversation
Working CLI with 4 commands: - `aisona init` — detect existing AI configs, import CLAUDE.md, generate aisona.yml - `aisona export --to <tool>` / `--all` — export aisona.yml to Claude/Cursor/Gemini/Copilot - `aisona status` — show persona summary and tool detection - `aisona watch --git` — file watcher with auto re-export and optional git sync Includes: - CLAUDE.md parser (heuristic section detection) - 4 Handlebars export templates (claude, cursor, gemini, copilot) - Tool detection for 6 AI coding tools - Debounced file watcher (chokidar) - Git auto-commit+push on change (simple-git) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- config.test.js: roundtrip save/load, default structure, findAisonaFile - parser.test.js: CLAUDE.md parsing (rules, tone, teaching, autonomy), .cursorrules parsing, tool detection, real-world CLAUDE.md structure - exporter.test.js: all 4 tool exports, disabled tool handling, output quality Also fixes: - Parser: reorder section matching (teaching/personality before preferences) to fix false matches on "tone and style", "teaching style" sections - Exporter: check tool enabled BEFORE loading template Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…e extraction - Rewrite section classifier with explicit category mapping (ordered by specificity) - Parse H3 headers as section boundaries (not just H2) - Extract autonomy prose rules: lines starting with Always/Never/Only → rules array - Filter standalone bold headers from bullets - Support numbered lists (1. 2. 3.) as extractable items - Fix duplicate preferences push in prefs section Dogfood test results improved: Before: 2 rules, 16 preferences, 0 memories After: 4 rules, 30 preferences, 1 memory Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Major direction change based on user feedback:
- Not building "AI's soul/personality" (too philosophical, wastes tokens)
- Building "pack your AI habits and take them anywhere" (practical)
Schema changes:
- personality.{tone,style,teaching,autonomy} → preferences.{tone,habits,teaching,autonomy}
- personality.style[] → preferences.habits[] (clearer naming)
- tools.*.extra_rules[] → tools.*.extra[] (simpler)
- Removed verbose personality fields (worldview, contradictions, vocabulary)
- Added practical fields focus (habits, rules, memories)
Updated: SPEC.md, all 4 templates, config.js, parser.js, init.js, all tests
29/29 tests passing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
aisona init— detect existing AI configs (Claude/Cursor/Gemini/Copilot/Windsurf), import CLAUDE.md, generate aisona.yml via interactive wizardaisona export --to <tool>/--all— export aisona.yml to 4 tool formats (CLAUDE.md, .cursorrules, GEMINI.md, copilot-instructions.md)aisona status— show persona summary, enabled tools, detected configsaisona watch --git— chokidar file watcher with 2s debounce, auto re-export + optional git commit/pushArchitecture
aisona.yml= single source of truth for AI persona (identity, personality, rules, preferences, memories)Test plan
aisona --helpshows all commandsaisona export --allgenerates 4 config files from test aisona.ymlaisona statusshows persona summary and tool detectionaisona initinteractive wizard (manual test needed)aisona watch --gitfile watcher + git sync (manual test needed)🤖 Generated with Claude Code