style(.opencode/scripts): make ruff check pass on .opencode/scripts #10901
@@ -299,6 +299,12 @@ ensuring data is stored with proper parameter values.
|
||||
|
||||
- **Plan Rollback Command** (#8557): Implemented `agents plan rollback <plan-id> [<checkpoint-id>]` for checkpoint-based plan state restoration in Epic #8493. The command restores a plan's sandbox to the state captured at a given checkpoint, discarding all decisions made after that checkpoint. The checkpoint can be specified as an optional positional second argument or via the `--to-checkpoint` named option. Supports `--yes/-y` flag to skip confirmation prompts and `--format/-f` for output format selection (rich/plain/json/yaml). Included with comprehensive BDD test coverage (>= 97%) and spec-aligned output formatting showing rollback summary, changes reverted, impact analysis, and post-rollback state panels.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Expanded ruff lint scope to cover `.opencode/`** (#10848): The `lint` nox session
|
||||
now includes `.opencode/` as a ruff check target, ensuring Python scripts placed
|
||||
under `.opencode/` are covered by the lint gate.
|
||||
|
||||
### Fixed
|
||||
- **ACMS execute-phase assembler respects project-level hot_max_tokens** (#11035): Fixed
|
||||
``_resolve_hot_max_tokens()`` to read ``hot_max_tokens`` from
|
||||
|
||||
+10
-1
@@ -162,7 +162,16 @@ def _install_behave_parallel(session: nox.Session) -> None:
|
||||
def lint(session: nox.Session):
|
||||
"""Check code formatting and linting."""
|
||||
session.install("ruff>=0.15,<0.16")
|
||||
session.run("ruff", "check", "src/", "scripts/", "examples/", "features/", "robot/")
|
||||
session.run(
|
||||
"ruff",
|
||||
"check",
|
||||
"src/",
|
||||
"scripts/",
|
||||
"examples/",
|
||||
"features/",
|
||||
"robot/",
|
||||
".opencode/",
|
||||
)
|
||||
|
||||
|
||||
@nox.session(python=DEFAULT_PYTHON, reuse_venv=True, venv_backend="uv")
|
||||
|
||||
Reference in New Issue
Block a user