# bconklin66's knowledge hub — full text Canonical hub URL: https://memory.wiki/hub/b0bpar81 Index-only manifest: https://memory.wiki/hub/b0bpar81/llms.txt Concept digest: https://memory.wiki/raw/hub/b0bpar81?digest=1&compact=1 # Knowledge graph _Pre-computed structure across this hub: 40 concepts, 30 relations, 0 bundles with AI analysis. Use this as navigation; the doc bodies below contain the prose._ ## Concepts - **memory.wiki** _(concept • weight 480 • 2 docs)_ The designated central registry for ongoing project work and source pointers. - **MISys database interface** _(entity • weight 414 • 1 doc)_ A project involving BOM Excel exporter development and SQL database investigation. - **Codex** _(entity • weight 352 • 1 doc)_ AI tool used for project tasks and session management. - **Use memory.wiki as registry** _(decision • weight 305 • 1 doc)_ User instruction to consolidate project tracking in memory.wiki, replacing Handoff. - **ChatGPT** _(entity • weight 294 • 1 doc)_ AI tool used for project tasks and conversation history. - **Claude** _(entity • weight 189 • 1 doc)_ An AI participant used for project sessions and topology verification. - **Standing workflow** _(concept • weight 176 • 1 doc)_ The established protocol for maintaining project pointers and source history across AI tools. - **Ongoing work registry** _(concept • weight 135 • 2 docs)_ A centralized system using memory.wiki to track project sources, sessions, and repositories. - **QMC-AWG** _(entity • weight 51 • 1 doc)_ An FPGA development project involving timing constraints and Vivado implementation. - **QMC-AD330** _(concept • weight 47 • 1 doc)_ Hardware project involving USB2517 hub configuration and MCP2210 interface. - **QMC-AMT16-T4** _(entity • weight 43 • 2 docs)_ A specific product registered in the system. - **BOBSys** _(entity • weight 39 • 1 doc)_ The API interface used to interact with the ALPHITECH production database. - **OrCAD** _(entity • weight 35 • 2 docs)_ Design software used for schematic capture and DRC. - **QMC-ARINC429** _(entity • weight 30 • 2 docs)_ A specific product registered in the system. - **XMC-AWG-16** _(entity • weight 25 • 2 docs)_ An FPGA-based project involving DTMF digit generation and hardware testing. - **Claude Code** _(entity • weight 25 • 2 docs)_ AI tool used for project tasks and session management. - **Product index** _(concept • weight 24 • 1 doc)_ A lookup table mapping NAS paths to specific registry headings. - **XDMA-WIN** _(entity • weight 23 • 1 doc)_ A repository and project for QMC topology management and PCIe device enumeration. - **ALPHITECH** _(entity • weight 22 • 1 doc)_ The live production system where BOMs and MIITEM parts are registered via BOBSys API. - **PCB** _(tag • weight 21 • 1 doc)_ Domain tag for schematic and layout related work. - **FPGA** _(tag • weight 21 • 1 doc)_ Domain tag for FPGA development and design. - **MISys** _(tag • weight 21 • 1 doc)_ Domain tag for item numbers and BOM management. - **QMC-8AD1M-16D** _(entity • weight 20 • 2 docs)_ A specific product registered in the system. - **ALPHINAS** _(entity • weight 20 • 1 doc)_ The specific server hosting the Products Samba share. - **Vivado** _(entity • weight 19 • 1 doc)_ The FPGA design tool used for timing analysis and bitstream generation. - **QMC-AWG-8** _(entity • weight 19 • 2 docs)_ A specific product registered in the system. - **NAS** _(entity • weight 18 • 1 doc)_ Central storage location for product directories mapped to memory.wiki. - **SW** _(tag • weight 18 • 1 doc)_ Domain tag for host software and drivers. - **XMC-AWG16-PRJ** _(entity • weight 16 • 1 doc)_ Hardware/firmware project involving DTMF tone generation and FPGA clock matrix control. - **Registry workflow** _(decision • weight 15 • 1 doc)_ User instruction to use memory.wiki as the source of truth for project pointers and history. - **MIBOB** _(entity • weight 13 • 1 doc)_ A local SQL test database used for parts lookup and order investigations. - **BOM Excel exporter** _(concept • weight 13 • 1 doc)_ The primary task associated with the MISys database interface project. - **PCIe lane channel 0** _(decision • weight 12 • 1 doc)_ Chosen over channel 3 for the QMC-ARINC429 project to resolve timing skew issues. - **UUT end test adapter** _(entity • weight 12 • 1 doc)_ A hardware-related project involving netlist generation and PDF-based pin annotation. - **Questa** _(entity • weight 11 • 1 doc)_ The simulation tool used for verifying QMC-AWG RTL designs. - **iwluWiLS** _(entity • weight 10 • 1 doc)_ The Ongoing work registry containing historical records and pointers. - **XMC-AWG16** _(concept • weight 10 • 1 doc)_ A hardware project currently undergoing Rev.C schematic and netlist verification. - **XDMA-WIN_mast** _(entity • weight 10 • 1 doc)_ The authoritative repository for QMC-AMT16-T4 host software, replacing the divergent XDMA\windows branch. - **Ongoing work registry workflow** _(concept • weight 10 • 1 doc)_ Standardized procedure for maintaining project pointers across AI participants. - **VSF-06-50-50-03-G** _(entity • weight 10 • 1 doc)_ A component symbol project involving XML generation and Capture schematic integration. ## Concept relations - **memory.wiki** tracks project sources **MISys database interface** - **Standing workflow** is recorded in **memory.wiki** - **Codex** participates in **MISys database interface** - **Ongoing work registry** tracks project sources **MISys database interface** - **ChatGPT** provides sql investigation **MISys database interface** - **memory.wiki** tracks project **MISys database interface** - **Standing workflow** is documented in **memory.wiki** - **Codex** performs tasks for **MISys database interface** - **Codex** performs primary tasks **MISys database interface** - **memory.wiki** tracks project status **MISys database interface** - **Codex** participates in project **MISys database interface** - **ChatGPT** provides investigation source **MISys database interface** - **ChatGPT** provides source history **MISys database interface** - **Codex** contributes to **MISys database interface** - **Ongoing work registry** tracks project **MISys database interface** - **Use memory.wiki as registry** defines usage of **memory.wiki** - **Standing workflow** uses as registry **memory.wiki** - **MISys database interface** uses as participant **Codex** - **Codex** participates in task **MISys database interface** - **MISys database interface** uses as participant **ChatGPT** - **memory.wiki** tracks project sources **QMC-ARINC429** - **memory.wiki** tracks project sources **XMC-AWG-16** - **Use memory.wiki as registry** defines primary tool **memory.wiki** - **Ongoing work registry** is hosted on **memory.wiki** - **memory.wiki** tracks project sources **QMC-AD330** - **ChatGPT** participates in **MISys database interface** - **ChatGPT** provides source for **MISys database interface** - **Codex** performs project tasks **MISys database interface** - **Codex** executes primary task **MISys database interface** - **Use memory.wiki as registry** defines the **Standing workflow** --- id: SQUMIWlI title: Office Recorder and its MCP server url: https://memory.wiki/SQUMIWlI updated: 2026-09-08T20:00:03.122387+00:00 --- # Office Recorder and its MCP server Implementation guide for version 0.1.0, verified against the project source on September 8, 2026. ## What Office Recorder does Office Recorder is a local activity recorder for engineering work. A background daemon writes timestamped events, and the `office-history` Model Context Protocol (MCP) server lets an AI client query that history and add explicit notes. The purpose is to make it easier to resume a project: identify recent work, find changed paths, review Git activity, and recover decisions or checkpoints saved by an AI session. ## How it works 1. The daemon observes configured activity sources. 2. Events are appended to daily JSONL files in a local data directory. 3. The MCP server reads the same event store and returns events, summaries, or a context bundle. 4. An AI or script can add a manual event through `record_event`. The daemon and MCP server are separate processes. Starting the MCP server alone does not start automatic recording. Configure both to use the same data directory. ## Recorded activity | Source | Recorded information | | --- | --- | | Windows foreground window | Window title and process metadata when the observed foreground-window state changes | | File watching | Changed paths under configured roots, with the filesystem event type; changes are debounced per path | | Git polling | Initial repository state and subsequent changes to branch, HEAD, and working-tree status | | Project classification | Project associations from configured path and window-title rules, plus transitions between classified foreground projects | | Manual events | Notes, decisions, checkpoints, or AI-session summaries supplied through MCP | | Recorder operations | Daemon start/stop events and supported watcher/window errors | Automatic events carry an ID, timestamp, machine name, type, and source, plus optional project, path, text, and metadata. File-change events record paths and event metadata; they do not contain file-content snapshots. ## Setup and execution From a local checkout with Node.js and npm available: ```powershell npm install npm run build Copy-Item office-recorder.config.example.json office-recorder.config.json ``` For initial setup, edit the copied configuration to use your own paths. The example shipped with this version contains machine-specific paths that must be replaced. Preserve an existing configuration when updating an installation. A portable starting configuration is: ```json { "pollIntervalMs": 5000, "gitScanIntervalMs": 30000, "fileDebounceMs": 1500, "maxGitDepth": 4, "watchRoots": ["C:/work/example-project"], "ignorePathParts": [ ".git", "node_modules", "dist", ".vs", "Debug", "Release", "x64" ], "projectRules": [ { "name": "Example Project", "paths": ["C:/work/example-project"], "titlePatterns": ["example-project"] } ] } ``` Omitting `dataDir` uses `~/.office-recorder` unless the `OFFICE_RECORDER_DATA_DIR` environment variable overrides it. Events live in `events/YYYY-MM-DD.jsonl` beneath that directory. Run the daemon from the checkout: ```powershell npm run daemon -- --config C:/work/office-recorder/office-recorder.config.json ``` Use `--root PATH` to override configured watched roots; repeat the option for multiple roots. `--data-dir PATH` overrides the storage location. `OFFICE_RECORDER_CONFIG` can select the configuration file. Keep watched roots focused on relevant projects. The defaults poll foreground-window state every 5 seconds, poll Git every 30 seconds, and debounce file events for 1.5 seconds. ## Connecting the MCP server The server uses stdio. After building, configure an MCP-capable client to launch Node with the compiled CLI: ```json { "mcpServers": { "office-history": { "command": "node", "args": [ "C:/work/office-recorder/dist/cli.js", "mcp", "--config", "C:/work/office-recorder/office-recorder.config.json" ] } } } ``` Replace the example paths with the checkout location. This illustrates the command and arguments; the enclosing configuration format depends on the client. For direct execution from the checkout: ```powershell npm run mcp -- --config C:/work/office-recorder/office-recorder.config.json ``` ## MCP tool reference | Tool | Purpose | Inputs | | --- | --- | --- | | `recorder_status` | Show storage location, number of event files, and latest event | None | | `list_projects` | Show configured watch roots and project rules | None | | `recent_activity` | Return recent events | Optional `project`, `since`, `limit` | | `search_activity` | Search the serialized event JSON; every query word must match | Required `query`; optional `project`, `since`, `until`, `limit` | | `activity_between` | Return events within a time range | Required `start`, `end`; optional `project`, `limit` | | `files_touched` | Return unique event paths and the number of matched events used | Optional `project`, `since`, `until`, `limit` | | `what_was_i_doing` | Return a compact work diary | Optional `project`, `since`, `until`, `limit` | | `reclaim_context` | Build a project context bundle with a summary and event lines | Optional `project`, `query`, `since`, `limit` | | `record_event` | Append a manual event with source `mcp` | Required `type`; optional `project`, `path`, `text`, `metadata` | The server also registers the text resource `office-history://today`, which summarizes up to 200 events since the start of the current UTC date. ### Query behavior - Results are ordered newest first. - The usual default limit is 100 events; tool limits accept integers from 1 to 1,000. - `reclaim_context` defaults to 200 events and includes at most 100 formatted event lines. - Project filtering is an exact, case-insensitive name match. - Search uses case-insensitive substring matching for every whitespace-separated query word across the event JSON. - Time boundaries are inclusive. Use ISO timestamps with an explicit timezone for precise ranges. - A date-only end value represents midnight at the start of that date. - `files_touched` uses event paths, which can include repository paths; its results are bounded by the event limit. ## Example workflow Ask an AI client connected to the server: - “Show recent activity for Example Project.” - “What was I doing on this project yesterday?” - “Find activity mentioning the driver.” - “Build a context bundle so I can resume Example Project.” Before ending a work session, save a useful checkpoint with `record_event`: ```json { "type": "checkpoint", "project": "Example Project", "text": "Completed the parser update. Next step: verify malformed-input handling.", "metadata": { "next_step": "Run the malformed-input cases and review error messages." } } ``` This is a synthetic example, not a published activity record. ## Current limits and data handling This version records mechanical observations and user-supplied notes. Its diary and context tools summarize recorded events; they do not independently infer the reasoning behind changes. Explicit checkpoints preserve that reasoning. Foreground-window capture is Windows-specific, and recursive file watching is enabled on Windows in this implementation. Polling and debouncing can miss or combine short-lived changes. `recorder_status` shows stored history, so a successful response alone does not prove the daemon is currently running. Storage is local, while information returned through MCP becomes available to the connected client. Events can contain window titles, paths, machine names, and manual notes. This guide uses generic paths and synthetic examples. ## Verification and source basis The connected `office-history` server successfully answered `recorder_status` on September 8, 2026, and returned an existing event store with a recent daemon event. This guide was checked against the local project's `README.md`, `package.json`, and the implementation in `src/mcp.ts`, `src/config.ts`, `src/daemon.ts`, `src/store.ts`, and `src/cli.ts`. It describes the observed version 0.1.0 implementation. No public source repository URL was established during this review.