buildlog 0.9.0__py3-none-any.whl → 0.10.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- buildlog/cli.py +304 -26
- buildlog/constants.py +160 -0
- buildlog/core/__init__.py +44 -0
- buildlog/core/operations.py +1170 -0
- buildlog/data/seeds/bragi.yaml +61 -0
- buildlog/mcp/__init__.py +51 -3
- buildlog/mcp/server.py +36 -0
- buildlog/mcp/tools.py +526 -12
- {buildlog-0.9.0.data → buildlog-0.10.1.data}/data/share/buildlog/post_gen.py +10 -5
- buildlog-0.10.1.data/data/share/buildlog/template/buildlog/.gitkeep +0 -0
- buildlog-0.10.1.data/data/share/buildlog/template/buildlog/assets/.gitkeep +0 -0
- {buildlog-0.9.0.dist-info → buildlog-0.10.1.dist-info}/METADATA +28 -26
- {buildlog-0.9.0.dist-info → buildlog-0.10.1.dist-info}/RECORD +23 -19
- {buildlog-0.9.0.data → buildlog-0.10.1.data}/data/share/buildlog/copier.yml +0 -0
- {buildlog-0.9.0.data/data/share/buildlog/template/buildlog → buildlog-0.10.1.data/data/share/buildlog/template/buildlog/.buildlog}/.gitkeep +0 -0
- {buildlog-0.9.0.data/data/share/buildlog/template/buildlog/assets → buildlog-0.10.1.data/data/share/buildlog/template/buildlog/.buildlog/seeds}/.gitkeep +0 -0
- {buildlog-0.9.0.data → buildlog-0.10.1.data}/data/share/buildlog/template/buildlog/2026-01-01-example.md +0 -0
- {buildlog-0.9.0.data → buildlog-0.10.1.data}/data/share/buildlog/template/buildlog/BUILDLOG_SYSTEM.md +0 -0
- {buildlog-0.9.0.data → buildlog-0.10.1.data}/data/share/buildlog/template/buildlog/_TEMPLATE.md +0 -0
- {buildlog-0.9.0.data → buildlog-0.10.1.data}/data/share/buildlog/template/buildlog/_TEMPLATE_QUICK.md +0 -0
- {buildlog-0.9.0.dist-info → buildlog-0.10.1.dist-info}/WHEEL +0 -0
- {buildlog-0.9.0.dist-info → buildlog-0.10.1.dist-info}/entry_points.txt +0 -0
- {buildlog-0.9.0.dist-info → buildlog-0.10.1.dist-info}/licenses/LICENSE +0 -0
buildlog/core/__init__.py
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
"""Core operations for buildlog skill management."""
|
|
2
2
|
|
|
3
3
|
from buildlog.core.operations import (
|
|
4
|
+
CommitResult,
|
|
5
|
+
CreateEntryResult,
|
|
4
6
|
DiffResult,
|
|
5
7
|
EndSessionResult,
|
|
6
8
|
GauntletAcceptRiskResult,
|
|
9
|
+
GauntletGenerateResult,
|
|
10
|
+
GauntletLoopConfigResult,
|
|
7
11
|
GauntletLoopResult,
|
|
12
|
+
GauntletPromptResult,
|
|
13
|
+
GauntletRulesResult,
|
|
14
|
+
InitResult,
|
|
8
15
|
LearnFromReviewResult,
|
|
16
|
+
ListEntriesResult,
|
|
9
17
|
LogMistakeResult,
|
|
10
18
|
LogRewardResult,
|
|
11
19
|
Mistake,
|
|
20
|
+
OverviewResult,
|
|
12
21
|
PromoteResult,
|
|
13
22
|
RejectResult,
|
|
14
23
|
ReviewIssue,
|
|
@@ -19,22 +28,33 @@ from buildlog.core.operations import (
|
|
|
19
28
|
SessionMetrics,
|
|
20
29
|
StartSessionResult,
|
|
21
30
|
StatusResult,
|
|
31
|
+
UpdateResult,
|
|
32
|
+
commit,
|
|
33
|
+
create_entry,
|
|
22
34
|
diff,
|
|
23
35
|
end_session,
|
|
24
36
|
find_skills_by_ids,
|
|
25
37
|
gauntlet_accept_risk,
|
|
38
|
+
gauntlet_generate,
|
|
39
|
+
gauntlet_loop_config,
|
|
26
40
|
gauntlet_process_issues,
|
|
41
|
+
generate_gauntlet_prompt,
|
|
27
42
|
get_bandit_status,
|
|
28
43
|
get_experiment_report,
|
|
44
|
+
get_gauntlet_rules,
|
|
45
|
+
get_overview,
|
|
29
46
|
get_rewards,
|
|
30
47
|
get_session_metrics,
|
|
48
|
+
init_buildlog,
|
|
31
49
|
learn_from_review,
|
|
50
|
+
list_entries,
|
|
32
51
|
log_mistake,
|
|
33
52
|
log_reward,
|
|
34
53
|
promote,
|
|
35
54
|
reject,
|
|
36
55
|
start_session,
|
|
37
56
|
status,
|
|
57
|
+
update_buildlog,
|
|
38
58
|
)
|
|
39
59
|
|
|
40
60
|
__all__ = [
|
|
@@ -58,6 +78,11 @@ __all__ = [
|
|
|
58
78
|
# Gauntlet loop
|
|
59
79
|
"GauntletLoopResult",
|
|
60
80
|
"GauntletAcceptRiskResult",
|
|
81
|
+
# Entry & overview
|
|
82
|
+
"GauntletRulesResult",
|
|
83
|
+
"OverviewResult",
|
|
84
|
+
"CreateEntryResult",
|
|
85
|
+
"ListEntriesResult",
|
|
61
86
|
"status",
|
|
62
87
|
"promote",
|
|
63
88
|
"reject",
|
|
@@ -76,4 +101,23 @@ __all__ = [
|
|
|
76
101
|
# Gauntlet loop operations
|
|
77
102
|
"gauntlet_process_issues",
|
|
78
103
|
"gauntlet_accept_risk",
|
|
104
|
+
# Entry & overview operations
|
|
105
|
+
"get_gauntlet_rules",
|
|
106
|
+
"get_overview",
|
|
107
|
+
"create_entry",
|
|
108
|
+
"list_entries",
|
|
109
|
+
# P0: Gauntlet loop
|
|
110
|
+
"CommitResult",
|
|
111
|
+
"GauntletPromptResult",
|
|
112
|
+
"GauntletLoopConfigResult",
|
|
113
|
+
"commit",
|
|
114
|
+
"generate_gauntlet_prompt",
|
|
115
|
+
"gauntlet_loop_config",
|
|
116
|
+
# P2: Nice-to-have
|
|
117
|
+
"GauntletGenerateResult",
|
|
118
|
+
"InitResult",
|
|
119
|
+
"UpdateResult",
|
|
120
|
+
"gauntlet_generate",
|
|
121
|
+
"init_buildlog",
|
|
122
|
+
"update_buildlog",
|
|
79
123
|
]
|