Skip to content

feat(skills): add project-manager v2.2 — per-project context isolation#14417

Open
Krislu1221 wants to merge 2 commits into
NousResearch:mainfrom
Krislu1221:feat/project-manager-v2-2-fix
Open

feat(skills): add project-manager v2.2 — per-project context isolation#14417
Krislu1221 wants to merge 2 commits into
NousResearch:mainfrom
Krislu1221:feat/project-manager-v2-2-fix

Conversation

@Krislu1221

Copy link
Copy Markdown

Summary

Add a project-manager optional skill that solves the fundamental tension between AI agents' stateless nature and projects' need for continuity. Each project gets its own STATUS.md file, enabling seamless context recovery across sessions without polluting global memory.

Problem

AI agents are stateless — each conversation starts fresh. But real work spans multiple sessions:

  • Memory explosion: All project progress stuffed into MEMORY.md → 1000+ lines, slow retrieval
  • Context pollution: Project A's progress leaks into Project B's context
  • Lost breakpoints: "Continue last project" → agent doesn't know which one or where it left off
  • Over-engineering: Tiny tasks forced into full project templates

Solution

A per-project STATUS.md system — the agent's "external hard drive":

workspace/projects/
├── index.md              # Auto-maintained project registry
├── {project-name}/
│   └── STATUS.md         # Progress, todos, key decisions
└── _archive/             # Completed/abandoned projects

Key Features

Feature Description
Physical Isolation Each project has its own STATUS.md — no shared state
Intent Recognition No rigid keywords — infers new/resume/pause/switch from context
Tiered Templates Full (A) for multi-phase projects, Lightweight (B) for single tasks
Write-Safe Read-merge-write pattern reduces accidental overwrites within a session
Index Self-Healing Auto-creates index.md, auto-adds missing projects
Memory Boundary Project progress in STATUS.md, user preferences in MEMORY.md

Quantified Impact

Metric Before After
Global memory size 1153 lines 167 lines (85% reduction)
Project recovery User re-describes context (~2 min) Read STATUS.md (<1s)
Context pollution High (all projects mixed) Low (physical isolation)

Compatibility

  • Designed as an optional skill — not activated by default
  • Compatible with Hermes' existing memory system (complementary, not conflicting)
  • No breaking changes to existing Hermes architecture
  • Tested across concurrent agent instances (Feishu, WeChat, CLI channels)

Files Added

optional-skills/project-manager/
├── SKILL.md              # Skill definition (agent instructions)
└── references/
    └── templates.md      # STATUS.md templates (Full A + Lightweight B)

v2.2 — Battle-tested across multiple concurrent agent sessions with auto-healing index, write-safe updates, and fuzzy-match fallback.

Cross-platform project context isolation & state management.
Battle-tested across nanobot, OpenClaw, and Hermes Agent.

Features:
- Per-project STATUS.md isolation (physical, not logical)
- Intent recognition (no rigid keywords)
- Tiered templates: Full (A) for complex projects, Lightweight (B) for tasks
- Write-safe read-merge-write pattern (reduces accidental overwrites)
- Index self-healing (auto-creates index.md, auto-adds missing projects)
- Strict memory boundary: project progress in STATUS.md, preferences in MEMORY.md
- Git integration: auto-record commit hashes per project

v2.2 fixes:
- Templates extracted to references/templates.md to reduce context cost
- Concurrent-safety claims softened; TOCTOU limitation noted
- Git commands scoped to project directory (git -C)
- Worktree detection via git-native probe (rev-parse)
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have tool/skills Skills system (list, view, manage) labels Apr 23, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Supersedes closed #14385 (v2.1). Same feature, updated version.

1 similar comment
@alt-glitch

Copy link
Copy Markdown
Collaborator

Supersedes closed #14385 (v2.1). Same feature, updated version.

@Krislu1221

Copy link
Copy Markdown
Author

Hi there, submitting a Project Manager skill to enhance long-term project handling. It maintains per-project state in STATUS.md files, supporting context recovery across sessions. Designed to be lightweight and intent-driven. Hope this helps Hermes users!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have tool/skills Skills system (list, view, manage) type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants