.agents/memory/MEMORY.md

63 lines
4.0 KiB
Markdown

<!-- generated 2026-02-27 04:15 -->
Current Context
Active maintenance of the `signetai` monorepo and OpenMarketUI ecosystem, with a specific focus on contributing high-value fixes to the OpenClaw project and engaging its community by positioning Signet as a complementary utility rather than a competitor.
Active Projects
OpenMarketUI (Core)
Location: `/home/nicholai/signet/signetai`
Status: Main branch active, codebase audit completed.
Details: A multi-component system including the trading pipeline, UI components, and Astro-based static site generator. Currently using TypeScript, Biome for linting (no config file), and Bun/Turbo for build orchestration.
Next Steps: Continue monitoring PRs and ensuring consistent naming conventions throughout the codebase.
Predictive Memory Scorer (R&D)
Location: Rust implementation, architecture docs in `docs/wip/predictive-memory-scorer.md`
Status: Architecture defined; ACAN reference available in `references/acan/`.
Details: Experimental component utilizing 8 delegated agents for real-time preference processing.
Next Steps: Implementation and integration testing.
OpenMarketUI Website
Location: `/web/` (Astro)
Status: Active build and deployment pipeline.
Details: Published as an npm package named `openmarketui-web` and deployed via Cloudflare Pages.
OpenClaw Ecosystem Engagement
Status: Bugfixing and Community Outreach.
Details: Currently fixing specific issues in the OpenClaw codebase and drafting forum content to share Signet features.
Next Steps: Complete the secret provider timeout bugfix; finalize and post the OpenClaw discussion thread emphasizing problem-solving over feature comparison.
Recent Work
OpenClaw Bugfix: Mistral Tool Call Sanitization
Action: Fixed a logic error in `src/agents/transcript-policy.ts:120`.
Issue: The condition `sanitizeToolCallIds: !isOpenAi && sanitizeToolCallIds` incorrectly short-circuited sanitization for Mistral models when used via an OpenAI-compatible provider.
Resolution: Added regression tests and committed the fix. PR created for review.
OpenClaw Outreach Strategy
Action: Drafted content for OpenClaw discussions.
Decision: Shifted the narrative away from comparing Signet to ChatGPT/Claude Code. Instead, focused on Signet being a practical solution to specific pain points identified in OpenClaw discussions (#842 memory issues, #9676 secrets concerns).
OpenClaw Bugfix: Exec Secret Provider Timeout
Action: Identified hardcoded timeout in `src/secrets/resolve.ts:544`.
Issue: The timeout was fixed at 2000ms, ignoring user-configured `timeoutMs` values.
Status: Identified root cause; fix implementation in progress.
Technical Notes
Environment: Operating system is Arch Linux running Hyprland window manager.
Storage: User state and secrets are stored in `~/.agents/`. The memory database uses SQLite located within this directory.
Secrets Management: Mandatory workflow uses `secret_list` MCP to discover secrets and `secret_exec` MCP to execute commands securely.
TypeScript Configuration: Strict mode enforced. No usage of `any` types allowed; must use `unknown` with narrowing. Null checks must be explicit.
Git: Commit messages must follow Conventional Commits format.
UI Workflow: For any frontend/UI work involving images or complex layouts, always use the original image references and do not delegate the task to sub-agents.
Session Handling: The session compacting hook is active but limited in scope.
Rules & Warnings
Security First: Never delete production data without creating a backup first.
Secrets: Always utilize the `secret_list` and `secret_exec` MCP tools for any operations involving secrets.
Code Quality: Enforce strict TypeScript rules: `any` is forbidden; use `unknown` with type narrowing; explicit null checks preferred.
UI Guidelines: Never delegate UI-related coding to sub-agents. Ensure original image references are preserved in all renders.
Maintenance: Update `MEMORY.md` in the local database at least once per session to track progress and context.