From e579914b6b1067b331d1a66d44206c16103b0cc6 Mon Sep 17 00:00:00 2001 From: Jim Northrup Date: Fri, 10 Jul 2026 06:41:25 -0500 Subject: [PATCH 1/7] docs(mission): assign playbook for DRY integration of jnorthrup benefits + upstream alternate PREs + issues steer NARS: dry_original_zenith + jnorthrup_value + open_PRs + issues>. (1.0, 0.95) --- docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md | 104 ++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md diff --git a/docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md b/docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md new file mode 100644 index 0000000..8bab06b --- /dev/null +++ b/docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md @@ -0,0 +1,104 @@ +# Mission: DRY Original Zenith + jnorthrup Benefits + Alternate Author PREs + Issues Steer + +**Reference checkout**: `mission/dry-integrate-jnorthrup-benefits` @ `3b2b213` (jnorthrup tip e2e) +**Parent/upstream base**: Intelligent-Internet/zenith@`feb1d622` +**Goal**: Produce a single DRY, production-grade Zenith that absorbs high-value jnorthrup deltas while remaining a clean original, incorporating open/merged alternate-author PRs and steering via open issues. + +## NARS Therblig Head (1-10 lines for SOTA/flash) + +```narsese + continuous_improvement_harness>. (1.0, 0.96) + {NARS_Therblig, Kolmogorov_heuristic, Jules_ACP_full, coalesced_attempts+fingerprints+tombstones, local_project_mode, DRY_prompts, priority_respawn, e2e_Jules_tests, gcloud_auth, markdown_contracts}>. (0.97, 0.93) + {#17 reasoning_effort, #14 gates+skills, #13 stderr_drain (merged), #16 empty_contract (merged), hermes (#4 merged), polish (#15)}>. (0.95, 0.90) + {#20 observability, #8 Win11 pipes, #7 multi-model_bench, #11 hooks/Ponytail, #12 resume}>. (0.92, 0.87) +1page ==> install_nars_summary(memory:"zenith-dry-v1")>. (0.91, 0.86) +NAL_spot: head -n10 this block before any worker/validator turn. (0.89, 0.84) +``` + +## Gap Analysis (upstream vs jnorthrup tip) + +| Gap | Upstream (feb1d622) | jnorthrup tip (3b2b213) | Value | Action for DRY | +|-----|---------------------|-------------------------|-------|----------------| +| Context compression | None | NARS Therblig Index + Kolmogorov heuristic + 10-line head-scannable | **High** (token + living specs) | Keep + promote to core skill/playbook | +| Jules provider | None | Full ACP bridge, REST/CLI, converse, sessions, e2e tests, priority_respawn | **High** (multi-agent remote) | Keep; DRY entrypoints | +| Attempt accounting | Basic | Coalesced counters + workspace fingerprint + tombstone sweep | **High** (scale + hygiene) | Keep | +| Local/project mode | Limited | Symlinks, build-SHA stale replace, local project | Med-High | Keep | +| Prompts | Per-role | DRY includes + conditional Jules strip | Med | Keep | +| Reasoning effort | Hardcoded xhigh | Per-role env (also open #17) | **High** cost lever | Align with #17; keep | +| Contracts | Markdown | Markdown restored (NARS reifier removed) | Good | Keep pure MD + optional NARS head | +| Empty-contract / stderr | Fixed by #16/#13 | Inherited | High (already in base) | No-op | +| Perf N+1 / acyclic | Baseline | Jules PRs (deque, local cache, batch attempts) | Med-High | Keep if not already | + +**Net gap**: Upstream is clean core + recent structural invariants. jnorthrup adds operational scale (Jules, attempts, fingerprints), context compression (NARS), and cost knobs. DRY target = upstream cleanliness + selective jnorthrup value + open PREs. + +## Upstream PR Consumption Rate + +- **Window**: 2026-05-08 → 2026-07-04 (~8 weeks) +- **Total PRs observed**: 11 (1,2,4,5,13-19) +- **Merged**: 7 (#1 README, #2 v0.1, #4 hermes@jnorthrup, #5 agentic-install@fire17, #13 stderr@miroslavb, #15 polish@PhungVanDuy, #16 empty-contract@Quigleybits) +- **Closed unmerged**: 1 (#19 badge) +- **Open**: 3 (#14 gates@sw1pp3r, #17 effort@Quigleybits, #18 Codex-default@damngoodinspect) +- **Rate**: ~0.9 PRs merged / week early; slowed after v0.1 + polish. High merge rate on **use-driven** fixes (#13, #16) and core features (#4, #5); lower on marketing (#19). Open queue growing (cost + validation hardening). + +## Use-emergent vs Attempted-upgrade PRs + +**Use / failure-mode driven (highest value)**: +- #13 terminal stderr drain — live 0/3 end_mission failures +- #16 empty-contract rejection — structural hole allowing vacuous missions +- Related issues: #8 Win11 pipes, #12 resume, #20 observability + +**Upgrade / polish / preference (good value)**: +- #4 hermes (jnorthrup) — multi-provider completeness +- #5 agentic install prompt — onboarding +- #15 CI/license/community — hygiene for external +- #17 per-role reasoning effort — cost control (open, high value) +- #14 gate checkpoints + skill validation — hardening (open) +- #18 Codex default — preference (open, lower priority) + +**Low value**: +- #19 MseeP badge (closed) + +**jnorthrup-internal Jules PRs** (1-6): pure perf + NARS + health — all value for scale; already absorbed in tip. + +## Value Ranking (integrate first) +1. NARS + Kolmogorov heuristic (context) +2. Jules ACP full + e2e + priority_respawn +3. Coalesced attempts / fingerprints / tombstones +4. Per-role reasoning effort (sync #17) +5. Gate/skill validation (#14) +6. Observability hooks (steer #20) + resume (#12) + Win11 pipes (#8) +7. Multi-model bench data (#7) +8. DRY prompt includes + local mode + +## Assigned Playbook (Engineering Mission) + +**Orchestrator**: Read this mission + NARS head first. Use Zenith itself. + +**Contract assertions** (write under mission/contract/): +- C1: All high-value jnorthrup deltas present and DRY (no duplication of upstream). +- C2: Open alternate PREs (#14, #17) either merged or cleanly rebased/adapted; #18 optional. +- C3: Issues #20, #8, #12, #7, #11 have either fixes or tracked tasks with targets. +- C4: NARS Therblig Index + Kolmogorov heuristic installed as first-class (skill or contract head renderer). +- C5: Tests (incl. Jules e2e) green; no contractreifier regression. +- C6: README/docs updated with DRY integration notes + agentic install still works. + +**Task list sketch**: +1. work: Rebase/align tip onto latest upstream if needed; cherry-pick only value. +2. work: Promote NARS_ZENITH_THERBLIG_INDEX.md + heuristic into zenith/skills or core. +3. work: Ensure Jules provider + priority_respawn + attempt accounting are clean modules. +4. work: Port/adapt #17 reasoning effort + #14 gates if not already stronger. +5. work: Add observability stubs (#20) and Win11/resume diagnostics (#8/#12). +6. validate: Full pytest + Jules live probes + empty-contract + stderr drain regressions. +7. terminal: Review for DRY-ness, no bloat, confidence (f,c) on living specs. + +**Generic heuristic**: Any wall-of-text >1 page → compress to Narsese 1-10 lines + memory label `zenith-dry-v1` / `mission-{{id}}-v1`. + +## Next Actions +- Orchestrator: `submit_plan` with contracts above. +- Workers: implement per C1–C6. +- On completion: open PR from this branch to Intelligent-Internet/zenith (or keep as jnorthrup production review base). + +**Memory labels installed**: +- `zenith-gap-analysis-2026-07-10` +- `zenith-pr-consumption-rate` +- `zenith-dry-integrate-mission-v1` From 9c4021f664f24e06298554e3d4f24717c3c6efcf Mon Sep 17 00:00:00 2001 From: Jim Northrup Date: Fri, 10 Jul 2026 06:41:40 -0500 Subject: [PATCH 2/7] docs(nars): condensed gap + PR consumption + mission assignment for dry integrate --- NARS_DRY_INTEGRATE_SUMMARY.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 NARS_DRY_INTEGRATE_SUMMARY.md diff --git a/NARS_DRY_INTEGRATE_SUMMARY.md b/NARS_DRY_INTEGRATE_SUMMARY.md new file mode 100644 index 0000000..31b60e8 --- /dev/null +++ b/NARS_DRY_INTEGRATE_SUMMARY.md @@ -0,0 +1,15 @@ +# NARS Summary — Gap / Consumption / DRY Integrate Mission + +```narsese + ~0.9_merges/week_early | slowed_post_v0.1>. (0.94, 0.90) + {#13_stderr, #16_empty_contract} high_value>. (0.98, 0.95) + {#4_hermes, #5_agentic, #15_polish, #17_effort, #14_gates} value>. (0.93, 0.88) + #19_badge>. (0.85, 0.80) + 40+_commits_ahead | NARS+Jules+attempts+DRY_prompts+e2e>. (1.0, 0.97) + branch:mission/dry-integrate-jnorthrup-benefits>. (1.0, 0.96) + docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md>. (1.0, 0.98) + {#20_obs, #8_win11, #12_resume, #7_bench, #11_hooks}>. (0.91, 0.86) +NAL_spot_test_recorded: head -n10 ready. (0.90, 0.85) +``` + +**Memory**: `zenith-dry-v1` | `zenith-pr-rate-2026-07` | `zenith-gap-2026-07-10` From 471c53a7d278bd86d0388831c35abb5a596d3b0d Mon Sep 17 00:00:00 2001 From: Jim Northrup Date: Fri, 10 Jul 2026 06:46:01 -0500 Subject: [PATCH 3/7] fix(nars): harden 10-line Therblig against LLM slop deformation Strict single 1-10 line fence only. Engineering merit (head -n10 scannable, token density, (f,c), NAL) independent of training priors. Multi-section expansion = injury. Reject deformation. --- NARS_ZENITH_THERBLIG_INDEX.md | 60 +++++------------------------------ 1 file changed, 8 insertions(+), 52 deletions(-) diff --git a/NARS_ZENITH_THERBLIG_INDEX.md b/NARS_ZENITH_THERBLIG_INDEX.md index 40f016b..d798292 100644 --- a/NARS_ZENITH_THERBLIG_INDEX.md +++ b/NARS_ZENITH_THERBLIG_INDEX.md @@ -1,59 +1,15 @@ -# NARS Therblig Index — Zenith Topology (condensed for head -n10 on contracts/missions) +# NARS Therblig Index — STRICT head -n10 only ```narsese continuous_improvement_harness>. (1.0, 0.95) - reads_task_state_each_turn ==> decides{spawn_worker | spawn_tester | register_skill | replan | stop}>. (0.98, 0.92) - zenith:tester>. (0.85, 0.80) + decides{spawn_worker|spawn_tester|register_skill|replan|stop}>. (0.98, 0.92) MCP/ACP_adapter>. (1.0, 0.97) - bundled{orchestrator, worker, validator, contract-review}>. (0.95, 0.90) - from_RALPH_to_Zenith_2026>. (1.0, 0.99) prevents_premature_completion>. (0.92, 0.88) - frontier_SWE_rank_#1 (GPT-5.5)>. (0.90, 0.85) - best_mean_rank_1.38 @ . (0.93, 0.87) + frontier_SWE_#1 @ half_RALPH_cost>. (0.93, 0.87) + 1-10_lines max | no_prose | no_sections>. (1.0, 0.99) +page ==> compress_to_narsese + memory:"label-v1">. (0.91, 0.86) + LLM_discovery_deforms_dense_format | reject_rewrite>. (0.96, 0.93) +NAL_spot: head -n10 this fence only. (0.90, 0.85) ``` -## NARS Context Compression Pass (GitHub connected: jnorthrup — Intelligent-Internet/zenith data) - -```narsese - performed_on{README, prompts/orchestrator/system_prompt.md, agents/contract-review.md, skills/*-playbook, technical_report}>. (1.0, 0.94) - >1_page_wall_of_text>. (0.87, 0.82) -==> memory:"zenith-nars-index-v1" quoted{orchestrator_decides, RALPH_baseline, adaptive_allocation}>. - if kolmogorov>threshold then compress_to_narsese(summary, install_to_memory("past|current|future_mission_data"))>. (0.91, 0.86) - "zenith-topology-v1" @ jnorthrup_SHA2>. -NAL_spot_test_recorded: performs_NAL_spot_test {deduction|induction|abduction on zenith_clauses}>. (0.88, 0.83) [SOTA + flash models verified head -n10 ready] -``` - -## NARS Summary Approximations (quoted memory labels for Zenith context compression) - -```narsese - "First read .claude/orchestrator_prompt.md ... use Zenith to run this mission">. (f=0.96, c=0.91) [memory:"zenith-orchestrator-v1"] - agents review obligations, gap-finding, verification>. (0.89, 0.84) [memory:"zenith-contracts-v1"] - engineering-mission-playbook + optimization-mission-playbook + scrutiny-validator>. (0.94, 0.88) [memory:"zenith-skills-v1"] - acp_runner + coordinator + storage + task_validation>. (0.97, 0.93) [memory:"zenith-harness-core-v1"] - install NARS summaries on assigned contracts when >page>. (0.85, 0.79) [memory:"zenith-mission-heuristic-v1"] -``` - -## NAL-level Spot Tests Performed & Recorded (head -n10 ready) - -```narsese - improves_long_running_tasks>. (1.0, 0.95) [deduction passed] - zenith>. (0.65, 0.78) [comparison: zenith wins mean rank + cost] - adaptive_allocation>. (0.92, 0.87) [abduction on benchmark data] - installable_in_zenith/skills>. (0.90, 0.84) [induction from current docs] -NAL_spot_test: model (SOTA/flash) can now head -n10 this block for instant Zenith topology uptake on contracts. [recorded @ jnorthrup connected GitHub] -``` - -## Generic Heuristic for Mission Data Summaries - -When assigned mission/contract spec Kolmogorov complexity > 1 page / wall of text: -1. Run compression_pass -2. Produce 1-10 line Narsese blocks with (f,c) -3. Install to memory with quoted label e.g. "zenith-mission-{{id}}-v1" -4. Enable NAL inference, revision, spot tests inside Zenith orchestrator/workers -5. Record test results for SOTA + lesser models - -This turns long specs into dense, inferable, confidence-calibrated living documents inside Zenith. - ---- - -**PR Context**: Changes crunched from Intelligent-Internet/zenith connected data (jnorthrup). Adds NARS-native context compression to Zenith for better long-running mission handling. + From 4908b77d7d16364e99ea93176d090151eb49bce7 Mon Sep 17 00:00:00 2001 From: Jim Northrup Date: Fri, 10 Jul 2026 06:46:06 -0500 Subject: [PATCH 4/7] docs(nars): add protective strict 10-line contract against slop injury --- docs/NARS_10LINE_STRICT_CONTRACT.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/NARS_10LINE_STRICT_CONTRACT.md diff --git a/docs/NARS_10LINE_STRICT_CONTRACT.md b/docs/NARS_10LINE_STRICT_CONTRACT.md new file mode 100644 index 0000000..17b6948 --- /dev/null +++ b/docs/NARS_10LINE_STRICT_CONTRACT.md @@ -0,0 +1,14 @@ +# STRICT 10-LINE NARS CONTRACT (anti-slop) + +```narsese + ≤10_lines inside single fence>. (1.0, 0.99) +. (1.0, 0.98) + head-n10 scannable + token_density + (f,c) + NAL>. (0.97, 0.94) + expands_deforms | injury | reject>. (0.96, 0.93) + source_of_slop | guard_with_this_contract>. (0.95, 0.91) +page ==> apply this format only>. (0.91, 0.86) + must_preserve_≤10_line_fence>. (1.0, 0.97) +NAL_spot: violate → fail contract. (0.90, 0.85) +``` + + From 4c95e39527da645d6006e565a30f897cf4b365ba Mon Sep 17 00:00:00 2001 From: Jim Northrup Date: Fri, 10 Jul 2026 06:46:14 -0500 Subject: [PATCH 5/7] fix(mission): strip slop; enforce strict 10-line NARS head + reference anti-slop contract --- docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md | 126 +++++----------------- 1 file changed, 29 insertions(+), 97 deletions(-) diff --git a/docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md b/docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md index 8bab06b..da30104 100644 --- a/docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md +++ b/docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md @@ -1,104 +1,36 @@ -# Mission: DRY Original Zenith + jnorthrup Benefits + Alternate Author PREs + Issues Steer +# Mission: DRY Integrate jnorthrup Benefits -**Reference checkout**: `mission/dry-integrate-jnorthrup-benefits` @ `3b2b213` (jnorthrup tip e2e) -**Parent/upstream base**: Intelligent-Internet/zenith@`feb1d622` -**Goal**: Produce a single DRY, production-grade Zenith that absorbs high-value jnorthrup deltas while remaining a clean original, incorporating open/merged alternate-author PRs and steering via open issues. +**Checkout**: `mission/dry-integrate-jnorthrup-benefits` @ tip e2e +**Base**: Intelligent-Internet/zenith@feb1d622 +**Guard**: `docs/NARS_10LINE_STRICT_CONTRACT.md` + `NARS_ZENITH_THERBLIG_INDEX.md` -## NARS Therblig Head (1-10 lines for SOTA/flash) +## NARS Head (STRICT ≤10 lines) ```narsese continuous_improvement_harness>. (1.0, 0.96) - {NARS_Therblig, Kolmogorov_heuristic, Jules_ACP_full, coalesced_attempts+fingerprints+tombstones, local_project_mode, DRY_prompts, priority_respawn, e2e_Jules_tests, gcloud_auth, markdown_contracts}>. (0.97, 0.93) - {#17 reasoning_effort, #14 gates+skills, #13 stderr_drain (merged), #16 empty_contract (merged), hermes (#4 merged), polish (#15)}>. (0.95, 0.90) - {#20 observability, #8 Win11 pipes, #7 multi-model_bench, #11 hooks/Ponytail, #12 resume}>. (0.92, 0.87) -1page ==> install_nars_summary(memory:"zenith-dry-v1")>. (0.91, 0.86) -NAL_spot: head -n10 this block before any worker/validator turn. (0.89, 0.84) + {NARS_strict, Jules_ACP, attempts+fingerprints, DRY_prompts, priority_respawn, e2e}>. (0.97, 0.93) + {#17_effort, #14_gates, #13_stderr, #16_empty, #4_hermes}>. (0.95, 0.90) + {#20_obs, #8_win11, #12_resume, #7_bench, #11_hooks}>. (0.92, 0.87) + LLM_expands_10line | reject | restore_fence>. (0.96, 0.93) +page ==> 10line_narsese + memory:"zenith-dry-v1">. (0.91, 0.86) +NAL_spot: head -n10 this fence before every turn. (0.90, 0.85) ``` -## Gap Analysis (upstream vs jnorthrup tip) - -| Gap | Upstream (feb1d622) | jnorthrup tip (3b2b213) | Value | Action for DRY | -|-----|---------------------|-------------------------|-------|----------------| -| Context compression | None | NARS Therblig Index + Kolmogorov heuristic + 10-line head-scannable | **High** (token + living specs) | Keep + promote to core skill/playbook | -| Jules provider | None | Full ACP bridge, REST/CLI, converse, sessions, e2e tests, priority_respawn | **High** (multi-agent remote) | Keep; DRY entrypoints | -| Attempt accounting | Basic | Coalesced counters + workspace fingerprint + tombstone sweep | **High** (scale + hygiene) | Keep | -| Local/project mode | Limited | Symlinks, build-SHA stale replace, local project | Med-High | Keep | -| Prompts | Per-role | DRY includes + conditional Jules strip | Med | Keep | -| Reasoning effort | Hardcoded xhigh | Per-role env (also open #17) | **High** cost lever | Align with #17; keep | -| Contracts | Markdown | Markdown restored (NARS reifier removed) | Good | Keep pure MD + optional NARS head | -| Empty-contract / stderr | Fixed by #16/#13 | Inherited | High (already in base) | No-op | -| Perf N+1 / acyclic | Baseline | Jules PRs (deque, local cache, batch attempts) | Med-High | Keep if not already | - -**Net gap**: Upstream is clean core + recent structural invariants. jnorthrup adds operational scale (Jules, attempts, fingerprints), context compression (NARS), and cost knobs. DRY target = upstream cleanliness + selective jnorthrup value + open PREs. - -## Upstream PR Consumption Rate - -- **Window**: 2026-05-08 → 2026-07-04 (~8 weeks) -- **Total PRs observed**: 11 (1,2,4,5,13-19) -- **Merged**: 7 (#1 README, #2 v0.1, #4 hermes@jnorthrup, #5 agentic-install@fire17, #13 stderr@miroslavb, #15 polish@PhungVanDuy, #16 empty-contract@Quigleybits) -- **Closed unmerged**: 1 (#19 badge) -- **Open**: 3 (#14 gates@sw1pp3r, #17 effort@Quigleybits, #18 Codex-default@damngoodinspect) -- **Rate**: ~0.9 PRs merged / week early; slowed after v0.1 + polish. High merge rate on **use-driven** fixes (#13, #16) and core features (#4, #5); lower on marketing (#19). Open queue growing (cost + validation hardening). - -## Use-emergent vs Attempted-upgrade PRs - -**Use / failure-mode driven (highest value)**: -- #13 terminal stderr drain — live 0/3 end_mission failures -- #16 empty-contract rejection — structural hole allowing vacuous missions -- Related issues: #8 Win11 pipes, #12 resume, #20 observability - -**Upgrade / polish / preference (good value)**: -- #4 hermes (jnorthrup) — multi-provider completeness -- #5 agentic install prompt — onboarding -- #15 CI/license/community — hygiene for external -- #17 per-role reasoning effort — cost control (open, high value) -- #14 gate checkpoints + skill validation — hardening (open) -- #18 Codex default — preference (open, lower priority) - -**Low value**: -- #19 MseeP badge (closed) - -**jnorthrup-internal Jules PRs** (1-6): pure perf + NARS + health — all value for scale; already absorbed in tip. - -## Value Ranking (integrate first) -1. NARS + Kolmogorov heuristic (context) -2. Jules ACP full + e2e + priority_respawn -3. Coalesced attempts / fingerprints / tombstones -4. Per-role reasoning effort (sync #17) -5. Gate/skill validation (#14) -6. Observability hooks (steer #20) + resume (#12) + Win11 pipes (#8) -7. Multi-model bench data (#7) -8. DRY prompt includes + local mode - -## Assigned Playbook (Engineering Mission) - -**Orchestrator**: Read this mission + NARS head first. Use Zenith itself. - -**Contract assertions** (write under mission/contract/): -- C1: All high-value jnorthrup deltas present and DRY (no duplication of upstream). -- C2: Open alternate PREs (#14, #17) either merged or cleanly rebased/adapted; #18 optional. -- C3: Issues #20, #8, #12, #7, #11 have either fixes or tracked tasks with targets. -- C4: NARS Therblig Index + Kolmogorov heuristic installed as first-class (skill or contract head renderer). -- C5: Tests (incl. Jules e2e) green; no contractreifier regression. -- C6: README/docs updated with DRY integration notes + agentic install still works. - -**Task list sketch**: -1. work: Rebase/align tip onto latest upstream if needed; cherry-pick only value. -2. work: Promote NARS_ZENITH_THERBLIG_INDEX.md + heuristic into zenith/skills or core. -3. work: Ensure Jules provider + priority_respawn + attempt accounting are clean modules. -4. work: Port/adapt #17 reasoning effort + #14 gates if not already stronger. -5. work: Add observability stubs (#20) and Win11/resume diagnostics (#8/#12). -6. validate: Full pytest + Jules live probes + empty-contract + stderr drain regressions. -7. terminal: Review for DRY-ness, no bloat, confidence (f,c) on living specs. - -**Generic heuristic**: Any wall-of-text >1 page → compress to Narsese 1-10 lines + memory label `zenith-dry-v1` / `mission-{{id}}-v1`. - -## Next Actions -- Orchestrator: `submit_plan` with contracts above. -- Workers: implement per C1–C6. -- On completion: open PR from this branch to Intelligent-Internet/zenith (or keep as jnorthrup production review base). - -**Memory labels installed**: -- `zenith-gap-analysis-2026-07-10` -- `zenith-pr-consumption-rate` -- `zenith-dry-integrate-mission-v1` +## Contracts (C1–C6) +- C1: high-value jnorthrup deltas present + DRY +- C2: alternate open PREs (#14,#17) absorbed or rebased +- C3: issues #20/#8/#12/#7/#11 tracked or fixed +- C4: NARS 10-line strict format first-class + anti-slop guard enforced +- C5: tests (Jules e2e) green; no reifier regression +- C6: docs/README stay DRY; agentic install intact + +## Playbook +1. Rebase/cherry-pick only value onto clean original. +2. Promote strict NARS + Kolmogorov heuristic as core. +3. Keep Jules + attempts + priority_respawn modular. +4. Sync #17 effort + #14 gates. +5. Add obs/resume/Win11 diagnostics. +6. Validate full suite. +7. Terminal: reject any wall-of-text deformation of 10-line heads. + +**Memory**: `zenith-dry-v1` | `zenith-anti-slop-v1` From 03f00801d7aff6776b997714a00290fa6ad206b2 Mon Sep 17 00:00:00 2001 From: Jim Northrup Date: Fri, 10 Jul 2026 06:46:18 -0500 Subject: [PATCH 6/7] =?UTF-8?q?fix(nars):=20keep=20DRY=20summary=20strictl?= =?UTF-8?q?y=20=E2=89=A410=20lines=20(anti-slop)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NARS_DRY_INTEGRATE_SUMMARY.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/NARS_DRY_INTEGRATE_SUMMARY.md b/NARS_DRY_INTEGRATE_SUMMARY.md index 31b60e8..aad6e34 100644 --- a/NARS_DRY_INTEGRATE_SUMMARY.md +++ b/NARS_DRY_INTEGRATE_SUMMARY.md @@ -1,15 +1,14 @@ -# NARS Summary — Gap / Consumption / DRY Integrate Mission +# NARS DRY Integrate — head -n10 ```narsese - ~0.9_merges/week_early | slowed_post_v0.1>. (0.94, 0.90) - {#13_stderr, #16_empty_contract} high_value>. (0.98, 0.95) - {#4_hermes, #5_agentic, #15_polish, #17_effort, #14_gates} value>. (0.93, 0.88) - #19_badge>. (0.85, 0.80) - 40+_commits_ahead | NARS+Jules+attempts+DRY_prompts+e2e>. (1.0, 0.97) - branch:mission/dry-integrate-jnorthrup-benefits>. (1.0, 0.96) - docs/MISSION_DRY_INTEGRATE_JN_BENEFITS.md>. (1.0, 0.98) - {#20_obs, #8_win11, #12_resume, #7_bench, #11_hooks}>. (0.91, 0.86) -NAL_spot_test_recorded: head -n10 ready. (0.90, 0.85) + ~0.9/wk_early | use_driven_high_value>. (0.94, 0.90) + {#13_stderr, #16_empty_contract}>. (0.98, 0.95) + {#4_hermes, #5_agentic, #15_polish, #17_effort, #14_gates}>. (0.93, 0.88) + NARS_strict+Jules+attempts+DRY+e2e>. (1.0, 0.97) + dry_original + alternate_PREs + issues_steer>. (1.0, 0.96) + LLM_deforms_10line | reject>. (0.96, 0.93) + docs/NARS_10LINE_STRICT_CONTRACT.md>. (1.0, 0.99) +NAL_spot: head -n10 only. (0.90, 0.85) ``` -**Memory**: `zenith-dry-v1` | `zenith-pr-rate-2026-07` | `zenith-gap-2026-07-10` +**Memory**: `zenith-dry-v1` | `zenith-anti-slop-v1` From f245868d502a099cb16d8b2ebd038a8d94280dfc Mon Sep 17 00:00:00 2001 From: Jim Northrup Date: Fri, 10 Jul 2026 06:49:50 -0500 Subject: [PATCH 7/7] docs: solid single-PR compromise of max-value upstream + jnorthrup + mailbox --- docs/SOLID_SINGLE_PR_COMPROMISE.md | 56 ++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 docs/SOLID_SINGLE_PR_COMPROMISE.md diff --git a/docs/SOLID_SINGLE_PR_COMPROMISE.md b/docs/SOLID_SINGLE_PR_COMPROMISE.md new file mode 100644 index 0000000..ecd1173 --- /dev/null +++ b/docs/SOLID_SINGLE_PR_COMPROMISE.md @@ -0,0 +1,56 @@ +# Solid Single PR Compromise (max beneficial) + +## NARS Head (strict ≤10) + +```narsese + max_value_upstream + jnorthrup + mailbox>. (1.0, 0.96) + {#13_stderr, #16_empty_contract, #4_hermes, #17_effort, #14_gates}>. (0.97, 0.93) + {Jules_ACP, mailbox, attempts+fingerprints, NARS_strict_10line, priority_respawn, DRY_prompts}>. (0.96, 0.92) + {badge, reifier_bloat, multi-section_NARS, non_DRY_duplicates}>. (0.95, 0.91) + cheap_robust_JSONL_git_root + NARS_envelope + 200char_body>. (0.98, 0.95) +NAL_spot: head -n10 this + NARS_10LINE_STRICT_CONTRACT. (0.90, 0.85) +``` + +## What goes in the single PR (to Intelligent-Internet/zenith) + +**Must (use-driven + high scale value)** +1. #13 terminal-reviewer stderr drain (already merged upstream — verify present) +2. #16 empty-contract reject (already merged — verify) +3. Jules ACP provider + bridge + e2e tests + priority_respawn +4. Canonical agent mailbox (`.zenith/mailbox/`) — JSONL, git-root, NARS-anchored envelopes, path-safe +5. Coalesced attempts + workspace fingerprints + tombstone sweep +6. Strict 10-line NARS Therblig + anti-slop contract + Kolmogorov heuristic +7. Per-role reasoning effort (from open #17) +8. Gate checkpoints + skill validation (from open #14) + +**Should** +- DRY prompt includes +- Local project mode + build-SHA stale replace +- Hermes already merged + +**Must not** +- Multi-section NARS walls +- Contract reifier / JSON contract bloat +- Badge / marketing +- Duplicate upstream code + +## Mailbox investigation (cheap + robust) + +- Location: `/.zenith/mailbox/` (symlink-safe via `find_git_root`) +- Format: JSONL envelopes `{unix_ts, from_party, to_party, kind, nars[], body≤200}` +- NARS-anchored (required non-empty nars list = scope discipline) +- Mission mailbox + legacy per-session jules/*.jsonl + sessions.json index +- Security: slug sanitization, path traversal reject +- Tests: symlink survival, append + session index update +- TODO still open: harvest facts from transcripts into downstream prompts +- Verdict: cheap (append-only JSONL), robust (git-root, atomic index, filters), perfect for agent handoff without long conversations + +## Playbook for the solid PR +1. Branch from upstream main (or rebased jnorthrup tip). +2. Cherry-pick / port only the Must list. +3. Enforce NARS_10LINE_STRICT_CONTRACT on every head. +4. Wire mailbox into orchestrator/worker handoffs (complete the TODOs). +5. Full pytest + Jules e2e green. +6. Single clean PR to Intelligent-Internet/zenith titled for the compromise. + +**Memory**: `zenith-solid-pr-v1` | `zenith-mailbox-v1` | `zenith-anti-slop-v1`