Mechaniczne reguły środowiska agenta

Mechanical invariants for agent environments · id harnessinvariants · aliases: architectural invariants, taste invariants, reguły uprzęży

Architektoniczne i stylistyczne niezmienniki wymuszane testami i linterami, z instrukcją naprawy w błędzie.

Architectural and style invariants enforced by tests and linters, with a repair hint in the error.

In one sentence

Reguły środowiska zapisane tak, że sprawdzenie automatyczne odrzuca zmianę, która je łamie.

Environment rules written so an automatic check rejects a change that breaks them.

Problem it solves

Asystent powtarza istniejący bałagan i z czasem projekt rozjeżdża się mimo dobrych chęci w instrukcji.

The assistant copies existing mess, and over time the project drifts even if the instructions meant well.

What it does

Jak bramka na linii: zła zmiana nie przechodzi, a komunikat mówi, jak ją poprawić.

Like a gate on the line: a bad change does not pass, and the message says how to fix it.

Everyday example

Asystent dodaje plik w złym miejscu. Sprawdzenie odrzuca zmianę i podaje, do którego katalogu należy ją przenieść.

The assistant adds a file in the wrong place. The check rejects the change and says which folder it belongs in.

This concerns you if you…

Sources