Commit graph

36 commits

Author SHA1 Message Date
Kayvan Sylvan c9fa92bf03
Merge branch 'main' into pr/pattern-audit-script 2026-07-31 08:41:19 -07:00
Kayvan Sylvan e25005c8d5 feat: register generate_frontmatter for pattern discovery workflows
- Add PKM YAML metadata guidance to pattern explanations
- Classify frontmatter generation under conversion, extraction, and writing
- Register descriptions and extracts for pattern suggestion workflows
- Credit both contributors in the incoming changelog entry
2026-07-30 12:37:21 -07:00
OdinKral 3b03c17f9a feat(scripts): add pattern/maintenance audit script
Adds scripts/audit-patterns.sh, a dependency-free report over the
patterns library and a few adjacent consistency checks:

  1. Thin patterns     — system.md under 15 lines (likely stubs)
  2. Bloated patterns  — system.md over 50 KB (likely embedded examples)
  3. Stale model refs  — hardcoded GPT-4 / ChatGPT / vendor model names
  4. Missing INPUT     — pattern has no `# INPUT` section
  5. i18n key gaps     — keys in en.json missing from other locales
  6. Completion gaps   — long flags in flags.go absent from completions

Reports only; it never edits patterns. Exits 0 by default so it can be
run casually, or `--strict` to exit 1 on findings for CI use.

Against the current tree it reports 109 issues, which is what motivated
the separate normalization and de-bloating changes.
2026-07-29 08:22:34 -04:00
Kayvan Sylvan 5973722f1a feat: add three creator monetization patterns for affiliate and commerce analysis
# CHANGES

- Add `analyze_monetization_opportunities` pattern for creator revenue strategy
- Add `extract_affiliate_products` pattern for surfacing affiliate opportunities
- Add `extract_video_commerce_entities` pattern for video transcript commerce
- Register new patterns in `pattern_descriptions.json` with appropriate tags
- Add full pattern extracts to `pattern_extracts.json` for each addition
- Update `pattern_explanations.md` with descriptions of three new patterns
2026-04-23 01:20:45 -07:00
Kayvan Sylvan 56a1a7f21e fix: verify Go tarball checksums and fix config directory ownership
- Add SHA256 checksum args for amd64 and arm64 Go tarballs
- Verify downloaded Go tarball integrity via `sha256sum -c`
- Remove root-owned `/root/.config/fabric` directory creation
- Create fabric config directory under non-root `appuser` home
- Set proper ownership on `appuser` config directory with `chown`
2026-04-12 21:44:41 -07:00
Jim Scardelis b046ddb518 Update Dockerfile for best practices and CVE fixes
Update the Dockerfile to bring it closer to current container best practices while fixing multiple critical CVEs.

This pins Alpine 3.21 and Go 1.25.9 explicitly, installs the Go toolchain in the builder stage so the image no longer depends on an unavailable upstream golang tag, upgrades setuptools to pick up the CVE-2025-47273 fix, refreshes the yt-dlp installation path, and runs the final image as a non-root user.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-11 01:09:22 -07:00
Kayvan Sylvan 86f1668c79 feat: add create_slides pattern for Reveal.js HTML slideshow generation
- Add new `create_slides` pattern to pattern explanations index
- Register `create_slides` in CONVERSION, VISUALIZE, and WRITING categories
- Add `create_slides` usage examples to `suggest_pattern` user guide
- Insert `create_slides` entry into `pattern_descriptions.json` with relevant tags
- Add `create_slides` pattern extract to `pattern_extracts.json`
- Shift pattern numbering from 97 onward to accommodate new entry
2026-02-27 12:03:49 -08:00
Kayvan Sylvan 8669b36c86 feat: add audit_consent, audit_transparency, and detect_silent_victims patterns
## CHANGES

- Add `audit_consent` pattern for detecting manufactured consent via power asymmetry analysis
- Add `audit_transparency` pattern for evaluating decision explainability across five dimensions
- Add `detect_silent_victims` pattern for identifying voiceless, future, and unaware victims
- Register three new patterns in pattern descriptions and extracts JSON files
- Add new patterns to ANALYSIS and CR THINKING categories in `suggest_pattern`
- Update `pattern_explanations.md` with renumbered entries for all patterns
- Add co-author credit for ksylvan on PR #1999 changelog entry
- Remove duplicate changelog file `pr-ul-dialogue-patterns.txt`
2026-02-16 22:08:53 -08:00
Kayvan Sylvan a9d6622863 docs: add 4 new critical thinking and ethics patterns to fabric catalog
## CHANGES

- Add `check_falsifiability` pattern for evaluating testability of claims
- Add `detect_mind_virus` pattern for identifying manipulative belief systems
- Add `extract_ethical_framework` pattern for analyzing implicit ethics in text
- Add `ultimate_law_safety` pattern for evaluating actions against minimal ethics
- Register new patterns in `suggest_pattern` category mappings (ANALYSIS, CR THINKING, EXTRACT)
- Update `pattern_explanations.md` numbering to accommodate 4 new entries
- Add pattern descriptions and extracts to JSON metadata files
2026-02-09 13:10:32 -08:00
Kayvan Sylvan 82cc0b74ed feat: add explain_terms_and_conditions and suggest_openclaw_pattern fabric patterns
## CHANGES

- Add `explain_terms_and_conditions` pattern for legal agreement analysis
- Rename `suggest_moltbot_command` to `suggest_openclaw_pattern` with updated branding
- Register both new patterns in pattern descriptions and extracts JSON
- Update `suggest_pattern` category indexes with new pattern entries
- Add pattern summaries to `suggest_pattern/user.md` documentation
- Renumber all pattern explanations to accommodate new entries
- Remove deprecated `suggest_moltbot_command` pattern entirely
2026-02-09 12:44:52 -08:00
Kayvan Sylvan 9c2fc25872 chore: remove deprecated wisdom extraction patterns from pattern libraries
- Remove extract_wisdom_short from pattern descriptions catalog
- Drop extract_wisdomjm pattern extract definition
- Delete extract_wisdom_short extract template block
2026-01-25 13:18:15 -08:00
Kayvan Sylvan 8075209d9e fix: New extract_all_quotes and move misplaced patterns
- Move pattern files from patterns/ to data/patterns/
- Add create_bd_issue pattern for issue tracking commands
- Add extract_all_quotes pattern for quote extraction
- Add extract_bd_ideas pattern for actionable idea extraction
- Add suggest_gt_command pattern for GT command suggestions
- Update pattern_explanations.md with new pattern entries
- Update suggest_pattern system.md with new categories
- Add new pattern descriptions and extracts in scripts/
- chore: incoming 1968 changelog entry
2026-01-25 10:11:33 -08:00
Kayvan Sylvan 60670f887e docs: add three new pattern explanations and update pattern categorization
- Add `analyze_discord_structure` pattern for Discord server analysis
- Add `create_design_system` pattern for CSS design system generation
- Add `create_golden_rules` pattern for extracting codebase rules
- Update pattern numbering in explanations document (11-235)
- Add new patterns to suggest_pattern category mappings
- Update pattern_descriptions.json with new pattern metadata
- Update pattern_extracts.json with new pattern content
2026-01-23 20:04:15 -08:00
Kayvan Sylvan a31dc59f7e feat: add extract_wisdom_with_attribution pattern for speaker-attributed quotes
## CHANGES

- Add new pattern extending `extract_wisdom` with speaker attribution
- Create README and system.md for the new pattern
- Update pattern_explanations.md with new pattern entry
- Add pattern to suggest_pattern category lists
- Update pattern_descriptions.json with metadata and tags
- Update pattern_extracts.json with pattern content
2026-01-21 13:46:36 -08:00
Kayvan Sylvan 1cf346ee31 feat: add greybeard_secure_prompt_engineer pattern for secure prompts
- Add greybeard_secure_prompt_engineer pattern to create secure system prompts
- Update pattern explanations and renumber existing entries
- Refactor build process to use npm hooks for copying JSON files
- Remove manual web static file copying from extract script
- Update .gitignore to exclude generated data and tmp directories
- Modify suggest_pattern categories to include new security pattern
- Delete redundant web static data file, rely on build hooks
2026-01-17 09:16:46 -08:00
Bob Vandevliet d84bd6f989 Added yt-dlp package to docker image. 2025-12-18 11:16:39 +01:00
Kayvan Sylvan a3a1e616e7 fix: correct directory name from concall_summery to concall_summary
- Rename pattern directory to fix spelling error
- Add new pattern to explanations documentation
- Update suggest_pattern system with concall_summary references
- Include concall_summary in ANALYSIS category mappings
- Add concall_summary to BUSINESS category listings
- Append concall_summary to SUMMARIZE category references
- Update pattern descriptions JSON with new entry
- Generate pattern extracts for concall_summary functionality
- Add user documentation for earnings call analysis
- Include changelog entry for PR #1833
2025-11-26 06:31:32 +08:00
Kayvan Sylvan 118abdc368 chore: remove get_youtube_rss pattern from multiple files
- Remove `get_youtube_rss` from `pattern_explanations.md`
- Delete `get_youtube_rss` entry in `pattern_descriptions.json`
- Delete `get_youtube_rss` entry in `pattern_extracts.json`
- Remove `get_youtube_rss` from `suggest_pattern/system.md`
- Remove `get_youtube_rss` from `suggest_pattern/user.md`
- chore: incoming 1831 changelog entry
2025-11-16 12:28:09 -08:00
Kayvan Sylvan a149bd19d5 feat: add create_conceptmap for interactive HTML concept maps
### CHANGES

- Add `create_conceptmap` for HTML concept maps using Vis.js
- Introduce `fix_typos` for text proofreading and corrections
- Implement `model_as_sherlock_freud` for psychological modeling
- Add `predict_person_actions` for behavior prediction
- Include `recommend_yoga_practice` for personalized yoga guidance
- Credit pattern contribution to @FELIPEGUEDESBR
2025-11-03 13:10:05 -08:00
Kayvan Sylvan 068a673bb3 feat: add wellness patterns and new analysis tools
# CHANGES

- Add new WELLNESS category with four patterns
- Add `model_as_sherlock_freud` for psychological detective analysis
- Add `predict_person_actions` for behavioral response predictions
- Add `recommend_yoga_practice` for personalized wellness guidance
- Add `fix_typos` pattern for proofreading corrections
- Update ANALYSIS category to include new patterns
- Update SELF category with wellness-related patterns
- Tag existing patterns with WELLNESS classification
2025-11-02 21:03:22 -08:00
Kayvan Sylvan faa7fa3387 chore: added extract_characters method for detailed character analysis
### CHANGES

- Add `extract_characters` to identify and describe characters
- Update business category to include `extract_characters`
- Include `extract_characters` in extract category
- Add `extract_characters` description in pattern descriptions JSON
- Update user documentation with `extract_characters` details
2025-10-14 08:26:08 -07:00
Kayvan Sylvan 9a37d63d76 chore: Go 1.25 upgrade and critical package updates for AI/ML services
- Upgrade Go from 1.24 to 1.25.1
- Update Anthropic SDK for web fetch tools
- Upgrade AWS Bedrock SDK 12 versions
- Update Azure Core and Identity SDKs
- Fix Nix config for Go version lag
- Update Docker base to golang:1.25-alpine
- Add comprehensive upgrade documentation
2025-09-14 10:22:25 -07:00
Kayvan Sylvan 3017b1a5b2 chore: add create_story_about_people_interaction pattern for persona analysis
### CHANGES

- Add `create_story_about_people_interaction` pattern description
- Include pattern in `ANALYSIS` and `WRITING` categories
- Update `suggest_pattern` system and user documentation
- Modify JSON files to incorporate new pattern details
2025-09-10 16:59:44 -07:00
Kayvan Sylvan 20080fcb78 feat: add i18n support with Spanish localization and documentation improvements
- Add internationalization system with Spanish support
- Create contexts and sessions tutorial documentation
- Fix broken Warp sponsorship image URL
- Add locale detection from environment variables
- Update VSCode settings with new dictionary words
- Exclude VSCode settings from version workflows
- Update pattern descriptions and explanations
- Add comprehensive i18n test coverage
2025-09-08 09:17:23 -07:00
Kayvan Sylvan fad176a0a8 docs: streamline install process with one-line installer scripts and update documentation
- Add markdown file triggers to GitHub workflow
- Update VSCode settings with new spell entries
- Simplify README installation with one-line installers
- Add bash installer script for Unix systems
- Add PowerShell installer script for Windows
- Create installer documentation with usage examples
- Remove redundant pattern from pattern explanations
2025-09-01 11:39:27 -07:00
Kayvan Sylvan f8ff9129b5 docs: add Windows install via winget and Docker deployment instructions
- Add winget installation method for Windows
- Add Docker Hub and GHCR image references
- Include docker run examples for setup/patterns
- Remove deprecated PowerShell download link
- Delete unused show_fabric_options_markmap pattern
- Update suggest_pattern with new AI patterns
- Add personal development patterns for storytelling
2025-08-31 20:14:47 -07:00
Kayvan Sylvan 8d2fda3af9 ci: harden release pipeline; gate to upstream, migrate tokens, remove docker-on-tag
CHANGES
- Gate release and version workflows to upstream owner only.
- Switch tagging and releases to built-in GITHUB_TOKEN.
- Replace environment passing with step outputs across workflows.
- Remove docker-publish-on-tag workflow to reduce duplication and complexity.
- Add OCI description label to Docker image.
- Document GHCR multi-arch annotations for accurate package descriptions.
- Update README with new ARM binary release announcement.
- Simplify GoReleaser config by removing comments and extras.
2025-08-31 07:34:00 -07:00
Kayvan Sylvan 3ef3509bfd feat: add 'create_story_about_person' and 'heal_person' patterns; bump devalue
CHANGES
- Add create_story_about_person system pattern with narrative workflow
- Add heal_person system pattern for compassionate healing plans
- Update pattern_explanations to register new patterns and renumber indices
- Extend pattern_descriptions with entries, tags, and concise descriptions
- Add pattern_extracts for both patterns with full instruction blocks
- Bump devalue dependency from 5.1.1 to 5.3.2
- Refresh lockfile snapshots to reference updated devalue version
- Sync web static pattern_descriptions with new patterns

Updates `devalue` from 5.1.1 to 5.3.2
- [Release notes](https://github.com/sveltejs/devalue/releases)
- [Changelog](https://github.com/sveltejs/devalue/blob/main/CHANGELOG.md)
- [Commits](sveltejs/devalue@v5.1.1...v5.3.2)

---
updated-dependencies:
- dependency-name: devalue
  dependency-version: 5.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 12:35:23 -07:00
Kayvan Sylvan 1622a34331 chore: remove docker-test framework and simplify production docker setup
- Remove entire docker-test directory and testing infrastructure
- Delete complex test runner script and environment files
- Simplify production Dockerfile with multi-stage build optimization
- Remove docker-compose.yml and start-docker.sh helper scripts
- Update README with cleaner Docker usage instructions
- Streamline container build process and reduce image size
2025-08-27 07:00:52 -07:00
Kayvan Sylvan d8690c7cec feat: add release updates section and Gemini thinking support
- Add comprehensive "Recent Major Features" section to README
- Introduce new readme_updates Python script for automation
- Enable Gemini thinking configuration with token budgets
- Update CLI help text for Gemini thinking support
- Add comprehensive test coverage for Gemini thinking
- Create documentation for README update automation
- Reorganize README navigation structure with changelog section
2025-08-16 00:21:12 -07:00
Kayvan Sylvan 3e75aa260f chore: update Gemini SDK to new genai library and add TTS audio output support
## CHANGES

- Replace deprecated generative-ai-go with google.golang.org/genai library
- Add TTS model detection and audio output validation
- Implement WAV file generation for TTS audio responses
- Add audio format checking utilities in CLI output
- Update Gemini client to support streaming with new SDK
- Add "Kore" and "subchunk" to VSCode spell checker dictionary
- Remove extra blank line from changelog formatting
- Update dependency imports and remove unused packages
2025-07-26 10:54:34 -07:00
Kayvan Sylvan 52246dda28 feat: prevent unconfigured API initialization and add Docker test suite
## CHANGES

- Add BEDROCK_AWS_REGION requirement for Bedrock initialization
- Implement IsConfigured check for Ollama API URL
- Create comprehensive Docker testing environment with 6 scenarios
- Add interactive test runner with shell access
- Include environment files for different API configurations
- Update spell checker dictionary with new test terms
- Document testing workflow and expected results
2025-07-25 16:50:44 -07:00
Roberto Carvajal 63f4370ff1
Adds generate code rules pattern
Signed-off-by: Roberto Carvajal <roberto.carvajal@gmail.com>
2025-07-16 11:15:55 -04:00
Kayvan Sylvan da1336e8cb feat: add new patterns for content tagging and cognitive bias analysis
## CHANGES

- Fix static directory path in extract_patterns.py script
- Add apply_ul_tags pattern for content categorization
- Add t_check_dunning_kruger pattern for bias analysis
- Update pattern descriptions with new entries
- Sync web static data with latest patterns
- Include pattern extracts for new functionality
- Support standardized content topic classification
- Enable cognitive bias identification capabilities
2025-07-08 23:48:30 -07:00
Kayvan Sylvan 81adb3b050 docs: update project restructuring status and reorganize pattern scripts
## CHANGES

- Mark all 10 migration steps as completed
- Add restructuring completion status section
- Move pattern generation scripts to pattern_descriptions
- Update completion checkmarks throughout migration plan
- Document remaining external packaging verification tasks
- Consolidate pattern description files under new directory
- Confirm all binaries compile and tests pass
- Note standard Go project layout achieved
2025-07-08 23:36:56 -07:00
Kayvan Sylvan 4004c51b9e refactor: restructure project to align with standard Go layout
### CHANGES

- Introduce `cmd` directory for all main application binaries.
- Move all Go packages into the `internal` directory.
- Rename the `restapi` package to `server` for clarity.
- Consolidate patterns and strategies into a new `data` directory.
- Group all auxiliary scripts into a new `scripts` directory.
- Move all documentation and images into a `docs` directory.
- Update all Go import paths to reflect the new structure.
- Adjust CI/CD workflows and build commands for new layout.
2025-07-08 22:47:17 -07:00