{% extends "base.html" %} {% import "_side.html" as sidem with context %} {#- The daily focus brief (docs/collaboration.md §9.4): today's, or a day before. -#} {% block title %}Brief {{ day }}{% endblock %} {% block main %}
{{ sidem.tab(side, none, "brief") }}

Focus brief

{% if writing %}{% set el = (now_s - writing)|int %}
The model is writing today's brief {{ el // 60 }}:{{ "%02d"|format(el % 60) }} of about 3:00

Started {{ writing|epoch }}. The page refreshes itself; below is the scored brief until the model's replaces it.

{% endif %} {% if b and b.agent_error and not b.agent and not writing %}
The model's brief failed: {{ b.agent_error }}

Below is the scored brief. The model is run as claude -p with [harnesses.claude] env and env_file and the launch hooks; check those, then Rebuild.

{% endif %} {% if rows %}{% set a = b.agent %}

{{ day }} · Focus

{% if a.headline %}

{{ a.headline }}

{% endif %} {% if rows.decide %}

Decide

{% for r in rows.decide %}
{% for x in r["items"] %}

{{ r.project }}{% if x.from_session %} (asked in a session){% endif %}{% if x.waiting %} · waiting {{ x.waiting }}{% endif %}: {{ x.question }}{% if x.options %} Options: {{ x.options|join(" / ") }}.{% endif %}{% if x.recommend %} Recommend: {{ x.recommend }}{% endif %}

{% endfor %} {% if r.questions and r.wpid %}
{% for q in r.questions %}{% endfor %} {% if r.questions|selectattr("recommend")|list %} {% endif %}
{% elif r.wpid %}

{% if r["items"]|selectattr("from_session")|list %}Asked in a session: answer it there.{% else %}No open question on the board now (answered already?).{% endif %}

{% endif %}
{% endfor %}{% endif %} {% if rows.close_out %}

Close out

    {% for x in rows.close_out %}
  • {{ x.project }}: {{ x.action }} {% if x.done %} (done){% elif x.wpid %}
    {% endif %}
  • {% endfor %}
{% endif %} {% if rows.runs %}

Proposed runs

Tick the ones to start and press Go: each packet gets its instruction (edit it first if you like) and goes to the runner. ⇡ marks a run that pushes, merges or sends something outside.

{% for x in rows.runs %}
{% if x.launched %} · handed off {{ x.launched.t|epoch }}{% if x.launched.edited %} (edited){% endif %} by {{ x.launched.by }}: {{ x.launched.outcome }} {% elif not x.can %} · not now: it is {{ x.state or "not readable" }}{% endif %} {% if x.why %}
{{ x.why }}
{% endif %}
instruction
{% endfor %} {% if rows.runs|selectattr("can")|list %}{% endif %}
{% endif %} {{ html|safe }}
{% elif html %}
{{ html|safe }}
{% else %}

No brief for {{ day }} yet. The board writes one each weekday morning ([focus] time, 08:30 unless set); Rebuild makes today's now.

{% endif %}

Also: standup · weekly review · status per board, from each board's page or main.

{% if days %}

Earlier

{% for d in days %}{{ d }}{{ " · " if not loop.last }}{% endfor %}

{% endif %}

{% if b and b.agent %}A model wrote this from what the board, your sessions and your repos said since the last brief; every project it names is checked against the board.{% else %}This one is scored from the board's own data, with no model call: your priority, then deadlines, then what unblocks the runner, then how long it has waited.{% endif %} Set [focus] agent, model and sessions in config.toml.

{% endblock %}