arrow_backRetour aux issues
Tracer-Cloud/opensre
#5250
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
Type the builder parameters in agent_build_config.py
ecoDébutant
good first issue
maintainability
descriptionDescription
**Claiming this issue**: before starting, ask for it in the OpenSRE Discord (https://discord.com/invite/opensre) so a maintainer can assign it to you and nobody duplicates the work.
`core/agent_harness/agent_build_config.py` types builder-Protocol parameters as `session: Any`, `console: Any`, `observer: Any` — a public build API where the real types exist (`SessionState`, the console Protocol from the sibling issue, `ToolEventObserver`).
**Change**: type the parameters. If the console Protocol issue has not merged yet, leave `console` for that issue and type the other two — do not duplicate the Protocol here.
**Verify**: `make typecheck` clean; harness build tests green.
**Run it locally (baseline before, repeat after your change)**
1. One-time setup from the repo root: `make install`
2. Start the shell: `uv run opensre`
- First run: the onboarding prompts appear — Escape skips GitHub sign-in and the loops picker; submitting a blank LLM key defers key setup (you can add one later with `/auth login `).
3. Type `good morning` — a normal streamed assistant reply proves the turn engine and your LLM config work end to end.
4. Leave with `/exit`.
Run this once on `main` before you start (so you know what healthy looks like) and again on your branch after the change.
**Manual check for this change**
The baseline walk is the manual test: the shell booting and answering at all means the build path constructed every phase with the newly-typed parameters.
---
**Ground rules for this change**
- New or changed Protocol methods use a docstring-only body — no `...`, no `pass`, no `raise NotImplementedError` (AGENTS.md, Code Style). Do not convert pre-existing `NotImplementedError` stubs elsewhere — out of scope.
- Remove any retired name or alias completely in the same PR — no compatibility re-exports.
- CI's typecheck does not cover `tests/`: run `uv run mypy ` yourself.
- No new module-level mutable state; dependencies arrive via constructor or parameter.
- Before opening the PR follow CI.md (lint, format, typecheck, tests) and fill the PR template, including the AI-usage disclosure.
Issues similaires
calkit/calkit
star53
Poids du dépôt moyen
VS Code extension should be robust to YAML parser errors
Seeing this error: ``` Failed to read calkit.yaml: YAMLParseError: A block sequence may not be used as an implicit map…
Python
bug
good first issue
fu351/Doberman-Core
star211
Poids du dépôt léger
dash: a manual Refresh control
The dashboard polls: `refreshStats()` (`src/doberman/dash/app.py:408`) every 5 s and `refreshPending()` (`:546`) every …
Python
enhancement
good first issue
fu351/Doberman-Core
star211
Poids du dépôt léger
dash: "Copy details" button on each pending-approval card
Each pending-approval card in the dashboard (`renderPending`, `src/doberman/dash/app.py:448-544`) shows the risk badge,…
Python
enhancement
good first issue