Commit Graph
85 Commits
Author SHA1 Message Date
warkanum cd010fc7a1 docs: plan per-user tenancy model
CI / build-and-test (push) Successful in 2m30s
CI / build-and-test (pull_request) Successful in 2m35s
2026-07-15 05:22:22 +02:00
warkanum e3a4a3c5c7 fix: build UI assets in CI
CI / build-and-test (push) Successful in 1m23s
CI / build-and-test (pull_request) Successful in 1m20s
2026-07-15 05:14:09 +02:00
warkanum 4b3f0b1b55 feat: add per-user tenant scoping
CI / build-and-test (push) Failing after 1m53s
CI / build-and-test (pull_request) Failing after 1m43s
2026-07-15 04:27:44 +02:00
warkanum e459775740 feat: add webhook thought ingestion
CI / build-and-test (push) Successful in 3m37s
CI / build-and-test (pull_request) Successful in 3m33s
2026-07-15 04:27:09 +02:00
warkanum 8db2141d45 ci: build ui before go tests
CI / build-and-test (push) Successful in 7m10s
CI / build-and-test (pull_request) Successful in 7m13s
2026-07-14 16:32:00 +02:00
warkanum 3198600031 feat(tools): add duplicate audit report
CI / build-and-test (push) Failing after 1m24s
CI / build-and-test (pull_request) Failing after 59s
2026-07-14 16:28:06 +02:00
warkanum 81a3470407 feat(tools): link thoughts and learnings
CI / build-and-test (pull_request) Failing after 1m2s
CI / build-and-test (push) Failing after 3m10s
2026-07-14 15:18:57 +02:00
warkanumandClaude Sonnet 4.6 cfc78e0493 feat(tools): expose retrieval_mode in query-based tool responses
CI / build-and-test (push) Failing after 1m14s
CI / build-and-test (pull_request) Failing after 2m11s
Add a retrieval_mode field ("semantic" or "text") to the output of all
five query-driven tools so callers can distinguish vector search from
Postgres full-text fallback without inspecting server logs.

Tools updated: search_thoughts, recall_context, get_project_context,
summarize_thoughts, and related_thoughts (semantic neighbours only;
omitempty so field is absent when include_semantic is false or no query
is provided for the non-mandatory-query tools).

The shared semanticSearch helper now returns the mode as a third return
value. All callers updated; fixes two compile errors left by the
previous worker (summarize.go and links.go were not capturing the new
return).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-14 12:44:53 +02:00
warkanum c179e014ad feat(db): add project personas and skills tables
CI / build-and-test (push) Failing after 1m52s
* Introduce project_personas table with foreign keys to projects and agent_personas
* Add project_skills table with foreign key to projects and agent_skills
* Include override boolean field in agent_persona_skills and project_skills
* Update schema and migration files to reflect new tables and fields
* Enhance CORS handling to reflect request origin
2026-07-04 23:45:51 +02:00
warkanum 0227912325 feat(auth): add recent activity logging to access tracker
CI / build-and-test (push) Failing after 0s
* Introduced AccessLogEntry type for logging access details
* Updated AccessTracker to maintain a recent activity log
* Modified Metrics to include recent activity log in response
* Added RecentActivityLog component to display logged activities
2026-05-24 16:36:59 +02:00
warkanum 9230f39cb6 feat: add TraitsTab component for managing agent traits
CI / build-and-test (push) Failing after -32m5s
- Implemented TraitsTab.svelte to handle CRUD operations for agent traits.
- Integrated grid for displaying traits with context menu actions for add, edit, and delete.
- Added trait instruction editing functionality with a dedicated editor.
- Updated AdminShell to include PersonasPage for navigation.
- Enhanced AppSidebar with a new entry for Personas.
- Extended ShellPage type to include 'personas'.
- Defined new types for AgentPersona, AgentPart, and AgentTrait in types.ts.
2026-05-05 14:51:58 +02:00
warkanum e285a03639 Add schema for agent personas, parts, traits, and character arcs
CI / build-and-test (push) Failing after -31m18s
- Created tables for agent_personas, agent_parts, agent_traits, and character_arcs.
- Established relationships between personas, parts, skills, guardrails, and traits.
- Added arc stages and their corresponding parts, along with a persona_arc table to track current stages.
- Implemented cascading delete rules for referential integrity.
2026-05-05 09:43:14 +02:00
warkanum 1ceb317f4b feat(skills): enhance agent skills with additional tags and commands
CI / build-and-test (push) Failing after -29m56s
- Added language_tags, library_tags, framework_tags, and domain_tags to agent skills.
- Introduced new commands: get_skill and get_guardrail for fetching specific skills and guardrails.
- Updated database schema and migration scripts to accommodate new fields.
- Enhanced skill listing functionality to support filtering by new tags.
- Improved error handling and response structures for skill-related operations.
2026-05-05 09:24:58 +02:00
warkanum 1f671dad54 feat(personas): add implementation plan for agent personas
CI / build-and-test (push) Failing after -31m39s
2026-05-03 22:18:40 +02:00
warkanum f81de2d94b refactor(ui): replace NativeSelectCtrl with Boxer for project selection
CI / build-and-test (push) Failing after -31m20s
2026-05-03 21:34:29 +02:00
warkanum d6bf0b20d0 refactor(mcpserver): update tool IDs from string UUIDs to integers
CI / build-and-test (push) Failing after -31m3s
2026-05-03 17:26:41 +02:00
warkanum a8214aaa8b fix(db): remove array specifier from tags column
CI / build-and-test (push) Failing after -31m43s
2026-05-03 17:17:01 +02:00
warkanum bae63cb5cf fix(db): correct default values for jsonb and array columns
CI / build-and-test (push) Failing after -31m23s
* Update default values for metadata and messages columns in thoughts and chat_histories tables
* Change tags column type to text[] with default in learnings, plans, agent_skills, and agent_guardrails tables
* Adjust index creation for tags columns in learnings and plans tables
2026-05-03 16:24:16 +02:00
warkanum 91239bcf4b refactor(store,tools): migrate IDs from UUID to bigserial int64
CI / build-and-test (push) Failing after -31m12s
All internal entity lookups now use bigserial primary keys (int64) while
GUIDs are retained for external/public identification. Updated store
functions (TouchProject, UpdateThoughtMetadata, AddThoughtAttachment) to
query by id instead of guid, added GetThoughtByID, changed semanticSearch
and all tool helpers to use *int64 project IDs, and updated retry/backfill
workers to use int64 thought IDs throughout.
2026-05-03 11:43:34 +02:00
warkanum 9e6d05e055 feat(ui): add content editor components for skills and thoughts
CI / build-and-test (push) Failing after -31m24s
* Implement ContentEditorField for inline editing of content
* Create ContentEditorModal for editing content in a modal
* Introduce FormerShell for managing forms related to skills and thoughts
* Enhance SkillsPage and ThoughtsPage with new components for better content management
2026-05-02 19:35:27 +02:00
warkanum 537e65ea6d feat(ui): implement public status endpoint and update UI components
CI / build-and-test (push) Failing after -30m49s
* add public status handler and response types
* modify status API to restrict access and update client tracking
* adjust UI components to display public status information
* update routing to include public status endpoint
2026-04-27 00:23:06 +02:00
warkanum e208c62df3 feat(makefile): add release version handling and remote option
CI / build-and-test (push) Failing after -32m12s
2026-04-27 00:09:45 +02:00
warkanum f6a86e3933 .
CI / build-and-test (push) Failing after -32m5s
2026-04-27 00:04:11 +02:00
warkanum a4193b295a fix(ui): update AMCS references and add status handling
* Corrected "Advanced Module Control System" to "Avalon Memory Control Service" in documentation and UI components.
* Added status handling to the LoginInfoPanel and LoginPage components.
* Implemented new endpoints for robots.txt and llms.txt.
2026-04-27 00:04:08 +02:00
warkanum b17241b928 feat(auth): track unique tools in access metrics
CI / build-and-test (push) Failing after -31m49s
* Add tool tracking to AccessTracker and metrics
* Update tests to validate tool tracking functionality
* Modify middleware to record tool usage
* Enhance observability with tool context
* Update UI to display unique tools in metrics
2026-04-26 23:25:51 +02:00
warkanum 63f8dcacb6 chore(dependencies): update artemis-kit to version 1.0.10
CI / build-and-test (push) Failing after -32m9s
2026-04-26 23:17:00 +02:00
warkanum 927a118338 feat(ui): add maintenance page for task management
CI / build-and-test (push) Failing after -31m53s
* Implement maintenance page with task and log display
* Add backfill and metadata retry functionality
* Integrate grid component for project display in thoughts page
* Update types for maintenance tasks and logs
* Enhance sidebar and shell for new maintenance navigation
2026-04-26 23:13:41 +02:00
warkanum b39cd3ba72 feat(generatedmodels): add ThoughtCount to ModelPublicProjects
CI / build-and-test (push) Failing after -31m42s
* Introduced ThoughtCount field for scanning computed column
* Added patch script to ensure ThoughtCount is included in generated model
2026-04-26 17:56:30 +02:00
warkanum db7b152852 refactor(store): replace project and skill models with generated models
CI / build-and-test (push) Failing after -31m25s
* Update project creation and retrieval to use generated models
* Modify skill addition and listing to utilize generated models
* Refactor thought handling to incorporate generated models
* Adjust tool annotations to align with new model structure
* Update API calls in the UI to use new ResolveSpec-based endpoints
* Enhance stats retrieval logic to aggregate thought metadata
2026-04-26 12:56:32 +02:00
warkanum da7220ad64 fix: address logic error in user authentication flow
CI / build-and-test (push) Failing after -31m47s
* Corrected condition for user role validation
* Improved error handling for failed login attempts
2026-04-26 10:37:38 +02:00
warkanum 71845d38d3 feat(ui): implement OAuth login flow and dashboard components
CI / build-and-test (push) Failing after -32m0s
* Add OAuth login handling in app and UI components
* Create new components for login and dashboard pages
* Refactor sidebar and navigation structure
* Introduce types for access entries and status responses
2026-04-26 09:12:46 +02:00
warkanum bdc78cc2a3 Merge pull request 'Add structured learnings updates' (#35) from structured-learnings into main
CI / build-and-test (push) Failing after -32m33s
Reviewed-on: #35
Reviewed-by: SG Command <sgcommand@warky.dev>
2026-04-25 17:02:25 +00:00
warkanum 6c5e3918dc Merge branch 'main' of git.warky.dev:wdevs/amcs into structured-learnings
CI / build-and-test (push) Failing after -31m51s
CI / build-and-test (pull_request) Failing after -31m51s
2026-04-25 19:02:12 +02:00
warkanum 1c9741373e Merge pull request 'feat(learnings): add store and MCP tool layer' (#34) from feature/issue-4-learnings-store-layer into main
CI / build-and-test (push) Failing after -32m42s
Reviewed-on: #34
Reviewed-by: Warky <hein.puth@gmail.com>
2026-04-22 12:45:29 +00:00
warkanum c4d260d971 Merge pull request 'feat: add structured learnings model for issue #4' (#33) from feature/issue-4-structured-learnings-clean into main
CI / build-and-test (push) Failing after -32m50s
Reviewed-on: #33
Reviewed-by: Warky <hein.puth@gmail.com>
2026-04-22 11:49:41 +00:00
warkanum 3dfed9c986 fix(observability): include MCP session ID in access logs
CI / build-and-test (push) Failing after -32m50s
* Add function to extract MCP session ID from request headers and query parameters
* Update access log to include MCP session ID
fix(cli): simplify project lookup logic
* Refactor project retrieval to prefer GUID lookup when input is a valid UUID
* Introduce separate functions for fetching projects by GUID and name
2026-04-21 23:04:46 +02:00
warkanum 512b16f8fe feat(observability): add MCP tool name logging in access log
CI / build-and-test (push) Failing after -32m45s
* Include tool name from request in access log entries
* Update user agent header in HTTP requests
* Add tests for MCP tool name logging
2026-04-21 22:35:42 +02:00
warkanum 9a9fa4f384 feat(cli): add verbose logging option for CLI commands
CI / build-and-test (push) Failing after -32m43s
* Introduced a new flag `--verbose` to enable detailed logging.
* Implemented logging for connection events in SSE and stdio commands.
* Added a utility function to handle verbose logging.
2026-04-21 22:24:57 +02:00
warkanum 979afc909e fix(cli): update environment variable handling for server URL
CI / build-and-test (push) Failing after -32m44s
2026-04-21 22:00:43 +02:00
warkanum 55859811be fix(loader): disable config file rewrite during startup
CI / build-and-test (push) Failing after -32m45s
* migrate legacy schemas in memory only
* log hint to use amcs-migrate-config for persistence
2026-04-21 21:31:05 +02:00
warkanum 7f9c6f122e feat(docker): add migrate-config service for database migrations
CI / build-and-test (push) Failing after -32m38s
* Include amcs-migrate-config binary in Docker image
* Document migration commands in README
2026-04-21 21:18:34 +02:00
warkanum 14e218d784 test(config): add migration tests for litellm provider
CI / build-and-test (push) Failing after -32m22s
* Implement tests for migrating configuration from v1 to v2 for the litellm provider.
* Validate the structure and values of the migrated configuration.
* Ensure migration rejects newer versions of the configuration.
fix(validate): enhance AI provider validation logic
* Consolidate provider validation into a dedicated method.
* Ensure at least one provider is specified and validate its type.
* Check for required fields based on provider type.
fix(mcpserver): update tool set to use new enrichment tool
* Replace RetryMetadataTool with RetryEnrichmentTool in the ToolSet.
fix(tools): refactor tools to use embedding and metadata runners
* Update tools to utilize EmbeddingRunner and MetadataRunner instead of Provider.
* Adjust method calls to align with the new runner interfaces.
2026-04-21 21:14:28 +02:00
warkanum 532d1560a3 Merge pull request 'Fix project-aware thought text search for issue #30' (#31) from fix/issue-30-project-aware-search into main
CI / build-and-test (push) Failing after -32m48s
Reviewed-on: #31
2026-04-21 06:36:04 +00:00
warkanum a6165a0f2e Merge pull request 'Improve thought enrichment reliability' (#29) from jack/amcs-enrichment-reliability into main
CI / build-and-test (push) Failing after -33m13s
Reviewed-on: #29
2026-04-13 21:28:52 +00:00
warkanum 4d107cb87e feat(tools): add background embedding queue for thoughts
CI / build-and-test (push) Failing after -29m22s
* Implement QueueThought method in BackfillTool for embedding generation
* Update CaptureTool to utilize embedding queuer for failed embeddings
* Add EmbeddingStatus field to Thought type for tracking embedding state
2026-04-11 23:37:53 +02:00
warkanum 1d4dbad33f refactor(tools): remove household, calendar, meals, and CRM tools from core
CI / build-and-test (push) Failing after -30m34s
- Moved to future plugin as part of project scope adjustment
- Updated tool registration and descriptions accordingly
2026-04-05 18:55:18 +02:00
warkanum 02bcbdabd8 test(schema): add test for setting tool schemas with no argument input
CI / build-and-test (push) Failing after -30m38s
2026-04-05 16:19:55 +02:00
warkanum 5f48a197e8 feat(mcp): add SSE transport support and related configuration options
CI / build-and-test (push) Failing after -30m37s
2026-04-05 15:57:34 +02:00
warkanum 1958eaca01 Its just a plan, or more of an understanding brainfart
CI / build-and-test (push) Failing after -30m34s
2026-04-05 13:09:06 +02:00
warkanum 4aed4105aa fix(auth): add JSON tags to AccessSnapshot fields for proper serialization
CI / build-and-test (push) Failing after -30m35s
2026-04-05 11:59:08 +02:00
warkanum 8af4956951 docs(cli): add CLI client details and configuration instructions
CI / build-and-test (push) Failing after -30m35s
2026-04-05 11:45:07 +02:00
warkanum 5457cbbd21 build(ui): add Node setup and pnpm installation for UI build process
CI / build-and-test (push) Failing after -30m42s
2026-04-05 11:34:07 +02:00
warkanum d6488cd4d5 ci(release): add workflow_dispatch input for manual release tagging
CI / build-and-test (push) Failing after -30m40s
2026-04-05 11:18:47 +02:00
warkanum a1bf5ceb38 build(release): push new tag to origin after creating a release
CI / build-and-test (push) Failing after -30m37s
2026-04-05 11:15:53 +02:00
warkanum 28f7dc199e Merge branch 'feat/issue-17-svelte-ui'
CI / build-and-test (push) Failing after -30m29s
2026-04-05 11:09:59 +02:00
warkanum f0d9c4dc09 style(ui): improve code formatting and consistency in App.svelte 2026-04-05 10:52:25 +02:00
warkanum 1328b3cc94 Merge pull request 'ci: Gitea Actions — CI build/test + cross-platform release on tags' (#22) from feat/gitea-actions into main
CI / build-and-test (push) Successful in -30m49s
Reviewed-on: #22
2026-04-04 14:37:08 +00:00
warkanum 4713110e32 Merge pull request 'feat: DBML schema files + relspecgo migration generation' (#20) from feat/dbml-schema-relspecgo into main
Reviewed-on: #20
Reviewed-by: Warky <hein.puth@gmail.com>
2026-04-04 13:37:26 +00:00
warkanum f0e242293f Merge pull request 'feat(app): add lightweight status access tracking' (#16) from feat/status-page-access-tracking into main
Reviewed-on: #16
2026-04-04 12:25:25 +00:00
warkanum b93f1d14f0 Merge pull request 'docs: audit plan/todo docs against current repo state' (#15) from docs/plan-todo-audit into main
Reviewed-on: #15
2026-04-03 11:38:59 +00:00
warkanum 24532ef380 Merge pull request 'fix: correct chat_histories FK to reference projects(guid)' (#3) from fix/chat-history-fk into main
Reviewed-on: #3
2026-04-01 14:29:10 +00:00
warkanum 4fdd1411b2 Merge pull request 'feat: add chat history MCP tools' (#1) from feature/chat-history into main
Reviewed-on: #1
2026-04-01 14:15:19 +00:00
warkanum acd780ac9c feat(files): introduce upload_file tool for staging files and enhance save_file documentation 2026-03-31 00:30:56 +02:00
warkanum 3819eb4fee feat(files): update save_file tool description and enforce size limit for base64 payloads 2026-03-31 00:20:36 +02:00
warkanum 4bd3c4e0ba feat(logging): enhance logging for metadata extraction and MCP tool handling 2026-03-31 00:16:13 +02:00
warkanum 8f734c0556 feat(files): enhance file handling with support for HTTP uploads and direct binary access 2026-03-31 00:04:36 +02:00
warkanum 3c1ca83dc9 feat: add agent skills and guardrails functionality
- Introduced new tools for managing agent skills and guardrails, including add, remove, and list operations.
- Updated README.md to document new commands and usage patterns for skills and guardrails.
- Enhanced server configuration to support longer read and write timeouts.
- Increased maximum upload size for files to 100 MB and adjusted related configurations.
- Created database migrations for agent skills, guardrails, and their associations with projects.
- Updated relevant code files to integrate new skills and guardrails into the application logic.
2026-03-30 23:35:54 +02:00
warkanum e6f00ce636 feat(metadata): enhance metadata handling by sanitizing extracted data and updating documentation for file storage 2026-03-30 23:14:08 +02:00
warkanum 72b4f7ce3d feat: implement file upload handler and related functionality
- Added file upload handler to process both multipart and raw file uploads.
- Implemented parsing logic for upload requests, including handling file metadata.
- Introduced SaveFileDecodedInput structure for handling decoded file uploads.
- Created unit tests for file upload parsing and validation.

feat: add metadata retry configuration and functionality

- Introduced MetadataRetryConfig to the application configuration.
- Implemented MetadataRetryer to handle retrying metadata extraction for thoughts.
- Added new tool for retrying failed metadata extractions.
- Updated thought metadata structure to include status and timestamps for metadata processing.

fix: enhance metadata normalization and error handling

- Updated metadata normalization functions to track status and errors.
- Improved handling of metadata extraction failures during thought updates and captures.
- Ensured that metadata status is correctly set during various operations.

refactor: streamline file saving logic in FilesTool

- Refactored Save method in FilesTool to utilize new SaveDecoded method.
- Simplified project and thought ID resolution logic during file saving.
2026-03-30 22:57:21 +02:00
warkanum 7f2b2b9fee feat(files): implement file storage functionality with save, load, and list operations 2026-03-30 22:24:18 +02:00
warkanum 79d8219836 feat(metadata): implement streaming response handling and enhance error management for metadata extraction 2026-03-30 21:42:17 +02:00
warkanum 4f3d027f9e feat(config): update fallback model handling to support multiple models 2026-03-27 00:44:51 +02:00
warkanum 8775c3e4ce feat(metadata): enhance metadata extraction with heuristic fallback support 2026-03-27 00:31:30 +02:00
warkanum f76d1bbd23 feat(metadata): enhance metadata extraction with reasoning content support 2026-03-27 00:24:16 +02:00
warkanum 74e67526d1 feat(config): add log_conversations option to AI metadata configuration 2026-03-27 00:12:33 +02:00
warkanum 6af02a2ba1 feat(metadata): add stripThinkingBlocks function and related tests 2026-03-27 00:05:41 +02:00
warkanum a5c7b90f49 feat(config): add fallback model support for AI configurations 2026-03-26 23:54:15 +02:00
warkanum 0eb6ac7ee5 feat(tools): add maintenance and meal planning tools with CRUD operations
- Implement maintenance tool for adding, logging, and retrieving tasks
- Create meals tool for managing recipes, meal plans, and shopping lists
- Introduce reparse metadata tool for updating thought metadata
- Add household knowledge, home maintenance, family calendar, meal planning, and professional CRM database migrations
- Grant necessary permissions for new database tables
2026-03-26 23:29:03 +02:00
warkanum b74d63c543 feat(prompts): add new templates for memory migration and weekly review 2026-03-26 23:08:16 +02:00
warkanum eefa78d011 feat(ui): add action links to home page for navigation 2026-03-26 22:49:32 +02:00
warkanum f4ef0e9163 feat(backfill): implement backfill tool for generating missing embeddings 2026-03-26 22:45:28 +02:00
warkanum 1dde7f233d feat(auth): add additional OAuth endpoints and improve client ID handling 2026-03-26 22:30:23 +02:00
warkanum 56c84df342 feat(auth): implement OAuth 2.0 authorization code flow and dynamic client registration
- Add OAuth 2.0 support with authorization code flow and dynamic client registration.
- Introduce new handlers for OAuth metadata, client registration, authorization, and token issuance.
- Enhance authentication middleware to support OAuth client credentials.
- Create in-memory stores for authorization codes and tokens.
- Update configuration to include OAuth client details.
- Ensure validation checks for OAuth clients in the configuration.
2026-03-26 21:17:55 +02:00
warkanum 64024193e9 Add README and initial project plan documentation 2026-03-23 21:48:09 +02:00
warkanum 0403052e97 Initial commit 2026-03-23 19:00:36 +00:00