38e06da3a6
Record the recent handoff and redMCP commits, refresh intentionally untracked file notes, and capture the latest redMCP lint/test validation commands and results.
3.7 KiB
3.7 KiB
Cleanup Notes ~ May 6, 2026
This repository currently mixes multiple partially finished workstreams. The goal is to recover to a clean, reviewable git state with focused commits so normal development can continue.
Scope and constraints
TODO.mdis long-horizon context and is out of scope for this cleanup pass.redMCP/is actively used on this machine; do not delete files in that tree and do not stop runningredMCPprocesses during cleanup.redMCP/startProd.shis a local convenience script and is intentionally not a project artifact for this cleanup. Ignore it.- Use
plugins/redmine_contacts_helpdesk/LOCAL_CHANGELOG.mdas a primary anchor for reconstructing intent and grouping related changes.
Recovered change groups
The current dirty tree appears to contain these distinct units:
- Helpdesk issue API
include=helpdeskpatch and docs/manifest. - Post-import automation and validator/worker hardening.
- Semantic index service, deployment assets, tests, and runbooks.
- redMCP feature expansion (HTTP handler/server, client/dispatcher updates, tests, docs).
- Skill metadata/docs under
skills/redmine-communicator/.
Working checklist
- Inventory all modified and untracked files.
- Identify likely project groupings for clean commits.
- Confirm
LOCAL_CHANGELOG.mdaligns with Helpdesk API patch files. - Stage and commit Helpdesk API patch as a focused unit.
- Stage and commit post-import automation as a focused unit.
- Stage and commit semantic index files as a focused unit.
- Stage and commit redMCP feature updates as a focused unit.
- Stage and commit redmine-communicator skill files (optional split).
- Run targeted syntax/tests for each committed unit.
- Confirm final worktree state and note any intentionally uncommitted files.
Cleanup result
Committed units:
fba494dAdd Helpdesk issue API include serializerfaad708Automate post-import refresh and validation workflowb305544Add semantic-index service, deployment assets, and tests4c931baExpand redMCP safe issue operations and HTTP handling42fc831Add redmine-communicator skill docs and setup toolingdef9084Handoff notes for next agent/workflow22c8e91Sanitize noisy MCP text fields by defaulta7d23cdResolve human project names in MCP project_id args
Intentionally untracked local files:
redMCP/startProd.shroadmap/
Recent validation run for redMCP changes:
php -l app/McpDispatcher.phpphp -l app/McpEnvironment.phpphp -l app/mcp-http-router.phpphp -l bin/redmcp-server.phpphp -l bin/test-redmine-structure.phpphp bin/test-redmine-structure.php(OK 90 assertions)
Handoff notes for next session
- Gitea private repo is created and current history was pushed.
- Monorepo approach is acceptable; keep path-scoped commits and deployment-unit boundaries.
- Production semantic-index target is a separate host from production Redmine.
- redMCP improvement focus is operational quality:
- useful error/access logging without console spam,
- easy background operation,
- simple install/remove/status workflow.
- A single fixed systemd service is not preferred for redMCP because multiple concurrent identities/API keys may be needed. Prefer an instance model.
- If systemd is used for redMCP, implement a simple operator script with
install,remove, andstatusflows.
Notes to keep in mind
- Do not commit secrets (
.env, tokens, credentials). semantic_index/search.sh.mdlooks like conversational scratch text; treat as optional/non-essential unless deliberately kept.- If a file belongs to multiple units, prefer smallest safe unit first and document rationale in commit messages.