2026-02-27T11-15-56_auto_MEMORY.md, memory/debug.log
This commit is contained in:
parent
bf0b81c590
commit
4e9613fc93
@ -1,54 +1,63 @@
|
||||
<!-- generated 2026-02-26 04:16 -->
|
||||
<!-- generated 2026-02-27 04:15 -->
|
||||
|
||||
Current Context
|
||||
|
||||
Active development focused on the signetai project's NPM packaging, OpenMarketUI interactions, and the Rust-based pm-kalshi trading server. Currently resolving build dependencies, fixing UI keybindings, and ensuring the trading environment (paper mode) is operational.
|
||||
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
|
||||
|
||||
Signetai NPM Compatibility
|
||||
Location: `/home/nicholai/signet/signetai`
|
||||
Status: `bin/postinstall` converted to CJS to resolve NPM installation errors.
|
||||
Next Steps: Monitor for Dependabot security advisories. Ensure the Predictive Memory Scorer (Rust) builds correctly and the daemon starts on port 3850.
|
||||
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.
|
||||
|
||||
pm-kalshi Trading System
|
||||
Location: Rust crate (within signetai directory).
|
||||
Status: `pm-server` is a library crate (no `main.rs` entry), while `pm-kalshi` contains the binary targets. Currently running `kalshi-paper` to launch the web dashboard on `127.0.0.1:3030`.
|
||||
Blocker/Issue: The `data/markets.csv` file is 6.7GB; may cause slow loading or backtest errors. Requires `just fetch-kalshi` or the Python data fetcher to populate.
|
||||
Next Steps: Verify web dashboard responsiveness and data loading speed.
|
||||
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 / Watchtower Interaction
|
||||
Location: `/home/nicholai/signet/signetai` (UI components).
|
||||
Status: Working on interactive pipeline visualization and data collection.
|
||||
Next Steps: Continue debugging trait-based architecture (Source → Filter → Scorer → Selector → OrderExecutor) to ensure smooth data flow.
|
||||
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
|
||||
|
||||
Feb 26 NPM Install Fix: Modified the postinstall script from JavaScript to C-Node to ensure `npm install` works without requiring Node.js runtime, allowing the binary distribution to be used directly.
|
||||
Keybinding Bug Resolution: Identified and fixed a bug where the `Enter` key (mapped as `"enter"`) was not triggering actions in the data tab because the system sent `"return"`. Updated `opentui/keybindings.ts`.
|
||||
Server Initialization: Successfully started the `pm-kalshi` paper trading server with the web dashboard enabled, though compilation in release mode is taking time.
|
||||
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
|
||||
|
||||
Signet Architecture & Standards:
|
||||
Path: Agent profile is stored at `~/.agents/`, NOT `~/.signet/`.
|
||||
Linting: Uses Biome.
|
||||
Commits: Must follow Conventional Commits format.
|
||||
TypeScript: Strict mode is enforced; `any` types are strictly prohibited. All null checks must be explicit.
|
||||
Predictive Memory Scorer: A Rust component that trains models locally; requires specific configuration to integrate with the main daemon.
|
||||
|
||||
Rust Build Distinctions:
|
||||
`pm-server` is a library crate containing routes and WebSocket modules; it lacks a `main.rs` and requires a binary entry point (like `pm-kalshi`) to execute.
|
||||
`pm-kalshi` acts as the binary crate containing the entry point logic for the paper trading mode.
|
||||
|
||||
OpenMarketUI Architecture:
|
||||
Utilizes a trait-based architecture for trading logic: `Data Source` -> `Filter` -> `Scorer` -> `Selector` -> `Order Execution`.
|
||||
|
||||
Environment:
|
||||
Development is performed on Hyprland (Wayland compositor) running on Arch Linux.
|
||||
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
|
||||
|
||||
UI Development: CRITICAL. Never delegate UI tasks (buttons, dashboards, complex layouts) to subagents. Perform them directly according to Opus rules, ensuring all visual references are passed.
|
||||
Database Safety: CRITICAL. Never delete a production database without first creating a backup.
|
||||
Type Safety: Enforce strict TypeScript typing. Do not use `any` types; use explicit null checks.
|
||||
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.
|
||||
@ -730,3 +730,5 @@ We are synthesizing a WORKING MEMORY document for Nicholai. Focus is on CURRENT
|
||||
2026-02-27T04:14:23.213205 [regenerate] starting regeneration
|
||||
2026-02-27T04:14:28.992246 [regenerate] found 608 transcripts, 50 memories
|
||||
2026-02-27T04:14:28.992363 [regenerate] trying model: glm-4.7-flash
|
||||
2026-02-27T04:15:51.219216 [regenerate] success with glm-4.7-flash (4083 chars)
|
||||
2026-02-27T04:15:51.222454 [regenerate] wrote 4120 chars to MEMORY.md
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user