Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 24 additions & 21 deletions .agents/skills/conexus-review/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,53 @@
---
name: conexus-review
description: "Reviews a Conexus roadmap step at its exact commit, as the one Opus reviewer that did not build it: reads the rules from main, reads every file of a unit's diff and compares each built piece with the reference's own code; for the whole step, reads only the card's reference table row by row and the seams between pull requests, never an approved diff again; tries to break every acceptance criterion, runs the refusal criteria, asks of every line whether it exists only because the old code had it, labels each finding Bloqueia, Fechamento or Issue futura, and gives one verdict with file and line. Also checks a fix's delta. Use when instructions name a step to review."
description: "Reviews a Conexus roadmap step at its exact commit, as the one Opus reviewer that did not build it: reads the rules from main, reads every file of a unit's diff and compares each built piece with the reference's own code; checks the diff against the vision and that no piece of main stays without the founder's decision or a reference behind it; for the whole step, reads only the card's reference table row by row and the seams between pull requests, never an approved diff again; tries to break every acceptance criterion, runs the refusal criteria, asks of every line whether it exists only because the old code had it, labels each finding Bloqueia, Fechamento or Issue futura, and gives one verdict with file and line. Also checks a fix's delta. Use when instructions name a step to review."
---

# Review

## When to use

Pass 1, once per step, by [delivery L9](../../../docs/guides/delivery.md)'s one reviewer, beside
QA, at `main` once the last unit is merged. It reviews each unit commit by commit from the pull
request's opening, beside CI. Later passes are a delta check (step 9).
Each unit commit by commit from its pull request's opening, and the whole step once beside QA, by
[delivery L9](../../../docs/guides/delivery.md)'s reviewer. Later passes are a delta check
(step 10).

## What it receives

The pull request, its head commit and the card; nothing from the builders' conversation.

## Steps

1. Read the rules from `main`: `AGENTS.md`, this skill, [the
1. Read the rules from `main`: `AGENTS.md`, [the vision](../../../VISION.md), this skill, [the
checklist](../../../docs/reference/checklist.md), the card, [code](../../../docs/guides/code.md)
and the card's guides; load pstack `poteto-mode` and, for code, `typescript-best-practices`.
An unloaded skill is read from its `stack.md` docs column.
2. A unit review reads every file of its commit against its section. The step review
([delivery L9](../../../docs/guides/delivery.md)) reads only the whole reference table and the
seams between pull requests, its diff in steps 5 and 6; never an approved one.
2. A unit review reads every file of its commit against its section; the step review reads only
what L9 names, in steps 5 and 6.
3. Try a counterexample to each acceptance criterion.
4. Run the refusal criteria against the published step or a real database, saying what you ran (a
claim not run is "read"), and read every CI job's log; when the change touches the test
selector, its inputs or a dependency, confirm the plan ran everything. Drive the browser in
doubt; read QA's report if posted. Read the CI quality job; never run
Stryker locally. Hand-mutate the key lines, listed under Ran
([T27](../../../docs/guides/testing.md)); one no test kills is a finding (L12).
doubt; read QA's report if posted. Never run Stryker locally. Hand-mutate the key lines, listed
under Ran ([T27](../../../docs/guides/testing.md)); one no test kills is a finding (L12).
5. Walk the card's reference table against the diff ([code C75](../../../docs/guides/code.md)): a
nativo row uses the named API; an embrulhado row adds only its line; a remendo row's native
candidate runs at the installed version, listed in Ran, and one that serves is a Bloqueia. A
changed file no row or contract explains is a Bloqueia (C75), outside the card's folders unless
the build report declares it (L7). A row on a reference not **mesma situação** in the study's
[verification pass](../conexus-study/references/sources.md) is a finding. A defect fix walks its
report's rows. Then compare each built piece with the reference's code
[verification pass](../conexus-study/references/sources.md), or keeping a piece of `main` the
[study rule](../conexus-study/SKILL.md) takes out, is a finding. A defect fix walks its report's
rows. Then compare each built piece with the reference's code
([compare](references/compare.md)). Two findings on one mechanism: should it exist, or does a
library hold it?
6. Walk the checklist across the diff; fill its sweep table. A
screen: [screen](references/screen.md), with [design V62](../../../docs/guides/design.md).
6. Fill the checklist's sweep table. A screen: [screen](references/screen.md), with
[design V62](../../../docs/guides/design.md).
7. Label every finding by [delivery L12](../../../docs/guides/delivery.md). Each code-shape Fechamento
goes on the closing list, checked as done.
8. Write one verdict; an unfinished step is no verdict.
9. A delta check reads one front's `git diff <reviewed>..<new>` and its earlier Bloqueia findings:
8. **The vision.** Per vision section the diff touches: alinha, deve ser recusada (L12) or não
toca. Only its lines count, never the roadmap's; a refusal its text does not carry goes to the
founder as a change to it.
9. Write one verdict; an unfinished step is no verdict.
10. A delta check reads one front's `git diff <reviewed>..<new>` and its earlier Bloqueia findings:
is each closed, did the fix create one; the pull request body counts it ("conferência 1 de no
máximo 3").

Expand All @@ -60,19 +62,20 @@ Rules read: <files> at <main commit>. Reviewed: <head commit>.
<each row: its verdict held, or the finding>

## Comparação com as referências
<one line per built piece: reference `file:line` opened, same | differs (why the card
records it, or the finding)>
<one line per built piece ([compare](references/compare.md))>

## Ran
<command or action, and what it showed>

## Sweep table
<the checklist's table>

## Visão
<step 8, one line per section>

## Findings
1. <Bloqueia | Fechamento | Issue futura> <symptom>. Evidence: <file:line or output>. Breaks:
<rule id or criterion>. Cost (Bloqueia only): Se for assim para produção, <quem> perde <o quê>
quando <situação>.
<rule id or criterion>. Cost (Bloqueia only): L12's sentence.

## Verdict
approve | request changes: <one line why>
Expand Down
11 changes: 6 additions & 5 deletions .agents/skills/conexus-scope/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ planning session, never the builder's.

## What it receives

The step's line in [the roadmap](../../../docs/roadmap.md), the study's answers and reference
table, [architecture](../../../docs/architecture.md), and the guide each unit will need.
The step's line in [the roadmap](../../../docs/roadmap.md), [the vision](../../../VISION.md), the
study's answers and reference table, [architecture](../../../docs/architecture.md), and the guide
each unit will need.

## Steps

Expand Down Expand Up @@ -42,8 +43,8 @@ table, [architecture](../../../docs/architecture.md), and the guide each unit wi
skills come from the `docs/reference/stack.md` rows for its folders, and
the reference lines it follows.
7. Write the founder's page in Portuguese, as [the template](references/card.md) says: what he
will do at the end and only his real decisions. An amendment rewrites the page, listing what
changed; his words go to the card's file in `docs/approvals/`.
will do at the end, the vision's lines it serves and only his real decisions. An amendment
rewrites the page, listing what changed; his words go to the card's file in `docs/approvals/`.
7a. Write each unit's section as its build spec ([card](references/card.md)): its builder reads
only its unit's top-table rows and that section, so the section lists its reference table rows and
holds every file, reference line, shape and recording the unit needs, with its order of the work
Expand All @@ -52,7 +53,7 @@ table, [architecture](../../../docs/architecture.md), and the guide each unit wi
8. Give the card, at the exact commit the founder will approve, to a reader of another model who
did not write it, with [the template](references/card.md)'s questions. The reader reads
the whole card once before any build, opening every reference table cell and cited line at the
installed version; a later commit, as its diff only.
installed version.

## What it produces

Expand Down
10 changes: 6 additions & 4 deletions .agents/skills/conexus-scope/references/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The card's founder's page, in Portuguese, is the only part the founder approves. The rest may be in
Portuguese or English, one language per card.

The card never carries whole files. A unit's section is its build spec, what its builder reads.
The reader opens every cited line; the closing deletes the card; then the code is the only source.
The card never carries whole files. A unit's section is its build spec.
The closing deletes the card; then the code is the only source.

```markdown
# Etapa <n>: <nome>
Expand All @@ -20,6 +20,9 @@ The reader opens every cited line; the closing deletes the card; then the code i
**O que você faz, e quando.** Antes: <o que fornece>. No começo: aprova esta página. No fim: faz o
roteiro, diz o que viu e aprova os textos das telas.

**A visão.** <as linhas da `VISION.md` que a etapa serve, pela frase; cruzar uma pede antes a
mudança ao fundador>

**Fica de fora.** <o que não entra, e por quê>

**As decisões suas nesta etapa.** <cada uma com letras, um exemplo, a recomendação, o veredito
Expand Down Expand Up @@ -82,8 +85,7 @@ módulos, concorrência ou algoritmo sutil).
### As linhas da tabela

<cada linha da tabela de referência desta unidade: o que ler na base (arquivo, símbolo, linhas) e
as linhas da referência que a unidade segue (`arquivo:linha`; no Mastra, o Mastra Code e o
Factory)>
as linhas da referência que a unidade segue (`arquivo:linha`)>

### O raio da mudança

Expand Down
36 changes: 17 additions & 19 deletions .agents/skills/conexus-study/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: conexus-study
description: "Studies a Conexus roadmap step before its card: writes the reference table, one row per piece the use script touches, with main's file, how the references do it at the versions Conexus installs, and a verdict nativo, embrulhado or remendo; runs the references and records their native shapes; tests the repository's own decisions against them; recommends what they converge on. Use at the start of every step, including one that brings code."
description: "Studies a Conexus roadmap step before its card: reads the vision and the founder's recorded decisions before main; writes the reference table, one row per piece the use script touches, with what the founder already decided, main's file, how the references do it at the versions Conexus installs, and a verdict nativo, embrulhado or remendo; runs the references and records their native shapes; tests the repository's own decisions against them; recommends what they converge on. Use at the start of every step, including one that brings code."
---

# Study
Expand All @@ -12,22 +12,21 @@ decisions and today's code are input to test.

## What it receives

The step's line in [the roadmap](../../../docs/roadmap.md), the founder's words, the base commit;
for brought code, the entry sheets and the old code at its frozen commit.
The step's line in [the roadmap](../../../docs/roadmap.md), [the vision](../../../VISION.md), the
founder's words and his decisions on the subject ([delivery L6](../../../docs/guides/delivery.md)),
the base commit; for brought code, the entry sheets and the old code at its frozen commit.

## Steps

1. Write each question as what a person sees, one sentence, with its premise.
2. **The reference table** ([report](references/report.md), section 3; verdicts by
[code C75](../../../docs/guides/code.md)). One row per piece the use script touches. Fill
"Hoje no main": every file of `main` the use script runs through, inherited ones included.
"O que o fundador já decidiu" first, from the vision and his decisions, read before `main`;
then "Hoje no main": every file of `main` the use script runs through, inherited ones included.
Then "Referência": three to six closest analogs (for the AI build flow, AI app builders first),
the library's own products, the native feature and the old product, read at the installed
version, each with its situation and match label ([sources](references/sources.md)), the options
a guarantee rests on, their defaults, and the errors the library handles itself (code C50). Name
where you searched. **Trace** each built row in the closest reference's source,
`file:line`, **lido**; Mastra rows also in Mastra Code and Factory
([sources](references/sources.md)).
version, each with its situation and match label ([sources](references/sources.md)). Name where
you searched. **Trace** each built row in the closest reference's source, `file:line`, **lido**.
3. **Run** the old product for anything it did, and one reference wherever the step changes what a
person sees; a screen follows [screens](references/screens.md). A one-way door gets a
[proof](references/proof.md). For every library stream, stored row or tool result the step's
Expand All @@ -45,22 +44,21 @@ for brought code, the entry sheets and the old code at its frozen commit.
6. **Recommend** what you would write from zero (pstack `poteto-mode`), and list what of `main` it
deletes. Where references diverge, the options are theirs, each with its how
([report](references/report.md), section 4); without it, it is not brought.
7. **Reopen.** Every reader line, or label it relay; every cell reaching the founder's page or an
option table, by the author.
8. **The verification pass** ([sources](references/sources.md)), by a reader that wrote none of
the report, before it is final.
7. **Reopen** every reader line, or label it relay; never relay on the founder's page.
8. **The verification pass** ([sources](references/sources.md)).

**The study rule**: a decision whose only basis is "implemented so",
"only tested so" or "decided before" is dropped, or defended in writing with a reason of its own. A
part is brought only if it would be written that way from nothing. Its measure: lines brought and
changed until the criteria pass, old tests passing unchanged through the public door, session hours.
"only tested so" or "decided before" is dropped, or defended in writing with a reason of its own.
A piece of `main` stays in the design only citing the founder's decision or reference that
justifies it, else it leaves. A part is brought only if it would be written that way from nothing.
Its measure: lines brought and changed until the criteria pass, old tests passing unchanged through
the public door, session hours.
Past a third of its brought lines changed, it is written new.

## What it produces

The report ([template](references/report.md)), outside the repository ([delivery
L21](../../../docs/guides/delivery.md)), whose reference table the card copies; for a one-way door,
a decision record "proposed" with its Criterion.
The report ([template](references/report.md)), whose reference table the card copies; for a
one-way door, a decision record "proposed" with its Criterion.

## Stop and ask

Expand Down
11 changes: 6 additions & 5 deletions .agents/skills/conexus-study/references/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@ Only for a step with a screen: old and new side by side, per state, with the cap
The one artifact from study to review. The study fills every column but "Unidade" and "Arquivo
novo", which the card adds; the verdicts are [code C75](../../../../docs/guides/code.md)'s.

| Peça | Unidade | Hoje no main | Referência | Como a referência faz | Veredito | Prova, se não for nativo | Decisão | Arquivo novo |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| What a person sees, or the mechanism | U&lt;k&gt;, or "fica de fora" and why | `file:symbol`, or "nenhum" | `package@installed` or `repo@commit`, `file:line`, the situation it solves and its match label ([sources](sources.md)); "nenhuma faz" when none does | The traced flow in one line (entry, shape, state, pieces, errors), each hop `file:line` **lido**; for a Mastra row, Mastra Code or Factory beside `node_modules` | nativo, embrulhado (and what ours adds) or remendo | Script output, test or measurement, and the boundaries entry | His words and date, firstmate's with how to undo it (delivery L6), or "não precisa" | Path |
| Peça | Unidade | O que o fundador já decidiu | Hoje no main | Referência | Como a referência faz | Veredito | Prova, se não for nativo | Decisão | Arquivo novo |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| What a person sees, or the mechanism | U&lt;k&gt;, or "fica de fora" and why | The [vision](../../../../VISION.md)'s line, by section and sentence, and his decisions on the piece ([delivery L6](../../../../docs/guides/delivery.md)), each with its words, date and file; or "nada registrado" | `file:symbol`, or "nenhum" | `package@installed` or `repo@commit`, `file:line`, the situation it solves and its match label ([sources](sources.md)); "nenhuma faz" when none does | The traced flow in one line (entry, shape, state, pieces, errors), each hop `file:line` **lido**; for a Mastra row, Mastra Code or Factory beside `node_modules` | nativo, embrulhado (and what ours adds) or remendo | Script output, test or measurement, and the boundaries entry | His words and date, firstmate's with how to undo it (delivery L6), or "não precisa" | Path |

Never one row for "o resto". A product piece no library has (our Git, the accounts queue) is a
remendo row that cites its decision record.
A piece of `main` that keeps its place cites this row's founder decision or reference; **herdado**
alone ([sources](sources.md)) takes it out. Never one row for "o resto". A product piece no library
has (our Git, the accounts queue) is a remendo row that cites its decision record.

## The coverage list

Expand Down
9 changes: 6 additions & 3 deletions .agents/skills/conexus-study/references/sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ instead of its frozen commit; lines cited from clones that vanished with a workt
taken as a reference; a warning that sat on an option's reference page, never in the overview.
Also a reference read in another situation and cited as if it were ours: Airbyte's database discover
cited for every connector kind, and sync schedules, data-health checks and token renewal cited as
the limits of a different check.
the limits of a different check. And a study that started from `main`: the Lago 2 card kept the
Vendas model because the kit already offered it, against the founder's decisions of 2026-11-19
(founder, 2026-11-23: "tem que ser desfeito para entrar o novo jeito").

## Where each source is read

Expand Down Expand Up @@ -75,7 +77,8 @@ enter the report, or carried as **relay**. Its notes stay beside the report.

Before the report is final, a reader that wrote none of it (another agent) gets the rows that ground
a verdict, an option or the founder's page, and nothing else from the author. For each it reopens
every cited `file:line` or docs quote and answers two questions: does the source say what the cell
claims, and is the situation label right. A row that fails either is fixed and checked again, or
every cited `file:line` or docs quote and answers three questions: does the source say what the
cell claims, is the situation label right, and is there a founder's decision, or a reference line
in the same situation, that this row ignores? A row that fails one is fixed and checked again, or
dropped with what rested on it. The report records the pass: the reader, the rows checked, fixed
and dropped.
Loading
Loading