-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponent_map.yaml
More file actions
60 lines (53 loc) · 1.91 KB
/
component_map.yaml
File metadata and controls
60 lines (53 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
core_models:
Story:
module: "apprentice.models.story"
dependencies: ["pydantic", "typing", "datetime"]
purpose: "Multi-step narrative representation with metadata"
StoryStep:
module: "apprentice.models.story_step"
dependencies: ["pydantic", "TrainingExample"]
purpose: "Individual step within story journey"
collection_layer:
StoryCollector:
module: "apprentice.collectors.story_collector"
dependencies: ["Story", "StoryStep", "Chronicler"]
purpose: "Aggregate and process story data from Chronicler"
interfaces:
- collect_story_events()
- validate_story_consistency()
- emit_training_examples()
evaluation_layer:
JourneyEvaluator:
module: "apprentice.evaluators.journey_evaluator"
dependencies: ["Story", "metrics"]
purpose: "Analyze journey patterns and efficiency"
interfaces:
- evaluate_journey_completion()
- measure_step_efficiency()
- detect_backtracking()
- score_consistency()
orchestration:
EnhancedPhaseManager:
module: "apprentice.orchestration.phase_manager"
dependencies: ["existing PhaseManager", "JourneyEvaluator"]
purpose: "Per-journey-type phase transition tracking"
extension_points:
- journey_type_registration()
- phase_transition_callbacks()
- journey_specific_metrics()
configuration:
StoryLearningConfig:
module: "apprentice.config.story_learning"
dependencies: ["pydantic", "base config"]
purpose: "Story learning feature configuration"
fields:
- story_learning_enabled: bool = False
- max_story_length: int = 50
- story_retention_days: int = 30
integration_points:
existing_atomic_router:
modification: "none - preserved as-is"
integration: "parallel story collection when enabled"
training_orchestrator:
modification: "extended to handle Story objects"
backward_compatibility: "TrainingExample processing unchanged"