Repository navigation
Docs: mapa de trabajo del agente - #1
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Several committed docs (CLAUDE.md, docs/workflow/MEMORY.md) describe files/directories that are not in the committed tree, and .cursor/hooks.json hardcodes a machine-specific absolute path, unlike the portable pattern used in the sibling .claude/settings.json.
4 open issues
What changed in this PR
This is a documentation- and tooling-configuration-only PR (no changes to the breakinglab.sh launcher, lib/, hooks, or config/). It introduces an "agent workflow map" so AI assistants (Claude, Cursor, Gemini, Copilot) share one source of truth, publishes the planning/governance documents the README already intended to reference, and wires up the graft context-graph tooling.
Changes:
- Adds the agent map (
CLAUDE.md+.cursor/rules/workflow.mdc) with short pointers fromAGENTS.md,GEMINI.md, and.github/copilot-instructions.md, plus agent memory/learnings/decisions underdocs/workflow/. - Publishes planning/governance docs under
docs/and.github/prompts/, linked fromREADME.mdand noted inCHANGELOG.md. - Adds
graftMCP/hook tooling config (.mcp.json,.cursor/*,.claude/*,.gemini/settings.json) and ignores.backups/andgraft/.
| File | Description |
|---|---|
| README.md | Adds a "Planning" section linking the new planning documents |
| CHANGELOG.md | Adds an [Unreleased] entry for the map and planning docs |
| CLAUDE.md | New agent workflow map (central source of truth) |
| AGENTS.md / GEMINI.md / .github/copilot-instructions.md | graft block + pointer to the CLAUDE.md map |
| .cursor/rules/workflow.mdc | Cursor-applied condensed workflow map |
| .cursor/rules/graft.mdc | Cursor rule to prefer the graft graph |
| docs/README.md | Index of planning/governance docs |
| docs/plan-breakingLab-roadmap.md | 60–90 day roadmap |
| docs/rfc-breakingLab-roadmap.md | RFC-style decision summary |
| docs/github-planning-conventions.md | Label/epic/issue/PR conventions |
| docs/issue-batch-1.md | First prioritized issue batch |
| docs/planning-handoff.md | Session resume guide |
| docs/workflow/MEMORY.md / LEARNINGS.md / decisions.md | Agent memory, lessons, decisions |
| docs/workflow/plans/2026-10-20-comportamiento-agente.md | Plan behind this change |
| .github/prompts/plan-breakingLab*.prompt.md | Master/execution/compact/English planning prompts |
| .mcp.json / .cursor/mcp.json / .gemini/settings.json | Declare the graft MCP server |
| .cursor/hooks.json | Cursor graft hooks (hardcoded absolute path) |
| .cursor/hooks/graft-hooks.cjs | Cursor graft hook helper |
| .claude/settings.json | Claude hooks/statusline config (portable paths) |
| .claude/napkin.md | Recurring agent directives |
| .claude/helpers/graft-hooks.cjs / graft-statusline.cjs | Claude graft helpers |
| .gitignore | Ignores .backups/ and graft/ |
Review effort: Balanced
Comment on lines
+7
to
+17
| "command": "node \"D:\\Scripts\\BreakingLab\\.cursor\\hooks\\graft-hooks.cjs\" cursor-post-tool" | ||
| } | ||
| ], | ||
| "afterMCPExecution": [ | ||
| { | ||
| "command": "node \"D:\\Scripts\\BreakingLab\\.cursor\\hooks\\graft-hooks.cjs\" cursor-mcp" | ||
| } | ||
| ], | ||
| "sessionEnd": [ | ||
| { | ||
| "command": "node \"D:\\Scripts\\BreakingLab\\.cursor\\hooks\\graft-hooks.cjs\" cursor-session-end" |
Comment on lines
+68
to
+69
| - d:\Scripts\BreakingLab\breakinglab.sh — orquestador principal; lifecycle, import, update, startpublic y validación general. | ||
| - d:\Scripts\BreakingLab\install.sh — instalación global, prechecks y rollback de instalación. |
| - `lib/` — `colors.sh`, `hosts.sh`, `menu.sh`, `utils.sh`, `yaml_utils.sh`. | ||
| - `config/projects.conf` y `config/projects.d/` — laboratorios declarados. | ||
| - `scripts/hooks/` — ganchos pre y post de algunos laboratorios. | ||
| - `projects/` — árboles importados (`dvws-node-2`, `dvwsnode2`, `vulpy5`). No forman el núcleo. |
| - BreakingLab gestiona laboratorios vulnerables con Docker. Entrada: `breakinglab.sh`. Librerías en `lib/`. Definiciones en `config/projects.d/`. | ||
| - El remoto documentado en el README es `https://github.com/TiiZss/BreakingLab`. La versión del changelog es 2.1.0 (2026-01-03). | ||
| - El CI en el repositorio es ShellCheck (`.github/workflows/shellcheck.yml`). | ||
| - No hay módulos Python ni aplicación web propia. `projects/` contiene árboles importados: `dvws-node-2`, `dvwsnode2`, `vulpy5`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
CLAUDE.mdy.cursor/rules/workflow.mdc, con la memoria endocs/workflow/.9557246+TiiZss@users.noreply.github.com. No cambia el lanzador ni los hooks dejvl.Test plan
mainno arrastra los cambios locales dejvlni deprojects/Made with Cursor