Skip to content

Docs: mapa de trabajo del agente - #1

Merged
TiiZss merged 3 commits into
mainfrom
docs/agent-map
Oct 21, 2026
Merged

TiiZss merged 3 commits into
mainfrom
docs/agent-map

Conversation

@TiiZss

@TiiZss TiiZss commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Añade el mapa del agente en CLAUDE.md y .cursor/rules/workflow.mdc, con la memoria en docs/workflow/.
  • Publica los documentos de planificación que el README ya citaba.
  • El commit usa 9557246+TiiZss@users.noreply.github.com. No cambia el lanzador ni los hooks de jvl.

Test plan

  • ShellCheck del workflow en verde
  • Comprobar que main no arrastra los cambios locales de jvl ni de projects/

Made with Cursor

Copilot AI balanced review requested due to automatic review settings October 21, 2026 09:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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 from AGENTS.md, GEMINI.md, and .github/copilot-instructions.md, plus agent memory/learnings/decisions under docs/workflow/.
  • Publishes planning/governance docs under docs/ and .github/prompts/, linked from README.md and noted in CHANGELOG.md.
  • Adds graft MCP/hook tooling config (.mcp.json, .cursor/*, .claude/*, .gemini/settings.json) and ignores .backups/ and graft/.
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 thread .cursor/hooks.json
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.
Comment thread CLAUDE.md
- `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.
Comment thread docs/workflow/MEMORY.md
- 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`.
@TiiZss
TiiZss merged commit 99ebc05 into main Oct 21, 2026
1 check passed
@TiiZss
TiiZss deleted the docs/agent-map branch October 21, 2026 11:34
TiiZss added a commit that referenced this pull request Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants