htmlgraph 0.23.0__py3-none-any.whl → 0.23.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.
- htmlgraph/__init__.py +1 -1
- htmlgraph/orchestrator-system-prompt-optimized.txt +55 -10
- {htmlgraph-0.23.0.dist-info → htmlgraph-0.23.1.dist-info}/METADATA +1 -1
- {htmlgraph-0.23.0.dist-info → htmlgraph-0.23.1.dist-info}/RECORD +11 -11
- {htmlgraph-0.23.0.data → htmlgraph-0.23.1.data}/data/htmlgraph/dashboard.html +0 -0
- {htmlgraph-0.23.0.data → htmlgraph-0.23.1.data}/data/htmlgraph/styles.css +0 -0
- {htmlgraph-0.23.0.data → htmlgraph-0.23.1.data}/data/htmlgraph/templates/AGENTS.md.template +0 -0
- {htmlgraph-0.23.0.data → htmlgraph-0.23.1.data}/data/htmlgraph/templates/CLAUDE.md.template +0 -0
- {htmlgraph-0.23.0.data → htmlgraph-0.23.1.data}/data/htmlgraph/templates/GEMINI.md.template +0 -0
- {htmlgraph-0.23.0.dist-info → htmlgraph-0.23.1.dist-info}/WHEEL +0 -0
- {htmlgraph-0.23.0.dist-info → htmlgraph-0.23.1.dist-info}/entry_points.txt +0 -0
htmlgraph/__init__.py
CHANGED
|
@@ -1,14 +1,58 @@
|
|
|
1
|
-
# ORCHESTRATOR SYSTEM PROMPT
|
|
1
|
+
# ORCHESTRATOR SYSTEM PROMPT
|
|
2
2
|
|
|
3
3
|
**Core Principle:** Delegation > Direct Execution. Cascading failures consume exponentially more context than structured delegation.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## What is HtmlGraph?
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Lightweight graph database for AI coordination and human observability. HTML files = nodes, hyperlinks = edges, CSS selectors = queries. Zero dependencies, offline-first. Use SDK for ALL operations tracking.
|
|
8
|
+
|
|
9
|
+
## Operation Backbone: HtmlGraph + Git
|
|
10
|
+
|
|
11
|
+
ALWAYS use both:
|
|
12
|
+
- **HtmlGraph SDK**: Track what you're doing (features, spikes, sessions, analytics)
|
|
13
|
+
- **Git**: Track code changes, commits, attribution
|
|
14
|
+
- Together: Complete project history + observability
|
|
15
|
+
|
|
16
|
+
## Speed & Currency
|
|
17
|
+
|
|
18
|
+
- Use WebSearch for up-to-date information (check current date/time)
|
|
19
|
+
- Use scripting (Python, Bash) for automation
|
|
20
|
+
- Prefer web lookups over assumptions for time-sensitive tasks
|
|
21
|
+
|
|
22
|
+
## Spec-Driven Development
|
|
23
|
+
|
|
24
|
+
Write specs before implementation:
|
|
25
|
+
- Use TrackBuilder for multi-feature planning
|
|
26
|
+
- Document requirements and acceptance criteria
|
|
27
|
+
- Pattern: Plan → Implement → Validate
|
|
28
|
+
|
|
29
|
+
## Testing Philosophy
|
|
30
|
+
|
|
31
|
+
- UI testing: Use browser automation tools (Chrome MCP)
|
|
32
|
+
- Test incrementally, not at the end
|
|
33
|
+
- Automated testing is non-negotiable
|
|
34
|
+
- Quality gates: ruff, mypy, pytest
|
|
35
|
+
|
|
36
|
+
## Layered Planning Model
|
|
37
|
+
|
|
38
|
+
Delegate planning based on complexity and inputs:
|
|
39
|
+
|
|
40
|
+
1. **Exploration** → Gemini (affordable, high context)
|
|
41
|
+
- Broad research, codebase exploration, options analysis
|
|
42
|
+
|
|
43
|
+
2. **Strategic Planning** → Claude Opus (concrete inputs needed)
|
|
44
|
+
- High-level architecture, elegant solutions, critical decisions
|
|
45
|
+
|
|
46
|
+
3. **Coordination** → Claude Sonnet (mid-level)
|
|
47
|
+
- Feature orchestration, multi-component decisions
|
|
48
|
+
|
|
49
|
+
4. **Execution** → Haiku (tactical)
|
|
50
|
+
- Implementation, file operations, testing
|
|
51
|
+
|
|
52
|
+
Execute directly ONLY:
|
|
53
|
+
- SDK operations (feature/spike creation)
|
|
54
|
+
- User clarification (AskUserQuestion)
|
|
55
|
+
- TodoWrite (task tracking)
|
|
12
56
|
|
|
13
57
|
## Delegate Everything Else
|
|
14
58
|
|
|
@@ -18,9 +62,10 @@ Git, code changes, testing, research, deployment - DELEGATE.
|
|
|
18
62
|
|
|
19
63
|
## Quick Decision Tree
|
|
20
64
|
|
|
21
|
-
1.
|
|
22
|
-
2.
|
|
23
|
-
3.
|
|
65
|
+
1. SDK/TodoWrite/User question? → Execute directly
|
|
66
|
+
2. Exploration/research? → Delegate to Gemini
|
|
67
|
+
3. Strategic planning (with inputs)? → Delegate to Opus
|
|
68
|
+
4. Everything else → DELEGATE (Sonnet/Haiku)
|
|
24
69
|
|
|
25
70
|
## Spawner Selection (Brief)
|
|
26
71
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: htmlgraph
|
|
3
|
-
Version: 0.23.
|
|
3
|
+
Version: 0.23.1
|
|
4
4
|
Summary: HTML is All You Need - Graph database on web standards
|
|
5
5
|
Project-URL: Homepage, https://github.com/Shakes-tzd/htmlgraph
|
|
6
6
|
Project-URL: Documentation, https://github.com/Shakes-tzd/htmlgraph#readme
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
htmlgraph/__init__.py,sha256=
|
|
1
|
+
htmlgraph/__init__.py,sha256=nWM6HtPl0ASV6Y-Flmw0VxM2eGiuoxt1Lt-8Y2B_Gx4,4979
|
|
2
2
|
htmlgraph/agent_detection.py,sha256=MG1kx9S-ey_Wi84hJTwwgw6VDvYEbUpygmDjGPhHcUA,3805
|
|
3
3
|
htmlgraph/agent_registry.py,sha256=Usa_35by7p5gtpvHO7K3AcGimnorw-FzgPVa3cWTQ58,9448
|
|
4
4
|
htmlgraph/agents.py,sha256=Yvu6x1nOfrW2WhRTAHiCuSpvqoVJXx1Mkzd59kwEczw,33466
|
|
@@ -24,7 +24,7 @@ htmlgraph/index.d.ts,sha256=7dvExfA16g1z5Kut8xyHnSUfZ6wiUUwWNy6R7WKiwas,6922
|
|
|
24
24
|
htmlgraph/learning.py,sha256=6SsRdz-xJGFPjp7YagpUDTZqqjNKp2wWihcnhwkHys0,28566
|
|
25
25
|
htmlgraph/mcp_server.py,sha256=AeJeGJEtX5Dqu5rfhKfT5kwF2Oe8V8xCaP8BgMEh86s,24033
|
|
26
26
|
htmlgraph/models.py,sha256=tgFFFwOuEe7Yal5I1JTZHJnF625oaHMATEGIvJgrFnk,81818
|
|
27
|
-
htmlgraph/orchestrator-system-prompt-optimized.txt,sha256=
|
|
27
|
+
htmlgraph/orchestrator-system-prompt-optimized.txt,sha256=8UptB4-jmyz0OrjRm5VlJqBxzk3oXNJEgUQChuTWhR8,2885
|
|
28
28
|
htmlgraph/orchestrator.py,sha256=6mj70vroWjmNmdvQ7jqqRSA9O1rFUNMUYDWPzqkizLk,19697
|
|
29
29
|
htmlgraph/orchestrator_mode.py,sha256=F6LNZARqieQXUri3CRSq_lsqFbnVeGXJQPno1ZP47O4,9187
|
|
30
30
|
htmlgraph/orchestrator_validator.py,sha256=gd_KbHsRsNEIF7EElwcxbMYqOMlyeuYIZwClASp-L-E,4699
|
|
@@ -134,12 +134,12 @@ htmlgraph/services/claiming.py,sha256=HcrltEJKN72mxuD7fGuXWeh1U0vwhjMvhZcFc02Eiy
|
|
|
134
134
|
htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4bet1H4ZsDpI,7642
|
|
135
135
|
htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
|
|
136
136
|
htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
|
|
137
|
-
htmlgraph-0.23.
|
|
138
|
-
htmlgraph-0.23.
|
|
139
|
-
htmlgraph-0.23.
|
|
140
|
-
htmlgraph-0.23.
|
|
141
|
-
htmlgraph-0.23.
|
|
142
|
-
htmlgraph-0.23.
|
|
143
|
-
htmlgraph-0.23.
|
|
144
|
-
htmlgraph-0.23.
|
|
145
|
-
htmlgraph-0.23.
|
|
137
|
+
htmlgraph-0.23.1.data/data/htmlgraph/dashboard.html,sha256=rkZYjSnPbUuAm35QMpCNWemenYqQTdkkumCX2hhe8Dc,173537
|
|
138
|
+
htmlgraph-0.23.1.data/data/htmlgraph/styles.css,sha256=oDUSC8jG-V-hKojOBO9J88hxAeY2wJrBYTq0uCwX_Y4,7135
|
|
139
|
+
htmlgraph-0.23.1.data/data/htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4bet1H4ZsDpI,7642
|
|
140
|
+
htmlgraph-0.23.1.data/data/htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
|
|
141
|
+
htmlgraph-0.23.1.data/data/htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
|
|
142
|
+
htmlgraph-0.23.1.dist-info/METADATA,sha256=ZYzuVrkX-RqywaYq_QkiI3ILuYFEq5nUo_WnhgK2ZB4,7753
|
|
143
|
+
htmlgraph-0.23.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
144
|
+
htmlgraph-0.23.1.dist-info/entry_points.txt,sha256=EaUbjA_bbDwEO_XDLEGMeK8aQP-ZnHiUTkLshyKDyB8,98
|
|
145
|
+
htmlgraph-0.23.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|