ofrik

Results issues of ofrik

The `ctx_search` rate limiter uses a manual call counter with a 60-second reset timer. This is drift-prone: the window resets on a fixed interval from server start rather than sliding...

Every call to `ctx_execute` invokes `buildCommand()`, which calls `commandExists()` or `runnableExists()` to locate the language runtime. On Windows this includes running `--version` to filter out Microsoft Store stubs. This means...

`better-sqlite3` is a synchronous SQLite driver. All database operations — indexing, search, snapshot writes, event inserts — run on the Node.js event loop thread and block all other async I/O...

Each install writes 20+ `.mjs` files plus 5 pre-built `.bundle.mjs` files to the platform config directory. The bundles (`session-db.bundle.mjs`, `security.bundle.mjs`, `session-snapshot.bundle.mjs`, etc.) are generated by esbuild and collectively add ~500...

The `ctx_upgrade` tool calls `npm install -g context-mode` to upgrade the package. This fails silently or errors for users who installed via `npx`, `bunx`, or a standalone binary download —...

The maximum concurrent jobs for `ctx_batch_execute` is hardcoded to 32 in `runPool.ts`. Users on high-core machines (e.g. 64-core workstations or CI runners) cannot increase this, and users on constrained environments...

When `ctx_insight` is called, it spawns a local HTTP server on a dynamic port. The port number is not printed anywhere accessible to the user — it is only available...

## Bug On Windows, `EnvironmentPaths` in `models/trial/paths.py` uses `Path("/logs")` which resolves to `\logs` (backslashes). These paths are used as **container paths** (Linux), so they must always use forward slashes. ###...

## Bug When harbor fetches task repositories on Windows, git checks out test scripts (e.g., `test.sh`) with CRLF line endings. When these are copied into a Linux container via `docker...