Skip to content

feat(tf-config): implement story 0-1 YAML configuration management#10

Merged
EdouardZemb merged 5 commits intomainfrom
feature/story-0-1-tf-config
Feb 5, 2026
Merged

feat(tf-config): implement story 0-1 YAML configuration management#10
EdouardZemb merged 5 commits intomainfrom
feature/story-0-1-tf-config

Conversation

@EdouardZemb
Copy link
Owner

Summary

Implements Story 0-1: Configurer un projet via config.yaml - adding the tf-config crate for centralized YAML configuration management.

Changes

Core Implementation

  • Add tf-config crate with YAML configuration parsing and validation
  • Support for project configuration via config.yaml
  • URL userinfo redaction for security (passwords not logged)
  • Fix memory leaks (removed String::leak patterns)
  • Accept numeric folder names in path validation

Documentation & QA Artifacts

  • Add traceability matrix mapping requirements to test coverage
  • Add test review documentation for story 0-1
  • Update tf-config README with usage examples
  • Document serde_yaml tech debt in Cargo.toml

Testing

  • Unit tests added for configuration parsing
  • Test fixtures added (valid_cloud_config.yaml)
  • Traceability matrix validates requirement coverage

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Tests pass locally
  • Documentation updated
  • No breaking changes

Related

Completes Story 0-1 from Sprint 0

EdouardZemb and others added 5 commits February 4, 2026 23:08
- Implement config parsing with serde and validation
- Add error handling with thiserror
- Include integration tests with fixture files
- Add project scaffolding (.gitignore, LICENSE, Cargo workspace)
- Update Codex tooling and BMAD sprint artifacts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add extract_field_from_error() for better field identification in serde errors
- Enhance string type error handling with specific field detection
- Allow numeric folder names (e.g., "2026") as valid output paths
- Update tests for numeric path acceptance and error attribution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update story status to review
- Mark all Review 16 items as completed (3/3)
- Add completion notes for error parsing and numeric path fixes
- Update test count to 147 (136 unit + 8 integration + 3 doc-tests)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add redact_url_userinfo() to mask user:pass@host credentials in URLs
- Extend redact_url_sensitive_params() to handle both userinfo and query params
- Replace String::leak() with owned String via InvalidEnumValueDynamic variant
- Add 7 unit tests for userinfo redaction (154 tests total)
- Document Review 17 fixes in story 0-1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add traceability matrix mapping requirements to test coverage
- Add test review documentation for story 0-1
- Add valid_cloud_config.yaml test fixture
- Update tf-config README documentation
- Document serde_yaml tech debt in Cargo.toml
- Mark story status as done
@EdouardZemb EdouardZemb merged commit 9a3ac95 into main Feb 5, 2026
1 check failed
@EdouardZemb EdouardZemb deleted the feature/story-0-1-tf-config branch February 5, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant