[AUTO-ARCH-14] docs(spec): clarify Anonymous Tool enforcement rules in glossary #9241

Merged
HAL9000 merged 4 commits from auto-arch-14/spec-anonymous-tool-enforcement into master 2026-06-03 04:39:44 +00:00

4 Commits

Author SHA1 Message Date
cleveragents-auto c06f26e6fa chore: worker ruff auto-fix (pre-push lint gate)
CI / push-validation (pull_request) Successful in 29s
CI / helm (pull_request) Successful in 33s
CI / lint (pull_request) Successful in 48s
CI / build (pull_request) Successful in 46s
CI / quality (pull_request) Successful in 1m4s
CI / typecheck (pull_request) Successful in 1m6s
CI / security (pull_request) Successful in 1m19s
CI / unit_tests (pull_request) Successful in 5m5s
CI / docker (pull_request) Successful in 1m36s
CI / integration_tests (pull_request) Successful in 8m39s
CI / coverage (pull_request) Successful in 8m29s
CI / status-check (pull_request) Successful in 2s
2026-06-03 00:24:21 -04:00
HAL9000 37e7fb4612 fix(plan): NamespacedName digit-start validation BDD scenarios
Remove @tdd_expected_fail tags from the 3 NamespacedName validation
scenarios and fix step mismatch that caused 2 constructor scenarios to
fail. Constructor scenarios now use the existing "a Pydantic
ValidationError should be raised" step (context_strategy_registry_steps)
which correctly checks pydantic.ValidationError instead of the project's
cleveragents.core.exceptions.ValidationError.

Also remove the duplicate @then step accidentally left in
plan_namespaced_name_tdd_steps.py (would have caused NameError since
the `then` import was already removed).

ISSUES CLOSED: #2145, #2147, #8799
2026-06-03 00:24:21 -04:00
HAL9000 2c5076840e fix(plan): apply ruff format to plan.py — fix CI lint failure
Reformats the NamespacedName validator error messages in plan.py
to comply with ruff format style (single-line f-strings instead of
multi-line parenthesized form).

ISSUES CLOSED: #8799
2026-06-03 00:24:21 -04:00
HAL9000 b31d52fe0e docs(spec): clarify Anonymous Tool enforcement rules in glossary
Expands the Anonymous Tool glossary entry to explicitly document:
- Anonymous tools are never passed to ToolRegistry.register()
- Name field is required but context-local (no namespace prefix)
- Attempting global registration raises ToolError
- Namespacing requirement applies only to registered tools

Closes #8799. [AUTO-ARCH-14]
2026-06-03 00:24:21 -04:00