Operation Journal Consolidator
Overview
Use this skill to choose between consolidating changes into the latest operation or opening a new operation number, then apply the matching documentation workflow.
Workflow
- •Classify context first:
refatoracaoorlegado. - •Inspect the current goal and changed files.
- •Compare with the latest operation scope and latest operation context.
- •Apply the decision rules in
references/relatedness-rules.md. - •Execute one mode only: consolidate or create new operation.
- •Report the decision with short, concrete reasons.
Consolidate Last Operation
Use this mode when changes are clearly incremental to the latest operation.
Precondition:
- •Current context must match the latest operation context.
- •Update
docs/operacoes/<last>.md:
- •Add an
## Incrementosection with date and what changed. - •Keep one coherent narrative for the same objective.
- •Keep or add explicit line:
Contexto: refatoracaoorContexto: legado.
- •Update
docs/sphinx/source/operacoes/<last>.rst:
- •Adjust
Resumo,Efeito principal, andArquivos de interesse. - •Keep links valid for the same detailed page.
- •
Keep
docs/sphinx/source/detalhes/<last>.mdunchanged unless include path changed. - •
Do not create new numbered operation files.
Create New Operation
Use this mode when scope or intent diverges from the latest operation.
- •Create next numbered files:
- •
docs/operacoes/<next>.md - •
docs/sphinx/source/operacoes/<next>.rst - •
docs/sphinx/source/detalhes/<next>.md
- •Add explicit context in the new operation:
- •
Contexto: refatoracaoorContexto: legado
- •
Update
docs/sphinx/source/operacoes/index.rst. - •
Preserve previous operation files as historical records.
Hard Stops
Never consolidate when any of the following is true:
- •A new subsystem or domain is introduced (for example: docs-only to runtime/test infra).
- •The change introduces a different objective than the latest operation.
- •The previous operation is finalized and this step requires separate auditability.
- •The context differs from the latest operation (
refatoracaovslegado).
Output Contract
Always provide:
- •Decision:
consolidate-last-operationorcreate-new-operation. - •Context:
refatoracaoorlegado. - •2-3 reasons tied to files/objective.
- •Exact files updated.