Skip to content

Instantly share code, notes, and snippets.

View Gurio's full-sized avatar
🏠
Working from home

Arseni Lapunov Gurio

🏠
Working from home
  • Munich, Germany
View GitHub Profile

Reviewed the runner/orchestration flow end to end from the agent side.

Main conclusion: the system is workable but not yet flowing. The biggest execution-friction point was that worktree tasks did not explicitly tell the agent the real task ID, execution root, checked-out branch, or where the shared runtime .brr/ directory lives. In this run, the task body said to use branch brr/evt-1776172059-5rn4, while the actual checked-out branch was brr/task-1776172089-sdlf. I fixed that prompt gap in src/brr/runner.py and src/brr/daemon.py, added coverage in tests/test_runner.py and tests/test_daemon.py, restored the missing KB page kb/review-concurrency-followup-2026-04-14.md, appended kb/log.md, and wrote the detailed review artifact to .brr/reviews/evt-1776172059-5rn4.md.

Other high-value recommendations are in the review artifact: add a small brr inspect command or per-task manifest linking event/task/trace/review paths, reduce triage prompt bloat, and add a short KB executio

Yes, this all makes sense. I've updated both plan documents to reflect your feedback. Here's my take on each point and whether I think anything was missed:

What I Updated

1. Branch as Task Property — Agreed, implemented

The event → task → execution flow makes more sense. The runner creates a Task from an event, and the task spec carries the branch strategy. This cleanly separates "what happened" (event) from "how to execute it" (task). I added a Task dataclass with branch resolution logic that supports: current, auto (agent decides), task (use task ID), new:<name>, or explicit <name>. Three levels of precedence: event override > task spec > config default.

2. Agent-Decided Branching in Concurrent Mode — Agreed

@Gurio
Gurio / agent loop
Created April 10, 2025 15:24 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@Gurio
Gurio / amazon.log
Last active May 27, 2020 11:40
amazon.log
Итак.
Я уже к сожалению прошло уже некоторое время так что многие вещи я забыл (особенно тестовое на кодилити, потому что оно ни чем не выделялось из 10 других тестовых которые я проходил около того времени)
На сколько помню их было два, они были достаточно непримечательными, одно было про распарсить строку слов разделенную пробелами и толи по словам зареверсить, толи посчтитать что-то, но реально не сложная.
Вторая была чуть сложнее, по моему там надо было имея 2 входных строки сказать можно ли сделав "одно из": [передвинуть один символ, убрать один символ, добавить один символ] получить из строки 1 строку 2. Решение было достаточно тупое типа свитч с вызовами 3ех функций которые проверяют можно ли сдалать это "одно из" чтобы строки стали одинаковыми. Ну и потом догодался немного оптизировать, что функция проверки удаления работает так же как и на случай вставки элемента, только с перевернутыми аргументами (str2, str1).
На обе суммарно довалось что-то 1.5-2 часа.
Потом интервью (мне написали на след день, н
@Gurio
Gurio / tmux.conf
Created May 15, 2020 10:27
tmux.conf
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/plugins/'
set-option -g default-shell /usr/bin/zsh
# List of plugins
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-continuum \