Discussion about this post

User's avatar
Η Προώθηση Της Γνώσης's avatar

it can be quite challenging to write requirements, intents, acceptance, and anti-criteria in a flat document.

a structured/hierarchical approach is more rhobust, and this hierarchical definition of prompts would be better supported by the environment/agent/harness, rather than left to the user to manually structure.

e.g:

Ticket 1

do tasks A,B,C

do not :

- import new dependencies (in which task? in all of them ?)

- change any of the existing tests ()

- create free standing functions, use inherent impl associated to data instead

-----

since its a flat ticket, the model has no guaranteed way of restricting context per task. It's ofcourse possible for the user to properly structure the ticket, but that inclreases the user effort to provide detailed rules for complex tasks.

instead a hierarchical interface that allows easy editing per sub-section forces the user to think: where does this new rule that i am adding belong to?

My humble opinion

Marcus Chang's avatar

The add-more-context reflex is real, and it degrades the run long before the window is full. Deciding what to drop is harder work than deciding what to add.

I turned compaction into a runnable tutorial using Python, now with 500+ GitHub stars: https://github.com/hardness1020/awesome-agent-architecture/tree/main/sections/08-context-management

No posts

Ready for more?