kairos-chain 3.42.1 → 3.42.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45fd1079aa951da3ac40d0dcd9763e02c2a15413753d5452dab4fc07e928a3cb
|
|
4
|
+
data.tar.gz: 93e3969307c08b26782c81804c9b5b10c475407e4770962a04ec29ab227a7951
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e0d95027c4457cb89a1dee063b3637dc568fce57735e2be211119ace92d684b42451b03b176887202bc2eb797d71cb49af9e3ca49f0e0e9e00689c88ff74c177
|
|
7
|
+
data.tar.gz: fd1ac48f63e671ce7df974bab3efd35e2f3af8b626aeba655f56d3bffa933903d269f3d5775ae877203f9ef3050c66c5a3d5cbf69811ec113b9f5235b35d6574
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,29 @@ All notable changes to the `kairos-chain` gem will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
This project follows [Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [3.42.2] - 2026-07-14
|
|
8
|
+
|
|
9
|
+
### Knowledge — loop_engineering_patterns §B: Model/Effort budget allocation
|
|
10
|
+
|
|
11
|
+
Extended the `loop_engineering_patterns` L1 entry (0.3 → 0.4) with a §B
|
|
12
|
+
design-craft note distilled from Anthropic's *Model and Effort in Claude Code*
|
|
13
|
+
post:
|
|
14
|
+
|
|
15
|
+
- Model (intelligence ceiling) and effort (per-request thoroughness) are
|
|
16
|
+
distinct levers; raise model when logic/knowledge is the wall, raise effort
|
|
17
|
+
when the loop skips steps.
|
|
18
|
+
- Because a loop compounds turns, uniform high effort multiplies latency —
|
|
19
|
+
concentrate high effort on the verify/judgment/decision gates, keep mechanical
|
|
20
|
+
dispatch turns low.
|
|
21
|
+
- The lever is the *orchestrator's*; a worker in a separate process (hermes body
|
|
22
|
+
subprocess, `agent`-skillset step) carries its own config and is unaffected.
|
|
23
|
+
- KairosChain delta: the non-bypassable gates (Prop 10 consent/audit floor,
|
|
24
|
+
INV-5 layer guard, verdict track) are where effort must not be cut — a stop
|
|
25
|
+
there is an irreversible Kairos moment (Prop 5), not a throughput step.
|
|
26
|
+
|
|
27
|
+
Added the `effort-allocation` tag and a "high/low effort for a long run?"
|
|
28
|
+
entry-point line. No code or behavior change.
|
|
29
|
+
|
|
7
30
|
## [3.42.1] - 2026-07-14
|
|
8
31
|
|
|
9
32
|
### Fixed — SectionWriter auto-chunk completeness & duplicate tail
|
data/lib/kairos_mcp/version.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: loop_engineering_patterns
|
|
3
3
|
description: Use before designing or classifying an agent loop in KairosChain — to pick a loop type, apply loop-design craft, and place each loop at the right layer under the Prop 10 floor. Claude Code's four loop types + design principles, extended with the governance constraint Anthropic omits.
|
|
4
|
-
version: "0.
|
|
5
|
-
tags: [loops, agent, autonomy, taxonomy, layer-placement, provenance]
|
|
4
|
+
version: "0.4"
|
|
5
|
+
tags: [loops, agent, autonomy, taxonomy, layer-placement, provenance, effort-allocation]
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Loop Engineering Patterns
|
|
@@ -14,6 +14,7 @@ Open *before* designing or classifying an agent loop — not a runtime tool:
|
|
|
14
14
|
- New agent loop / autonomous cycle → pick a §A type, apply §B craft, then place it via §C.
|
|
15
15
|
- "Which layer owns this loop?" (harness vs gem/SkillSet, plus the cross-cutting L0 governance floor) → §C table + the L0 note below it.
|
|
16
16
|
- Strengthening the `agent` OODA loop (self-verification, semantic stop) → §B + §C evaluator/verifier notes.
|
|
17
|
+
- "High/low effort for a long run?" → §B budget-allocation note (concentrate effort on §C's non-bypassable gates).
|
|
17
18
|
- Explaining why KairosChain's autonomous mode keeps human checkpoints → §C Prop 10 floor.
|
|
18
19
|
- Not for: skill lifecycle/maturation → [[agent_skill_evolution_guide]]; general layer rules → [[layer_placement_guide]].
|
|
19
20
|
|
|
@@ -29,6 +30,8 @@ Micro (small) and macro (broad) loops compose; match loop complexity to problem
|
|
|
29
30
|
## B. Design craft (universal — adopt as-is)
|
|
30
31
|
Output quality tracks the surrounding harness, not the model alone. Keep the codebase clean so the loop follows existing patterns. **Encode verification as a skill with quantitative checks** so the loop measures its own work. Keep docs accessible/current. **Use a second, independent agent for review** (fresh context, separate session/model). Set explicit success/stop criteria and max-turn caps to bound cost; script deterministic steps instead of re-reasoning them; monitor token spend.
|
|
31
32
|
|
|
33
|
+
**Allocate reasoning budget by phase, not uniformly.** Model and effort are distinct levers ([Model and Effort in Claude Code](https://claude.com/blog/claude-model-and-effort-level-in-claude-code), Anthropic, 2026): model sets the intelligence ceiling — raise it when logic or knowledge is the wall; effort sets per-request thoroughness (files read, tests run, verification passes) — raise it when the loop skips steps, not when it lacks intelligence. Because a loop compounds turns, uniform high effort multiplies latency across every cycle: concentrate high effort on the verify / judgment / decision gates and keep mechanical dispatch turns low. Note this is the *orchestrator's* lever — it governs how carefully the loop monitors, verifies, and decides; it does not raise the quality of a worker running in a separate process (e.g. a hermes body subprocess or an `agent`-skillset step), which carries its own model/effort config. In KairosChain the non-bypassable gates — the Prop 10 consent/audit floor, the INV-5 layer guard, the verdict track — are exactly where effort must not be cut, since a stop there is an irreversible Kairos moment (§C, Prop 5), not a throughput step.
|
|
34
|
+
|
|
32
35
|
## C. KairosChain reading (layer placement + the floor Anthropic omits)
|
|
33
36
|
The four types are harness-framed (`/goal`, `/loop`, `/schedule`, `/usage`, auto mode are Claude Code mechanisms). KairosChain already implements most of the substance across layers — so the work is mostly *placement*, not adoption; one item is still design-stage (flagged in the table):
|
|
34
37
|
|