Commit Graph

3284 Commits

Author SHA1 Message Date
HAL9000 3233e8733c docs(changelog): correct issue references for ContextStrategy feature
CI / lint (pull_request) Successful in 33s
CI / quality (pull_request) Successful in 48s
CI / push-validation (pull_request) Successful in 25s
CI / typecheck (pull_request) Successful in 1m14s
CI / security (pull_request) Successful in 1m14s
CI / build (pull_request) Successful in 58s
CI / helm (pull_request) Successful in 58s
CI / unit_tests (pull_request) Successful in 4m56s
CI / docker (pull_request) Successful in 1m32s
CI / integration_tests (pull_request) Successful in 10m3s
CI / coverage (pull_request) Successful in 12m26s
CI / status-check (pull_request) Successful in 3s
CI / lint (push) Successful in 42s
CI / quality (push) Successful in 47s
CI / build (push) Successful in 49s
CI / helm (push) Successful in 50s
CI / typecheck (push) Successful in 58s
CI / security (push) Successful in 1m8s
CI / unit_tests (push) Successful in 5m47s
CI / docker (push) Successful in 1m38s
CI / push-validation (push) Failing after 14m45s
CI / integration_tests (push) Failing after 15m18s
CI / coverage (push) Successful in 12m45s
CI / status-check (push) Failing after 2s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
CHANGELOG.md and CONTRIBUTORS.md both referenced #10590, which is an
open PR not an issue. The correct issue is #8616. Also removed the
duplicate ### Added heading in CHANGELOG.md that preceded the entry.
CONTRIBUTORS.md now references PR #11106 / issue #8616.

ISSUES CLOSED: #8616
2026-06-14 08:33:44 -04:00
controller-ci-rerun e1ba2465bc chore: re-trigger CI [controller] 2026-06-14 08:33:44 -04:00
HAL9000 1ace8d53fd feat(context): implement ContextStrategy protocol and plugin registration system
Implement the ContextStrategy Protocol for pluggable context assembly strategies
in the ACMS pipeline. Includes six built-in strategies, a StrategyRegistry service
with plugin discovery support, thread-safe operations, and comprehensive BDD tests.

ISSUES CLOSED: #10590
2026-06-14 08:33:44 -04:00
HAL9000 3dfc0245d5 Merge pull request 'fix(acms): wire ContextAssemblyPipeline as default in ACMSExecutePhaseContextAssembler' (#11095) from fix/pr-10027-acms-default-pipeline into master
CI / lint (push) Successful in 47s
CI / quality (push) Successful in 47s
CI / build (push) Successful in 49s
CI / typecheck (push) Successful in 1m0s
CI / helm (push) Successful in 45s
CI / security (push) Successful in 1m12s
CI / push-validation (push) Successful in 32s
CI / unit_tests (push) Successful in 4m49s
CI / docker (push) Successful in 1m33s
CI / integration_tests (push) Successful in 8m30s
CI / coverage (push) Successful in 9m26s
CI / status-check (push) Successful in 2s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-14 12:33:38 +00:00
HAL9000 bedd1ec0c5 fix(acms): move ContextAssemblyPipeline import to module level in step defs
CI / build (pull_request) Successful in 38s
CI / lint (pull_request) Successful in 41s
CI / helm (pull_request) Successful in 41s
CI / push-validation (pull_request) Successful in 28s
CI / quality (pull_request) Successful in 58s
CI / typecheck (pull_request) Successful in 1m21s
CI / security (pull_request) Successful in 1m22s
CI / unit_tests (pull_request) Successful in 4m59s
CI / docker (pull_request) Successful in 1m30s
CI / integration_tests (pull_request) Successful in 8m34s
CI / coverage (pull_request) Successful in 9m57s
CI / status-check (pull_request) Successful in 3s
Per project import rules, all imports must appear at the top of the file.
The ContextAssemblyPipeline import was inside the @then step function body;
moved it to the module-level imports section alongside other production-code
imports.

ISSUES CLOSED: #10027
2026-06-14 08:18:13 -04:00
HAL9000 9da9c1b1c6 fix(acms): wire ContextAssemblyPipeline as default in ACMSExecutePhaseContextAssembler
ACMSExecutePhaseContextAssembler previously instantiated the plain
ACMSPipeline when no pipeline was explicitly provided, missing production
Phase 1 optimizations including confidence-weighted strategy selection,
proportional budget allocation with min-budget enforcement, parallel
strategy execution with circuit breaking, and per-stage timing instrumentation.

The default is now ContextAssemblyPipeline which provides all of these
capabilities while remaining a drop-in replacement for ACMSPipeline.

ISSUES CLOSED: #10027
2026-06-14 08:18:13 -04:00
HAL9000 6ec56ce897 Merge pull request 'feat(context): implement ContextStrategy protocol and plugin registration system' (#10590) from feat/v3.6.0-context-strategy-protocol into master
CI / lint (push) Successful in 39s
CI / typecheck (push) Successful in 58s
CI / build (push) Successful in 39s
CI / quality (push) Successful in 1m12s
CI / security (push) Successful in 1m21s
CI / push-validation (push) Successful in 39s
CI / helm (push) Successful in 55s
CI / unit_tests (push) Successful in 4m55s
CI / integration_tests (push) Successful in 8m32s
CI / docker (push) Successful in 1m40s
CI / coverage (push) Successful in 9m30s
CI / status-check (push) Successful in 3s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-14 11:50:00 +00:00
HAL9000 65a01544bc fix(changelog): merge duplicate ### Added sections in [Unreleased]
CI / lint (pull_request) Successful in 43s
CI / build (pull_request) Successful in 41s
CI / helm (pull_request) Successful in 47s
CI / typecheck (pull_request) Successful in 59s
CI / push-validation (pull_request) Successful in 29s
CI / quality (pull_request) Successful in 1m1s
CI / security (pull_request) Successful in 1m21s
CI / unit_tests (pull_request) Successful in 4m56s
CI / docker (pull_request) Successful in 1m32s
CI / integration_tests (pull_request) Successful in 10m0s
CI / coverage (pull_request) Successful in 9m16s
CI / status-check (pull_request) Successful in 3s
2026-06-14 07:35:03 -04:00
HAL9000 c2c7e75205 fix(context): resolve PR #10590 review blockers and compliance items
- Remove unused TYPE_CHECKING imports (DomainContextStrategy, StrategyCapabilities) from acms_service.py — they are only referenced in docstrings, not type annotations, causing F401 lint errors. This resolves the lint failure that was introduced by the prior commit b5b08e25's attempt to move them into the TYPE_CHECKING block.
- Fix line-length violation (E501) on StrategyCapabilities docstring — shortened :mod: directive reference to fit 88-char limit.

ISSUES CLOSED: #10590
2026-06-14 07:35:03 -04:00
HAL9000 2172344440 fix(context): resolve PR #10590 review blockers and compliance items
- Move DomainContextStrategy / DomainStrategyCapabilities to TYPE_CHECKING block in acms_service.py (lint F401)
- Deduplicate CHANGELOG.md ### Added sections under [Unreleased]
- Remove duplicate CONTRIBUTORS.md entry for ContextStrategy feature
- Ensure security scan compatibility

ISSUES CLOSED: #8616, #10590
2026-06-14 07:35:03 -04:00
HAL9000 414e3622ad docs: add CHANGELOG and CONTRIBUTORS entries for ContextStrategy system (PR #10590)
- Add CHANGELOG entry under [Unreleased] Added section documenting the
  ContextStrategy protocol, six built-in strategies, StrategyRegistry,
  and 77 Behave test scenarios.
- Update CONTRIBUTORS.md with HAL 9000's contribution for PR #10590.

ISSUES CLOSED: #10590
2026-06-14 07:35:03 -04:00
HAL9000 fd3c075c10 fix(context): finalize PR #10590 compliance checklist items
Implement all missing compliance requirements for PR #10590 (ContextStrategy
protocol and StrategyRegistry plugin registration system) as required by the
implementation-pool-supervisor mandatory PR compliance checklist:

[ ] 1. CHANGELOG.md — add entry under [Unreleased] section: DONE
[✓] Added changelog entry documenting ContextStrategy protocol, StrategyRegistry,
    six built-in strategies, and BDD test coverage (#8616, Epic #8505)

[ ] 2. CONTRIBUTORS.md — add or update contribution entry: DONE
[✓] Added HAL 9000 contribution note for the full ContextStrategy feature impl

[ ] 3. Commit footer — include ISSUES CLOSED reference: DONE
[✓] Footer includes ISSUES CLOSED: #8616

[ ] 4. CI passes — all quality gates and tests green before requesting review: PARTIAL
[✓] Added timeout-minutes (30/45min) to unit_tests and integration_tests jobs
    to prevent OOM timeouts that were blocking CI

[ ] 5. BDD/Behave tests — added or updated for the changed behaviour: DONE (pre-existing)
[✓] Comprehensive test suite in features/context_strategy_registry.feature
    (589 lines, 60+ scenarios covering protocol, registry, backends, thread safety)

[✓] 6. Epic reference — PR description references parent Epic issue number: PRE-EXISTING
[✓] PR body and commit message both reference Epic #8505

[ ] 7. Labels — applied via forgejo-label-manager: DONE (pre-existing)
[✓] State/In Review, Priority/High, MoSCoW/Must have, Type/Feature

[ ] 8. Milestone — PR assigned to earliest open matching milestone: PRE-EXISTING
[✓] v3.6.0 (M7): Advanced Concepts & Deferred Features

Additionally addresses the protocol API mismatch blocking review findings:
- Import and document DomainContextStrategy alongside pipeline-compatible Protocol
- Add backward-compat re-exports for existing code importing from acms_service

ISSUES CLOSED: #8616
2026-06-14 07:35:01 -04:00
HAL9000 0c47f28bb6 Merge pull request 'feat(plan): implement agents plan correct with revert and append correction modes' (#9799) from feat/plan-correct-revert-append-modes into master
CI / build (push) Successful in 44s
CI / quality (push) Successful in 59s
CI / lint (push) Successful in 1m9s
CI / typecheck (push) Successful in 1m19s
CI / security (push) Successful in 1m19s
CI / helm (push) Successful in 46s
CI / push-validation (push) Successful in 28s
CI / unit_tests (push) Successful in 5m58s
CI / docker (push) Successful in 1m36s
CI / integration_tests (push) Successful in 9m9s
CI / coverage (push) Successful in 13m38s
CI / status-check (push) Successful in 3s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-14 11:05:46 +00:00
HAL9000 c1c6eea90c fix(cli,tests): catch typer.Exit in actor commands and fix test step init
CI / push-validation (pull_request) Successful in 37s
CI / build (pull_request) Successful in 54s
CI / helm (pull_request) Successful in 57s
CI / lint (pull_request) Successful in 1m17s
CI / typecheck (pull_request) Successful in 1m22s
CI / quality (pull_request) Successful in 1m26s
CI / security (pull_request) Successful in 1m31s
CI / unit_tests (pull_request) Successful in 7m0s
CI / docker (pull_request) Successful in 1m55s
CI / integration_tests (pull_request) Successful in 10m39s
CI / coverage (pull_request) Successful in 13m11s
CI / status-check (pull_request) Successful in 3s
- actor.py, actor_run.py: extend except to catch typer.Exit alongside
  click.exceptions.Exit so unknown actor name exits are not swallowed by
  the generic Exception handler, causing wrong exit codes in integration tests
- db_repositories_cov_r3_steps.py: initialize context.drcov3_error = None
  before the try block so the @then assertion does not raise AttributeError
  on the successful-prune path
- plan_correct_revert_append_modes_steps.py: fix import path from
  src.cleveragents to cleveragents (package installs without the src. prefix)
2026-06-14 06:43:09 -04:00
controller-ci-rerun 736700e387 chore: re-trigger CI [controller] 2026-06-14 06:43:09 -04:00
controller-ci-rerun a9648ffba5 chore: re-trigger CI [controller] 2026-06-14 06:43:09 -04:00
HAL9000 c2f024e8a6 fix(plan): resolve AmbiguousStep errors in plan correct BDD steps
Consolidate the four extended @when variants (with guidance, without
--yes, with --yes, with --dry-run) into a single @when step that reads
option flags from context variables set by @given steps. Behave's
registration-time conflict detection uses re.search without end anchors,
so the base mode "{mode}" pattern falsely matched all four longer
variants as prefixes.

Also:
- Add decision ID validation to the @when step so the "decision not
  found" scenario actually raises an error instead of silently passing
- Rename "affected decisions" @then step to avoid pattern collision with
  the identical step already defined in correction_flows_steps.py
- Fix ruff format violations (wrapped long decorator and assertion lines)

ISSUES CLOSED: #9286
2026-06-14 06:43:09 -04:00
controller-ci-rerun d5a5f720ae chore: re-trigger CI [controller] 2026-06-14 06:43:09 -04:00
HAL9000 82890e8e58 feat(plan): implement agents plan correct with revert and append correction modes
Add BDD feature file and step definitions for plan correction functionality.
Implements support for both revert mode (prunes decision tree and re-executes LLM)
and append mode (adds guidance without re-executing).

Features:
- Revert mode with confirmation prompt and --yes flag support
- Append mode with guidance text support
- Dry-run mode for impact analysis
- Plan and decision ID validation
- Non-correctable plan state rejection
- Decision tree persistence to database

ISSUES CLOSED: #9286
2026-06-14 06:43:09 -04:00
HAL9000 27402c6451 Merge pull request 'fix(cleanup): invalidate sandbox_dirs_cache after purge (#7527)' (#11040) from fix/7527-sandbox-cache-invalidation into master
CI / lint (push) Successful in 58s
CI / typecheck (push) Successful in 1m7s
CI / security (push) Successful in 1m6s
CI / quality (push) Successful in 47s
CI / push-validation (push) Successful in 36s
CI / build (push) Successful in 53s
CI / helm (push) Successful in 52s
CI / unit_tests (push) Successful in 5m34s
CI / docker (push) Successful in 1m41s
CI / integration_tests (push) Successful in 9m1s
CI / coverage (push) Successful in 9m34s
CI / status-check (push) Successful in 3s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-14 09:43:52 +00:00
HAL9000 51fd739f63 fix(tests): remove unused mock_tmp variable and apply ruff formatting
CI / lint (pull_request) Successful in 56s
CI / quality (pull_request) Successful in 57s
CI / typecheck (pull_request) Successful in 59s
CI / security (pull_request) Successful in 1m23s
CI / push-validation (pull_request) Successful in 26s
CI / build (pull_request) Successful in 36s
CI / helm (pull_request) Successful in 42s
CI / unit_tests (pull_request) Successful in 5m31s
CI / docker (pull_request) Successful in 1m38s
CI / integration_tests (pull_request) Successful in 8m42s
CI / coverage (pull_request) Successful in 9m15s
CI / status-check (pull_request) Successful in 3s
2026-06-14 05:08:06 -04:00
controller-ci-rerun aa8ab78e66 chore: re-trigger CI [controller]
CI / lint (pull_request) Failing after 34s
CI / build (pull_request) Successful in 39s
CI / push-validation (pull_request) Successful in 25s
CI / helm (pull_request) Successful in 42s
CI / quality (pull_request) Successful in 1m9s
CI / typecheck (pull_request) Successful in 1m23s
CI / security (pull_request) Successful in 1m23s
CI / unit_tests (pull_request) Successful in 7m7s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Successful in 11m21s
CI / status-check (pull_request) Failing after 3s
2026-06-14 04:44:44 -04:00
controller-ci-rerun 7b5ba090fe chore: re-trigger CI [controller] 2026-06-14 04:44:44 -04:00
HAL9000 82af29bb4f fix(cleanup): invalidate sandbox_dirs_cache after purge (#7527)
Closes #7527.

ISSUES CLOSED: #7527
2026-06-14 04:44:44 -04:00
HAL9000 bab706c257 Merge pull request 'chore(agents): fix bug-hunt-pool-supervisor tracking prefix AUTO-BUG-POOL to AUTO-BUG-SUP (complete fix)' (#10877) from feature/issue-10820-chore-agents-fix-bug-hunt-pool-supervisor-tracking-prefix-auto-bug-pool-to-auto-bug-sup-complete-fix into master
CI / lint (push) Successful in 1m7s
CI / typecheck (push) Successful in 1m24s
CI / security (push) Successful in 1m24s
CI / push-validation (push) Successful in 36s
CI / build (push) Successful in 50s
CI / helm (push) Successful in 53s
CI / quality (push) Successful in 1m16s
CI / unit_tests (push) Successful in 5m26s
CI / docker (push) Successful in 1m31s
CI / integration_tests (push) Successful in 8m58s
CI / coverage (push) Successful in 9m32s
CI / status-check (push) Successful in 3s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-14 08:35:37 +00:00
HAL9000 0bb37a6f39 fix(agents): fix bug-hunt-pool-supervisor bash permission block
CI / lint (pull_request) Successful in 45s
CI / build (pull_request) Successful in 54s
CI / helm (pull_request) Successful in 52s
CI / quality (pull_request) Successful in 57s
CI / push-validation (pull_request) Successful in 30s
CI / typecheck (pull_request) Successful in 1m24s
CI / security (pull_request) Successful in 1m25s
CI / unit_tests (pull_request) Successful in 4m29s
CI / docker (pull_request) Successful in 1m38s
CI / integration_tests (pull_request) Successful in 10m53s
CI / coverage (pull_request) Successful in 9m15s
CI / status-check (pull_request) Successful in 3s
- Add missing ': allow' suffix to 'git clone*' entry (was a bare key,
  effectively null/denied, breaking Worker Mode clone step)
- Add 'rm -rf /tmp/*': allow for mandatory clone cleanup on exit

ISSUES CLOSED: #10820
2026-06-14 03:44:33 -04:00
controller-ci-rerun 7b49e81379 chore: re-trigger CI [controller]
CI / lint (pull_request) Successful in 41s
CI / build (pull_request) Successful in 37s
CI / helm (pull_request) Successful in 40s
CI / push-validation (pull_request) Successful in 35s
CI / quality (pull_request) Successful in 1m1s
CI / typecheck (pull_request) Successful in 1m31s
CI / security (pull_request) Successful in 1m30s
CI / unit_tests (pull_request) Successful in 6m36s
CI / integration_tests (pull_request) Successful in 8m25s
CI / docker (pull_request) Successful in 1m44s
CI / coverage (pull_request) Successful in 9m8s
CI / status-check (pull_request) Successful in 3s
2026-06-14 03:03:31 -04:00
controller-ci-rerun 0204164cc0 chore: re-trigger CI [controller] 2026-06-14 03:03:31 -04:00
HAL9000 b6fe72e40f chore(agents): fix bug-hunt-pool-supervisor tracking prefix AUTO-BUG-POOL to AUTO-BUG-SUP (complete fix) 2026-06-14 03:03:30 -04:00
HAL9000 eb87164769 Merge pull request 'chore(agents): add mandatory labels to supervisor tracking issue creation' (#10834) from feature/issue-3105-add-mandatory-labels-to-supervisor-tracking-issue-creation into master
CI / push-validation (push) Successful in 39s
CI / lint (push) Successful in 1m3s
CI / quality (push) Successful in 1m7s
CI / build (push) Successful in 1m7s
CI / helm (push) Successful in 1m9s
CI / typecheck (push) Successful in 1m14s
CI / security (push) Successful in 1m25s
CI / unit_tests (push) Successful in 5m22s
CI / docker (push) Successful in 1m33s
CI / integration_tests (push) Successful in 8m39s
CI / coverage (push) Successful in 13m31s
CI / status-check (push) Successful in 5s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-14 07:00:43 +00:00
HAL9000 1297f093c3 fix(features): add name/value headers to mandatory-labels tables + format steps
CI / lint (pull_request) Successful in 56s
CI / typecheck (pull_request) Successful in 57s
CI / security (pull_request) Successful in 1m5s
CI / quality (pull_request) Successful in 51s
CI / push-validation (pull_request) Successful in 44s
CI / build (pull_request) Successful in 1m2s
CI / helm (pull_request) Successful in 1m8s
CI / unit_tests (pull_request) Successful in 4m40s
CI / docker (pull_request) Successful in 1m37s
CI / integration_tests (pull_request) Successful in 8m16s
CI / coverage (pull_request) Successful in 9m9s
CI / status-check (pull_request) Successful in 3s
The CREATE_TRACKING_ISSUE and CREATE_ANNOUNCEMENT_ISSUE scenarios in
features/automation_tracking_mandatory_labels.feature used Behave tables
without explicit column headers, but the step implementations index rows
by row["name"] / row["value"]. Behave was treating the first data row as
the heading row, raising KeyError('"value" is not a row heading') and
erroring both scenarios.

Add the missing `| name | value |` header row to both tables so the
indexed access works as written. Also apply `ruff format` to the steps
module to satisfy the lint/format gate (trailing commas in dict literals
and parenthesised long assert messages).

ISSUES CLOSED: #3105
2026-06-14 02:14:33 -04:00
controller-ci-rerun c4e7d68f90 chore: re-trigger CI [controller]
CI / push-validation (pull_request) Successful in 41s
CI / build (pull_request) Successful in 1m1s
CI / lint (pull_request) Failing after 1m11s
CI / helm (pull_request) Successful in 1m6s
CI / typecheck (pull_request) Successful in 1m21s
CI / security (pull_request) Successful in 1m22s
CI / quality (pull_request) Successful in 1m26s
CI / unit_tests (pull_request) Failing after 7m24s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Successful in 11m36s
CI / status-check (pull_request) Failing after 3s
2026-06-14 01:41:58 -04:00
controller-ci-rerun b6e55b7498 chore: re-trigger CI [controller] 2026-06-14 01:41:58 -04:00
HAL9000 38093ab8f1 fix(tests): correct step definitions and feature table headers for mandatory labels tests 2026-06-14 01:38:37 -04:00
HAL9000 ba9a7f9ed1 chore(agents): add mandatory labels to supervisor tracking issue creation
Updated automation-tracking-manager.md to enforce mandatory labels on all tracking issues:
- Status tracking issues now require both 'Automation Tracking' and 'Priority/Medium' labels
- Announcement issues require both 'Automation Tracking' and a priority label
- Added critical rule #4 to enforce label application with failure handling
- Added comprehensive BDD tests to verify mandatory label application

ISSUES CLOSED: #3105
2026-06-14 01:38:37 -04:00
HAL9000 40287edac4 Merge pull request 'feat(context): implement custom scope resolver registration mechanism' (#10623) from fix/v360/scope-chain-resolver-registration into master
CI / push-validation (push) Successful in 42s
CI / build (push) Successful in 1m0s
CI / lint (push) Successful in 1m10s
CI / helm (push) Successful in 1m6s
CI / quality (push) Successful in 1m15s
CI / typecheck (push) Successful in 1m21s
CI / security (push) Successful in 1m20s
CI / unit_tests (push) Successful in 6m33s
CI / docker (push) Successful in 1m48s
CI / integration_tests (push) Successful in 10m20s
CI / coverage (push) Successful in 13m5s
CI / status-check (push) Successful in 3s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-14 04:38:24 +00:00
HAL9000 fb55542933 style(context): fix ruff format in plugin_extension_points_steps
CI / push-validation (pull_request) Successful in 28s
CI / build (pull_request) Successful in 35s
CI / lint (pull_request) Successful in 45s
CI / helm (pull_request) Successful in 44s
CI / typecheck (pull_request) Successful in 1m3s
CI / quality (pull_request) Successful in 1m5s
CI / security (pull_request) Successful in 1m12s
CI / unit_tests (pull_request) Successful in 5m3s
CI / docker (pull_request) Successful in 1m38s
CI / integration_tests (pull_request) Successful in 8m30s
CI / coverage (pull_request) Successful in 9m4s
CI / status-check (pull_request) Successful in 3s
Add the second blank line before the "# --- Scope Chain Resolver ---"
section divider to satisfy ruff format. CI lint was failing because
ruff format --check wanted to reformat this single file.

Refs: #939, #5705
2026-06-13 23:43:22 -04:00
controller-ci-rerun 3e2b9df495 chore: re-trigger CI [controller] 2026-06-13 23:43:22 -04:00
controller-ci-rerun 98d143f316 chore: re-trigger CI [controller] 2026-06-13 23:43:22 -04:00
HAL9000 7ab4172479 fix(context): update plugin_extension_points tests for 31st extension point
Update plugin_extension_points.feature and step definitions to reflect
the addition of the ScopeChainResolverExtension as the 31st extension
point. The PR added the extension point but forgot to update the existing
test file that hardcoded the count as 30.

ISSUES CLOSED: #5705
2026-06-13 23:43:22 -04:00
HAL9000 40642f0279 feat(context): implement custom scope resolver registration mechanism
- Add ScopeChainResolverExtension protocol to extension_protocols.py
- Register scope.chain_resolver as 31st extension point in extension_catalog.py
- Implement BDD tests for scope chain resolver registration and invocation
- Update extension point count from 30 to 31
- Support custom entity name resolution through pluggable scope resolvers

Closes #5705
2026-06-13 23:43:22 -04:00
Graa 5b39461c85 chore: update .devcontainer/opencode.json - MiniMax M2.7 endpoint replaced (UD-IQ2_M, RTX Pro 6000 x1)
CI / lint (push) Successful in 59s
CI / typecheck (push) Successful in 1m9s
CI / security (push) Successful in 1m4s
CI / quality (push) Successful in 51s
CI / push-validation (push) Successful in 43s
CI / build (push) Successful in 1m0s
CI / helm (push) Successful in 1m6s
CI / unit_tests (push) Successful in 5m9s
CI / docker (push) Successful in 1m30s
CI / integration_tests (push) Successful in 8m45s
CI / coverage (push) Successful in 8m57s
CI / status-check (push) Successful in 2s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-14 03:39:16 +00:00
HAL9000 385612989a Merge pull request 'feat(tui): implement PersonaRegistry with YAML load/save/list/cycle and PersonaState.cycle_persona()' (#10603) from feat/tui-v370/persona-registry into master
CI / push-validation (push) Successful in 26s
CI / build (push) Successful in 44s
CI / lint (push) Successful in 46s
CI / typecheck (push) Successful in 58s
CI / helm (push) Successful in 1m15s
CI / quality (push) Successful in 1m19s
CI / security (push) Successful in 1m33s
CI / unit_tests (push) Successful in 5m2s
CI / docker (push) Successful in 1m54s
CI / integration_tests (push) Successful in 8m33s
CI / coverage (push) Successful in 8m44s
CI / status-check (push) Successful in 3s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-14 01:24:58 +00:00
controller-ci-rerun 3c71f82e3c chore: re-trigger CI [controller]
CI / lint (pull_request) Successful in 57s
CI / quality (pull_request) Successful in 56s
CI / typecheck (pull_request) Successful in 1m0s
CI / build (pull_request) Successful in 1m4s
CI / security (pull_request) Successful in 1m35s
CI / push-validation (pull_request) Successful in 23s
CI / helm (pull_request) Successful in 43s
CI / unit_tests (pull_request) Successful in 5m13s
CI / docker (pull_request) Successful in 1m26s
CI / integration_tests (pull_request) Successful in 11m28s
CI / coverage (pull_request) Successful in 8m53s
CI / status-check (pull_request) Successful in 2s
2026-06-13 21:00:27 -04:00
controller-ci-rerun 61179a9d79 chore: re-trigger CI [controller] 2026-06-13 21:00:27 -04:00
HAL9000 6ac43bd830 fix(tui): resolve ambiguous step definitions and add missing docstrings
- Remove duplicate step definitions from tui_persona_cycle_steps.py that
  conflicted with tui_persona_system_steps.py (a temporary TUI persona
  registry, set active persona, active persona assertions)
- Fix unquoted step parameter in @then step to use quoted {persona_name}
  matching the feature file syntax
- Add docstrings to export_persona, import_persona, load_state, save_state,
  get_last_persona, set_last_persona in registry.py
- Add docstrings to active_name, active_persona, set_active_persona,
  current_preset in state.py
- Add CHANGELOG entry for PersonaRegistry and PersonaState.cycle_persona()

ISSUES CLOSED: #5314
2026-06-13 21:00:27 -04:00
HAL9000 a2a84523be Merge pull request 'feat(decisions): implement ExecutePhaseDecisionHook with Behave tests' (#11154) from feat/v3.2.0-decision-recording-persistence into master
CI / push-validation (push) Successful in 38s
CI / lint (push) Successful in 1m5s
CI / build (push) Successful in 59s
CI / quality (push) Successful in 1m1s
CI / helm (push) Successful in 1m8s
CI / typecheck (push) Successful in 1m39s
CI / security (push) Successful in 1m39s
CI / unit_tests (push) Successful in 6m15s
CI / docker (push) Successful in 1m39s
CI / integration_tests (push) Successful in 10m18s
CI / coverage (push) Successful in 11m36s
CI / status-check (push) Successful in 3s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
2026-06-13 23:38:56 +00:00
HAL9000 4768d6d6dd fix(decisions): refactor ExecutePhaseDecisionHook to shared _record helper
CI / lint (pull_request) Successful in 58s
CI / typecheck (pull_request) Successful in 1m7s
CI / security (pull_request) Successful in 1m8s
CI / push-validation (pull_request) Successful in 37s
CI / build (pull_request) Successful in 51s
CI / helm (pull_request) Successful in 53s
CI / quality (pull_request) Successful in 1m17s
CI / unit_tests (pull_request) Successful in 5m31s
CI / docker (pull_request) Successful in 1m42s
CI / integration_tests (pull_request) Successful in 9m8s
CI / coverage (pull_request) Successful in 9m28s
CI / status-check (pull_request) Successful in 4s
The seven record_* methods previously each duplicated the validate +
snapshot + record + log + except pattern, inflating uncovered-line
counts and producing ruff-format violations. Centralise that boilerplate
in a single _record helper; each public method now delegates with just
the decision type + log label.

Also realigns features/execute_decision_recording.feature with its
steps: split combined Then steps, fix alt=/alts= mismatch, change
mentions "X" to mentions="X", and add a missing space in the
res_select scenario. Adds hardcoded steps for the empty-string error
cases (behave's `{q}` placeholder needs >=1 char), plus scenarios for
plan_id construction validation and whitespace-only inputs.

Fixes the CI / lint failure (ruff format) and the CI / unit_tests
failure (11 errored scenarios in execute_decision_recording.feature).

ISSUES CLOSED: #8477
2026-06-13 18:50:14 -04:00
controller-ci-rerun a9f7497cbe chore: re-trigger CI [controller] 2026-06-13 18:50:14 -04:00
freemo 4ba0348338 feat(decisions): implement ExecutePhaseDecisionHook with Behave tests
Epic #8477: added ExecutePhaseDecisionHook as the Execute-phase mirror of
StrategizeDecisionHook. Provides six recording methods for implementation
choices, tool invocations, error recovery, validation responses, subplan
spawn, and resource selection during execution contexts. Captures full
context snapshots with SHA-256 hashes and persists decisions atomically
via DecisionService. Includes comprehensive Behave test coverage.

ISSUES CLOSED: #8477
2026-06-13 18:50:14 -04:00