khyari hamza
d815339c52
feat(security): add secrets masking and validation (H-21/SEC5)
...
Implement centralized redaction utility that masks API keys, tokens,
and credentials across CLI output, structlog logs, and error messages.
- Add shared/redaction.py with pattern-based secret detection (sk-*,
sk-ant-*, tok_*, Bearer tokens), sensitive key name detection,
database URL masking, custom pattern registration, and thread-safe
global show_secrets flag
- Add config/logging.py with structlog configuration integrating the
secrets_masking_processor into the processor chain
- Add --show-secrets global CLI option to reveal secrets when needed
- Redact error details in main.py, project.py, and auto_debug.py
error handlers before printing
- Wrap format_output() in formatting.py with automatic dict redaction
- Add show_secrets field and safe __repr__ to Settings model
- Add 43-scenario Behave feature (features/security_secrets.feature)
- Add 10 Robot Framework smoke tests (robot/security_secrets.robot)
- Add ASV benchmarks (benchmarks/security_secrets_bench.py)
- Add reference docs (docs/reference/secrets_handling.md)
2026-02-19 11:15:18 +00:00
aditya
3ea2413b43
Merge branch 'master' into feature/m3-actor-schema-examples
...
# Conflicts:
# implementation_plan.md
2026-02-19 05:58:08 +00:00
brent.edwards
2dfad7ec71
Merge branch 'master' into develop-20260217
...
# Conflicts:
# implementation_plan.md
2026-02-18 23:08:48 +00:00
khyari hamza
c0b51c445d
docs(cli): add system command reference and diagnostics check list
2026-02-18 12:18:42 +00:00
aditya
a5fd451a3b
fix(actor): resolve Behave test conflicts and add missing step definitions
...
- Fix ActorType import error in actor_schema_steps.py
- Simplify actor_examples_steps.py to remove duplicate steps
- Add missing Background step and actor validation steps
- Add llm_with_tools.yaml documentation section
- Rename conflicting Given step patterns with 'examples' suffix
- Add comprehensive Then steps for actor config validation
- Fix step patterns to include trailing colons for docstring steps
Test Results:
- 8 scenarios passing (up from 0)
- 138 steps passing (critical path tests working)
- 5 undefined steps remaining (minor edge cases)
- Basic actor example validation fully functional
2026-02-18 11:41:05 +00:00
aditya
2b56b7f38b
docs(actor): add comprehensive actor YAML examples documentation
...
Create docs/reference/actors_examples.md with detailed examples covering:
- Simple LLM actors (code reviewers, assistants)
- Strategist actors (planning, decomposition)
- Executor actors (implementation, file operations)
- Reviewer actors (quality gates, standards compliance)
- Tool-only actors (reusable tool collections)
- Validation-node actors (linting, security scanning)
- Linear graph workflows (3-step review pipeline)
- Complex graph workflows (TDD with conditionals, retry logic)
- Hierarchical actor graphs (multi-level planning, subgraph composition)
Each example includes purpose, use cases, key features, and alignment
with CleverAgents specification. Documentation references existing
YAML files in examples/actors/ directory.
2026-02-18 08:44:56 +00:00
brent.edwards
24866b2244
Merge branch 'master' into develop-20260217
2026-02-18 03:27:00 +00:00
brent.edwards
629f286bd3
Merge branch 'feature/m3-skill-domain-robot' into develop-20260217
2026-02-18 02:45:31 +00:00
brent.edwards
a2ec1ccc44
Merge branch 'feature/m3-tool-domain-robot' into develop-20260217
2026-02-18 02:45:27 +00:00
brent.edwards
0a7a8d15be
Merge branch 'feature/m1-resource-db-robot-tests' into develop-20260217
2026-02-18 02:45:22 +00:00
brent.edwards
4e3150bd50
Merge branch 'feature/m3-session-domain-robot' into develop-20260217
...
# Conflicts:
# implementation_plan.md
2026-02-18 02:45:08 +00:00
freemo
a4db605e1c
feat(tool): add resource binding resolution
2026-02-17 20:55:46 -05:00
freemo
a8558f13ca
feat(cli): add project context commands
2026-02-17 20:55:43 -05:00
freemo
08639183e2
feat(resource): add DAG linking and discovery
2026-02-17 20:55:32 -05:00
freemo
3b005ddcd4
feat(service): resolve automation profiles with precedence
2026-02-17 20:18:18 -05:00
freemo
7e7d2e7727
feat(execute): add changeset model and change capture
2026-02-17 20:18:15 -05:00
freemo
be4d32d550
feat(tool): add tool registry persistence
2026-02-17 20:18:04 -05:00
freemo
5480cd36fd
feat(project): add context policy model
2026-02-17 20:07:38 -05:00
freemo
9464ec6285
feat(domain): add automation profile model and built-ins
2026-02-17 20:07:34 -05:00
freemo
093204a703
feat(resource): add fs-mount and fs-directory types
2026-02-17 20:07:31 -05:00
brent.edwards
686c834602
feat: merge branch 'master' into feature/m3-tool-domain-robot
2026-02-17 17:02:27 -08:00
brent.edwards
b1c011702f
feat: merge branch 'master' into feature/m3-skill-domain-robot
2026-02-18 00:21:04 +00:00
brent.edwards
2840514729
feat: Merge branch 'master' into feature/m1-resource-db-robot-tests
2026-02-17 15:59:22 -08:00
brent.edwards
6c7bcab01e
feat: merge branch 'master' into feature/m3-session-domain-robot
2026-02-17 15:56:13 -08:00
brent.edwards
cdbd0bdd23
feat: merge branch 'master' into feature/m3-skill-cli
2026-02-17 22:45:44 +00:00
brent.edwards
3d2cd05f56
test(tool): add robot tool model smoke tests
2026-02-17 21:14:46 +00:00
brent.edwards
5d2e70cff0
test(db): add resource registry robot smoke test
2026-02-17 21:07:54 +00:00
brent.edwards
4f32daa740
test(session): add robot session model smoke tests
2026-02-17 20:33:53 +00:00
brent.edwards
f0815dd126
test(skill): add robot skill resolver smoke tests
2026-02-17 19:58:15 +00:00
aditya
c562557da8
feat(cli): add skill commands
2026-02-17 14:44:40 +00:00
aditya
411bc3325f
docs(actor): add comprehensive actor schema reference documentation
...
Add complete reference documentation for actor YAML schema:
Documentation Sections:
- Actor types overview (LLM, TOOL, GRAPH)
- Complete field definitions for all models
- Tool node semantics (references vs inline definitions)
- Graph constraints and topology rules
- Comprehensive validation rules with examples
- Error messages with causes and fixes
Field Definitions:
- Top-level actor fields (name, type, model, etc.)
- ToolParameter and ToolDefinition fields
- MemoryConfig and ContextConfigSchema fields
- ContextView enum (strategist, executor, reviewer, full)
Graph Documentation:
- Node types (AGENT, TOOL, CONDITIONAL, SUBGRAPH)
- Edge definition and conditional routing
- RouteDefinition structure
- Cycle detection explanation
Validation Rules:
1. Unique node IDs
2. Entry node existence
3. Exit nodes existence
4. Edge reference validity
5. Acyclic graph requirement
6. Node reachability
Examples:
- Simple LLM actor
- LLM with inline tools
- Simple graph workflow
- Complex graph with conditionals
- Error examples with fixes
Part 6 of C1.schema implementation (Actor YAML Schema Models).
2026-02-17 13:26:15 +00:00
Jeffrey Phillips Freeman
ee5f0376d7
Replaced hand written Reference section with one generated from docstrings
2026-02-16 23:40:33 -05:00
Jeffrey Phillips Freeman
339b7de700
Docs: Added ADRs and improved TOC handling
2026-02-16 22:11:01 -05:00
Jeffrey Phillips Freeman
1fb91cba28
refactor(plan): remove legacy plan persistence
2026-02-17 00:38:33 +00:00
Jeffrey Phillips Freeman
d0f265ef62
feat(service): persist plan lifecycle via repositories
2026-02-17 00:37:53 +00:00
Jeffrey Phillips Freeman
f7d2f63ab8
feat(cli): add resource commands (core)
2026-02-16 16:46:54 -05:00
Jeffrey Phillips Freeman
36c571db83
feat(repo): add resource repositories
2026-02-16 21:35:54 +00:00
Jeffrey Phillips Freeman
dbca60c98e
feat(db): add projects and project links tables
2026-02-15 11:04:18 -05:00
Jeffrey Phillips Freeman
5a7703473a
feat(resource): add git-checkout and fs-directory resource types
2026-02-15 10:44:14 -05:00
Jeffrey Phillips Freeman
1f06bb2f76
feat(resource): add resource type model + schema loader
2026-02-15 15:19:09 +00:00
Jeffrey Phillips Freeman
ae40bb24c0
feat(uow): wire lifecycle repositories
2026-02-15 09:04:17 +00:00
Jeffrey Phillips Freeman
5691858d46
feat(repo): add lifecycle plan repository
2026-02-15 08:29:31 +00:00
Jeffrey Phillips Freeman
6183ee3230
feat(db): rebaseline plan phase/state enums for Action and Apply terminal states
2026-02-15 06:16:19 +00:00
freemo
039ab87b52
feat(domain): rebaseline plan phases and apply states
2026-02-15 00:12:07 -05:00
Jeff (CTO)
2277ac1b8e
feat(tool): add built-in file tools
2026-02-14 14:03:28 -05:00
freemo
2d345ae31c
feat(tool): add tool lifecycle runtime
...
Implement the four-stage tool lifecycle (discover/activate/execute/deactivate)
with capability enforcement, per-plan activation caching, JSON Schema validation,
execution tracing, and cancellation propagation.
New modules:
- tool/context.py: ToolExecutionContext, BoundResource, Change, CancellationToken
- tool/lifecycle.py: ToolRuntime, ToolInstance protocol, ToolLifecycleCache
- tool/schema_validator.py: JSON Schema input/output validation
Tests: 57 Behave scenarios, 6 Robot smoke tests, 5 ASV benchmarks
Coverage: context 100%, schema_validator 100%, lifecycle 94%, overall 97%
2026-02-14 18:55:48 +00:00
Jeff (CTO)
156e3ffde9
feat(cli): stabilize action/plan output formats
2026-02-14 13:51:12 -05:00
Jeff (CTO)
18482b938f
feat(tool): add tool runtime core
2026-02-14 13:46:10 -05:00
freemo
65988669a6
feat(cli): align plan use/list/status flags
...
- plan use: accept positional PROJECT args, add --automation-profile,
--invariant (repeatable), and actor override flags
- lifecycle-list: add --state/--processing-state, --action filters,
optional positional REGEX for name filtering, Action column in output
- plan status: enhanced detail view with processing state, project
links, arguments order, automation profile provenance, actor
overrides, automation level, and full timestamps
- Add docs/reference/plan_cli.md reference documentation
- Add Behave feature (17 scenarios) with mock service steps
- Add Robot smoke test (7 cases) with import-safe helper
- Add ASV benchmarks for plan use/list/status commands
2026-02-14 13:42:02 -05:00
Jeff (CTO)
d98666651f
feat(cli): align action commands to spec
...
- Enforce config-only 'action create --config <file>' (remove legacy
inline flags: --name, --strategy-actor, --execution-actor,
--definition-of-done, --arg)
- Load config via ActionConfigSchema.from_yaml_file() then
Action.from_config() with clear validation error surfacing
- Remove 'action available' subcommand (no draft state; actions are
available by default)
- Add REGEX positional arg to 'action list' for name filtering
- Add Short Name and Definition of Done summary to all CLI outputs
- Add 'action list --namespace/-n' and '--state/-s' filters
- Update existing tests to match new config-only create flow
- Add features/action_cli_spec_alignment.feature (19 scenarios)
- Add robot/action_cli_spec.robot smoke tests
- Add benchmarks/action_cli_bench.py ASV benchmarks
- Add docs/reference/action_cli.md
2026-02-14 12:16:39 -05:00