Commit Graph

34 Commits

Author SHA1 Message Date
alex
cac00d21c3 changes 2026-03-11 12:49:11 +00:00
alex
5aae551edd fix(tmux): pick per-instance ports and restore pane cleanup 2026-03-11 12:36:45 +00:00
alex
00335c86ae debug(tmux-panes): strip trailing slash, always hold pane open 30s 2026-03-11 12:28:19 +00:00
alex
1145ce2be4 debug(tmux-panes): log serverUrl and wrap attach cmd to expose errors
On attach failure the pane stays open for 30s showing the error.
All events logged to /tmp/opencode-tmux-debug.log.
2026-03-11 12:23:36 +00:00
alex
7bd2308b53 fix(tmux-panes): 60/40 layout with stacked right-column panes
First subagent gets a horizontal 60/40 split (main left, agent right).
Subsequent subagents split vertically within the right column so they
stack. rightColumnPanes tracks right-column pane order so each new
split targets the last pane in the stack.
2026-03-11 12:15:30 +00:00
alex
4b4a32eff6 feat: add tmux integration with visual subagent panes
- plugins/tmux-panes.ts: opencode plugin that hooks into session.created/
  session.deleted events to spawn a tmux pane per subagent running
  'opencode attach', giving live visual TUI for each background agent
- opencode.jsonc: load the local plugin alongside @tarquinen/opencode-dcp
- skills/tmux-session/SKILL.md: teach agents to manage persistent tmux
  sessions (dev servers, watchers, worktree windows) with oc- naming
- c.fish / cc.fish: auto-start a tmux session when invoked outside tmux
  so the visual panes plugin can always activate
2026-03-11 12:12:24 +00:00
alex
796d36a138 changes 2026-03-11 11:42:38 +00:00
alex
ecf8f886f9 feat: add Catppuccin Mocha theme to tmux config
Apply consistent Catppuccin Mocha colours across status bar, window titles,
pane borders, message prompt, copy mode, and clock to match kitty and other
configs in the repo.
2026-03-11 11:42:01 +00:00
alex
3d210de7bd Merge branch 'feat/skill-adapted-adoption' 2026-03-11 11:40:45 +00:00
alex
dd0b2d12b5 Merge branch 'feat/skill-direct-adoption' 2026-03-11 11:40:45 +00:00
alex
ffa21e07ce feat: add plan and review workflow skills 2026-03-11 11:38:57 +00:00
alex
e03234a0df feat: add verification and debugging workflow skills 2026-03-11 11:28:06 +00:00
alex
57f577980e feat: strengthen git workflow skill guidance 2026-03-11 11:28:06 +00:00
alex
11340a36aa feat: strengthen git workflow skill guidance 2026-03-11 11:27:40 +00:00
alex
014016328d feat: add verification and debugging workflow skills 2026-03-11 11:27:40 +00:00
alex
f7a1aac68b chore: align opencode memory docs with .memory project 2026-03-11 11:08:39 +00:00
ffd0d31fa5 changes 2026-03-10 13:09:47 +00:00
e0c4c2ed7b extra pt2 2026-03-09 17:34:14 +00:00
457fb2068b feat: integrate basic-memory MCP for dual memory system
Add basic-memory as a global cross-project knowledge store alongside
the existing per-project .memory/ system. Agents can now persist
reusable patterns, conventions, and lessons learned across all projects
via MCP tools (write_note, search_notes, build_context).

Changes:
- opencode.jsonc: add basic-memory MCP server config
- AGENTS.md: rewrite Project Memory section for dual system with
  routing table (global vs per-project)
- agents/lead.md: integrate basic-memory into phase transitions,
  CONSULT, PHASE-WRAP, escalation, and knowledge freshness
- agents/sme.md: dual caching strategy (basic-memory for cross-project
  guidance, .memory/ for project-specific)
2026-03-09 17:33:04 +00:00
6727c91889 feat: add cliphist clipboard manager integration 2026-03-09 14:44:13 +00:00
33180d6e04 fix: flip symlink structure - AGENTS.md is the real file
AGENTS.md is now the canonical instruction file, with CLAUDE.md,
.cursorrules, and .github/copilot-instructions.md as symlinks to it.

This is simpler and more intuitive - the main file is at the root,
not buried in .github/.

Updated all references across agents, commands, skills, and .memory/.
2026-03-09 12:34:26 +00:00
fd5bdd6b0b extra 2026-03-09 12:28:10 +00:00
20b7ef0ea6 chore: bootstrap .memory/ project knowledge files
Add initial .memory/ knowledge base for the dotfiles repo:
- knowledge.md: full desktop stack, tool configs, keybindings, conventions
- decisions.md: architectural choices (Hyprland, Fish, Catppuccin Mocha, Neovim, OpenCode)
- research/opencode-architecture.md: detailed OpenCode multi-agent system breakdown
2026-03-09 12:27:12 +00:00
2b2dd11575 updates 2026-03-09 10:22:28 +00:00
5224faabb0 feat: enforce functional verification, mandatory quality pipeline, and requirement checks
Add three new sections to AGENTS.md addressing workflow gaps observed in
a session where 6 features were implemented but none were functionally
tested — only static analysis (type checks, linting) was used, resulting
in broken features shipped as 'done'.

New rules:
- Functional Verification: features must be end-to-end tested before
  completion; static analysis alone is explicitly insufficient
- Mandatory Quality Pipeline: every feature gets reviewer + tester passes;
  no batch validation; quality over quantity under time pressure
- Requirement Understanding Verification: verify understanding before
  implementing features with implicit expectations or domain concepts

Also simplifies tester bash permissions and adds plan write permission.
2026-03-09 00:29:25 +00:00
e9074646b7 feat: adopt symlink approach for cross-tool instruction files
Replace 4 separate instruction files with 1 real file + symlinks:
- .github/copilot-instructions.md is the canonical instruction file
- CLAUDE.md and .cursorrules are symlinks to it
- AGENTS.md stays as global config (not a project instruction file)

This eliminates all sync/merge logic - changes propagate automatically.

Changes:
- AGENTS.md: rewrite Cross-Tool Instruction Files section for symlink convention
- librarian.md: simplify to maintain single instruction file + verify symlinks
- lead.md: simplify PHASE-WRAP and Documentation Completion Gate
- commands (init, bootstrap-memory, save-memory): update for symlink model
- doc-coverage skill: verify symlinks exist and point correctly
2026-03-08 23:48:42 +00:00
9830f6f01c other changes 2026-03-08 20:53:31 +00:00
a025e17af5 fix: enable memory writes for non-implementation agents 2026-03-08 20:52:43 +00:00
5fd7fc1bf7 feat: wire librarian as the primary agent for documentation and instruction file maintenance
Expand librarian role to own cross-tool instruction file sync,
.memory/ file maintenance, and knowledge merge workflows. Lead
now proactively dispatches librarian in PHASE-WRAP and Documentation
Completion Gate instead of handling docs inline.
2026-03-08 19:58:08 +00:00
f9880638e9 feat: agents read cross-tool instruction files at session start
AGENTS.md, CLAUDE.md, copilot-instructions.md, and .cursorrules may
contain project knowledge added by other tools or people. Agents now
read these files at session start and merge new knowledge into
.memory/knowledge.md as the canonical source.
2026-03-08 19:51:37 +00:00
204bbb4c84 feat: replace megamemory with markdown-based memory system
Remove the megamemory MCP knowledge graph and replace with plain
markdown files in .memory/ for tracking plans, research, knowledge,
and implementation state. This enables collaboration across people
and agentic coding tools (Claude Code, Copilot, Cursor, etc.).

Changes:
- Remove megamemory MCP from opencode.jsonc
- Delete tool/megamemory.ts and .megamemory/ database
- Rewrite all 25 config files to use .memory/ markdown files
- Add cross-tool instruction file awareness (AGENTS.md, CLAUDE.md,
  copilot-instructions.md, .cursorrules)
- Update save-memory, bootstrap-memory, status commands for md workflow
- Update all agent files, skills, and commands consistently
2026-03-08 18:43:46 +00:00
2acdb86e3d feat(lead): add orchestration safeguards from session transcript analysis
Add 7 new sections to lead.md addressing failure patterns observed in
real session transcripts: exploration sharding for context-exhausted
explorers, environment probe protocol for infrastructure verification,
finding completion tracker to prevent silently dropped findings, targeted
re-review to avoid infinite review loops, tester capability routing to
match agent tools to task requirements, post-implementation sanity check
for coherence verification, and artifact hygiene for temp file cleanup.
2026-03-08 18:04:03 +00:00
ed79ff06a7 add profile 2026-03-08 14:39:23 +00:00
4da672cbc7 initial commit 2026-03-08 14:37:55 +00:00