chore(repo): initialize project's repository structure
- Adds src/tests/docs scaffolding - Preserves Stage 1 planning tasks - Adds local AI orchestration folders (.agile, tasks) - Applies GitFlow development base branch
This commit is contained in:
commit
0d1921fef1
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.tasks/
|
||||||
|
.agile/
|
||||||
32
docs/architecture/module-map.puml
Normal file
32
docs/architecture/module-map.puml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
@startuml
|
||||||
|
skinparam shadowing false
|
||||||
|
skinparam packageStyle rectangle
|
||||||
|
|
||||||
|
title furniture-domain module map
|
||||||
|
|
||||||
|
package "furniture-domain" {
|
||||||
|
package "Availability" {
|
||||||
|
class FurnitureAvailabilityPolicy
|
||||||
|
class AvailabilityComposition
|
||||||
|
}
|
||||||
|
package "Abstractions" {
|
||||||
|
interface IFurnitureDomainDecision
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
package "building-block-inventory" {
|
||||||
|
class InventoryItemLookupResponse
|
||||||
|
}
|
||||||
|
|
||||||
|
package "building-block-catalog" {
|
||||||
|
class ProductContract
|
||||||
|
}
|
||||||
|
|
||||||
|
InventoryItemLookupResponse ..> AvailabilityComposition
|
||||||
|
ProductContract ..> AvailabilityComposition
|
||||||
|
|
||||||
|
note bottom
|
||||||
|
Domain decision layer only.
|
||||||
|
No transport or persistence implementation.
|
||||||
|
end note
|
||||||
|
@enduml
|
||||||
27
docs/architecture/repository-charter.md
Normal file
27
docs/architecture/repository-charter.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Furniture Domain Repository Charter
|
||||||
|
|
||||||
|
## Purpose
|
||||||
|
`furniture-domain` owns furniture capability decision and composition rules currently held in service application.
|
||||||
|
|
||||||
|
## Ownership
|
||||||
|
- Furniture domain owns availability composition semantics.
|
||||||
|
- Service remains orchestration-only.
|
||||||
|
- DAL remains persistence and translation-only.
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
- Availability decision/composition rules
|
||||||
|
- Domain abstractions for capability aggregation
|
||||||
|
- Domain invariants and behavior contracts
|
||||||
|
|
||||||
|
## Out of Scope
|
||||||
|
- gRPC/REST transport wiring
|
||||||
|
- Provider/repository implementation
|
||||||
|
- BFF edge adaptation
|
||||||
|
|
||||||
|
## Dependency Boundary
|
||||||
|
Allowed direction:
|
||||||
|
- `blueprint-platform` -> `building-block-inventory` + `building-block-catalog` -> `furniture-domain`
|
||||||
|
|
||||||
|
Forbidden:
|
||||||
|
- Domain references to DAL, Service, or BFF
|
||||||
|
- Any identity logic ownership outside Thalos
|
||||||
22
docs/domain/domain-boundary-rules.md
Normal file
22
docs/domain/domain-boundary-rules.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Furniture Domain Boundary Rules
|
||||||
|
|
||||||
|
## Domain Owns
|
||||||
|
- Availability composition decisions
|
||||||
|
- Capability aggregation semantics
|
||||||
|
- Domain invariants
|
||||||
|
|
||||||
|
## Service Owns
|
||||||
|
- Use-case orchestration
|
||||||
|
- Transport contract adaptation
|
||||||
|
|
||||||
|
## DAL Owns
|
||||||
|
- Persistence/retrieval
|
||||||
|
- Technical data translation
|
||||||
|
|
||||||
|
## BFF Owns
|
||||||
|
- Edge transport exposure
|
||||||
|
- Service client adaptation
|
||||||
|
|
||||||
|
## Forbidden
|
||||||
|
- Domain references to DAL/Service/BFF
|
||||||
|
- Domain runtime wiring concerns
|
||||||
10
docs/migration/behavior-invariants.md
Normal file
10
docs/migration/behavior-invariants.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Behavior Invariants for Domain Extraction
|
||||||
|
|
||||||
|
## Invariants
|
||||||
|
- Availability decision outcome remains unchanged for equivalent inputs.
|
||||||
|
- Correlation propagation behavior remains unchanged.
|
||||||
|
- Transport contracts stay stable at service boundary.
|
||||||
|
|
||||||
|
## Validation Approach
|
||||||
|
- Compare pre/post extraction contract examples.
|
||||||
|
- Keep orchestration path stable while decision ownership moves.
|
||||||
14
docs/migration/service-to-domain-migration-map.md
Normal file
14
docs/migration/service-to-domain-migration-map.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Furniture Service to Domain Migration Map
|
||||||
|
|
||||||
|
## Candidate Migrations
|
||||||
|
|
||||||
|
| Current Source | Target Domain Area | Ownership Outcome |
|
||||||
|
|---|---|---|
|
||||||
|
| furniture-service availability use case flow | Domain/AvailabilityPolicies | Domain owns decision logic |
|
||||||
|
| furniture-service contract composition logic | Domain/CompositionRules | Service remains orchestration only |
|
||||||
|
| service-level decision branches | Domain/DecisionRules | DAL and BFF stay technical |
|
||||||
|
|
||||||
|
## Service After Extraction
|
||||||
|
- Orchestration only
|
||||||
|
- Delegation to domain abstractions
|
||||||
|
- No direct decision ownership
|
||||||
19
docs/provisioning/checklist.md
Normal file
19
docs/provisioning/checklist.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Stage 7 Provisioning Checklist - furniture-domain
|
||||||
|
|
||||||
|
## Preconditions
|
||||||
|
- [ ] Dependency direction verified against rules/15-workspace-dependency-graph.md.
|
||||||
|
- [ ] Building block contract dependencies identified.
|
||||||
|
|
||||||
|
## Provisioning Scope
|
||||||
|
- [ ] Create domain-only module structure.
|
||||||
|
- [ ] Define availability domain contracts and abstractions.
|
||||||
|
- [ ] Publish ownership boundaries with service and DAL.
|
||||||
|
|
||||||
|
## Guardrails
|
||||||
|
- [ ] No runtime wiring changes.
|
||||||
|
- [ ] No provider/repository implementation.
|
||||||
|
- [ ] No BFF transport concerns.
|
||||||
|
|
||||||
|
## Handoff
|
||||||
|
- [ ] Service orchestration refactor plan documented.
|
||||||
|
- [ ] DAL boundary alignment plan documented.
|
||||||
Loading…
Reference in New Issue
Block a user