| name | itsol-repo-memory |
| description | Repository memory: initialize, read, and maintain .itsol.md repo policy, monorepo project map, testing/TDD support, verification commands, and stable agent workflow notes. |
ITSOL Repo Memory
Use itsol-workflow-mode as the canonical contract for workflow defaults, allowed modes, restrictions, state, and precedence.
Use .itsol.md as repo-level operational memory for stable facts that should guide every agent working in the repository. Also use this skill when initializing .itsol.md for an existing repo or monorepo.
Process
- At the start of ITSOL work, check whether
.itsol.md exists at the repository root.
- If it exists, read it before choosing implementation, testing, verification, deployment, or review strategy.
- For monorepos, use the root
Monorepo Map and the most specific Project: <path> section matching the touched files.
- If multiple projects are touched, apply each project's policy separately and state the selected policies in the plan or handoff.
- If no matching project policy exists, inspect local configs before assuming root commands, test support, or deployment behavior.
- Treat
.itsol.md as stable team memory, not task scratchpad. Do not add temporary notes.
- Propose updates when you discover stable repo-level facts, especially testing/TDD support, verification commands, generated-code rules, deployment constraints, legacy limits, and stable QA capability (
off, evidence, automatic, or strict) including application types, runnable commands, targets, and cycle limits.
- Resolve modes exactly through
itsol-workflow-mode: intersect root and most-specific project allowed_modes, then every matching path/operation restriction. A task-level selection overrides a repo default but never an explicit restriction. Report conflicts and ask from the remaining allowed modes; never silently downgrade.
Init Mode
Creating or improving only .itsol.md is a bounded repository-policy administration workflow, not feature implementation. Do not create Business/Technical Plans, initiative state, delegated code review, application QA, or a completion gate solely for repo-memory initialization. Use lightweight inspection, user confirmation, extension/YAML validation, and one focused inline self-review of the resulting policy; then report and stop. Do not route the whole working tree through implementation review, and do not include unrelated modified/untracked files.
When asked to create or initialize .itsol.md:
- Inspect the repo structure and detect candidate projects/apps/packages/services.
- Inspect only lightweight config files needed to infer stack and existing commands, such as workspace manifests, package files, solution files, project files, build configs, Docker/Nomad files, and test configs.
- Present a candidate Monorepo Map to the user.
- Ask the user to confirm or correct each project and choose TDD mode:
full, limited, not-supported, not-applicable, or unknown.
- Ask for supported verification commands, QA profile/application types/targets, and known "do not spend time on" constraints per project. Use
qa.profile: off for genuinely hard-to-run projects only when the user confirms the stable skip policy.
- Write
.itsol.md only after the user confirms the project map and policies.
- Mark uncertain facts as
unknown; do not invent policies from config detection alone.
Execution Policy
After resolving itsol-workflow-mode, load itsol-execution-policy, resolve the complete sibling execution state and observable done_when, and preserve both contracts through plans, task context, compaction, delegation, continuation, review, and handoff. Resource policy never changes workflow authority. Do not set maxTurns; do not accept agent termination or a completed label without validating evidence.
Read references/guide.md before creating or changing .itsol.md.