vongole 0.1.0a3__tar.gz

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.
Files changed (50) hide show
  1. vongole-0.1.0a3/.github/workflows/publish.yml +64 -0
  2. vongole-0.1.0a3/.github/workflows/python-tests.yml +33 -0
  3. vongole-0.1.0a3/.gitignore +64 -0
  4. vongole-0.1.0a3/LICENSE +21 -0
  5. vongole-0.1.0a3/PKG-INFO +126 -0
  6. vongole-0.1.0a3/README.md +99 -0
  7. vongole-0.1.0a3/backlog/bugs/.gitkeep +0 -0
  8. vongole-0.1.0a3/backlog/documentation/.gitkeep +0 -0
  9. vongole-0.1.0a3/backlog/features/.gitkeep +0 -0
  10. vongole-0.1.0a3/backlog/features/2026-12-05_cip0002-wave1-thin-b-admission.md +60 -0
  11. vongole-0.1.0a3/backlog/features/2026-12-05_cip0002-wave2-remaining-b-admission.md +61 -0
  12. vongole-0.1.0a3/backlog/infrastructure/.gitkeep +0 -0
  13. vongole-0.1.0a3/backlog/infrastructure/2026-12-05_cip0001-register-component-admission-api.md +56 -0
  14. vongole-0.1.0a3/backlog/infrastructure/2026-12-05_cip0001-restricted-harness.md +59 -0
  15. vongole-0.1.0a3/backlog/infrastructure/2026-12-05_cip0001-seed-migrate-assessment.md +58 -0
  16. vongole-0.1.0a3/backlog/infrastructure/2026-12-05_populate-family-extras-deferred-seeds.md +49 -0
  17. vongole-0.1.0a3/cip/.gitkeep +0 -0
  18. vongole-0.1.0a3/cip/cip0001.md +137 -0
  19. vongole-0.1.0a3/cip/cip0002.md +115 -0
  20. vongole-0.1.0a3/pyproject.toml +63 -0
  21. vongole-0.1.0a3/requirements/README.md +126 -0
  22. vongole-0.1.0a3/requirements/req0001_verified-component-admission.md +63 -0
  23. vongole-0.1.0a3/requirements/req0002_restricted-compute-profile.md +61 -0
  24. vongole-0.1.0a3/requirements/req0003_lynguine-dependent-compute-package.md +59 -0
  25. vongole-0.1.0a3/requirements/requirement_template.md +50 -0
  26. vongole-0.1.0a3/tenets/vongole/extend-lynguine-dont-fork.md +42 -0
  27. vongole-0.1.0a3/tenets/vongole/tempered-verification.md +41 -0
  28. vongole-0.1.0a3/tenets/vongole/verified-component-registry.md +41 -0
  29. vongole-0.1.0a3/tests/test_admission.py +132 -0
  30. vongole-0.1.0a3/tests/test_harness.py +94 -0
  31. vongole-0.1.0a3/tests/test_import.py +28 -0
  32. vongole-0.1.0a3/tests/test_phase5_wave1.py +118 -0
  33. vongole-0.1.0a3/tests/test_phase5_wave2_distance.py +63 -0
  34. vongole-0.1.0a3/tests/test_phase5_wave2_share.py +69 -0
  35. vongole-0.1.0a3/tests/test_seeds.py +71 -0
  36. vongole-0.1.0a3/uv.lock +1809 -0
  37. vongole-0.1.0a3/vongole/__init__.py +29 -0
  38. vongole-0.1.0a3/vongole/assess/__init__.py +5 -0
  39. vongole-0.1.0a3/vongole/assess/compute.py +109 -0
  40. vongole-0.1.0a3/vongole/functions/__init__.py +13 -0
  41. vongole-0.1.0a3/vongole/functions/compare.py +205 -0
  42. vongole-0.1.0a3/vongole/functions/distance.py +786 -0
  43. vongole-0.1.0a3/vongole/functions/numeric.py +84 -0
  44. vongole-0.1.0a3/vongole/functions/pipeline.py +143 -0
  45. vongole-0.1.0a3/vongole/functions/share_compare.py +542 -0
  46. vongole-0.1.0a3/vongole/functions/stores.py +184 -0
  47. vongole-0.1.0a3/vongole/functions/text.py +42 -0
  48. vongole-0.1.0a3/vongole/harness.py +123 -0
  49. vongole-0.1.0a3/vongole/registry.py +385 -0
  50. vongole-0.1.0a3/vongole/seeds.py +546 -0
@@ -0,0 +1,64 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ environment: release
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
+ steps:
15
+ - uses: actions/checkout@v5
16
+
17
+ - name: Set up uv
18
+ uses: astral-sh/setup-uv@v6
19
+ with:
20
+ python-version: "3.11"
21
+
22
+ - name: Install dependencies
23
+ run: |
24
+ uv sync --group dev
25
+
26
+ - name: Run tests
27
+ run: |
28
+ uv run pytest
29
+
30
+ - name: Check version matches release tag
31
+ run: |
32
+ RELEASE_VERSION=${GITHUB_REF#refs/tags/v}
33
+ PROJECT_VERSION=$(uv run python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
34
+ if [ "$RELEASE_VERSION" != "$PROJECT_VERSION" ]; then
35
+ echo "Error: Release version $RELEASE_VERSION doesn't match project version $PROJECT_VERSION"
36
+ exit 1
37
+ fi
38
+ echo "Version check passed: $RELEASE_VERSION"
39
+
40
+ - name: Build package
41
+ run: |
42
+ uv build
43
+
44
+ - name: Verify package contents
45
+ run: |
46
+ uvx twine check dist/*
47
+
48
+ - name: Publish to PyPI
49
+ # Prefer OIDC Trusted Publishing; fall back to PYPI_API_TOKEN if set.
50
+ env:
51
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
52
+ run: |
53
+ if [ -n "${UV_PUBLISH_TOKEN}" ]; then
54
+ uv publish
55
+ else
56
+ unset UV_PUBLISH_TOKEN
57
+ uv publish --trusted-publishing always
58
+ fi
59
+
60
+ - name: Upload build artifacts
61
+ uses: actions/upload-artifact@v4
62
+ with:
63
+ name: dist
64
+ path: dist/
@@ -0,0 +1,33 @@
1
+ name: Python Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: read
14
+
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ python-version: ["3.11", "3.13"]
19
+
20
+ steps:
21
+ - uses: actions/checkout@v5
22
+ - name: Set up uv
23
+ uses: astral-sh/setup-uv@v6
24
+ with:
25
+ python-version: ${{ matrix.python-version }}
26
+ - name: Install dependencies
27
+ run: uv sync --group dev
28
+ - name: Import smoke
29
+ run: uv run python -c "from vongole import Compute, register_component; assert Compute and register_component"
30
+ - name: Restricted harness smoke
31
+ run: uv run python -c "from vongole.harness import run_restricted; assert run_restricted('word_count', text='a b').output == 2"
32
+ - name: Run tests
33
+ run: uv run pytest
@@ -0,0 +1,64 @@
1
+ # VibeSafe System Files (Auto-added during installation)
2
+ backlog/README.md
3
+ backlog/task_template.md
4
+ backlog/update_index.py
5
+ backlog/index.md
6
+ cip/README.md
7
+ cip/cip_template.md
8
+ .cursor/rules/
9
+ .cursor/rules/project_tenet_*.mdc
10
+ scripts/whats_next.py
11
+ install-whats-next.sh
12
+ whats-next
13
+ templates/
14
+ ai-requirements/README.md
15
+ ai-requirements/requirement_template.md
16
+ ai-requirements/prompts/
17
+ ai-requirements/patterns/
18
+ ai-requirements/integrations/
19
+ ai-requirements/examples/
20
+ ai-requirements/guidance/
21
+ tenets/README.md
22
+ tenets/tenet_template.md
23
+ tenets/combine_tenets.py
24
+ docs/whats_next_script.md
25
+ docs/yaml_frontmatter_examples.md
26
+ CLAUDE.md
27
+ AGENTS.md
28
+ .github/copilot-instructions.md
29
+
30
+ # Python
31
+ __pycache__/
32
+ *.py[cod]
33
+ *$py.class
34
+ *.so
35
+ .Python
36
+ build/
37
+ dist/
38
+ eggs/
39
+ .eggs/
40
+ *.egg-info/
41
+ .venv/
42
+ .venv-vibesafe/
43
+ venv/
44
+ ENV/
45
+ .pytest_cache/
46
+ .coverage
47
+ .coverage.*
48
+ htmlcov/
49
+ .ruff_cache/
50
+ .mypy_cache/
51
+
52
+ # Runtime / local
53
+ lynguine.log
54
+ *.code-workspace
55
+ *.code-workspace~
56
+
57
+ # OS / editor
58
+ .DS_Store
59
+ .idea/
60
+ .vscode/
61
+ *.swp
62
+ coe/README.md
63
+ coe/coe_template.md
64
+ scripts/validate_vibesafe_structure.py
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Neil D. Lawrence
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,126 @@
1
+ Metadata-Version: 2.5
2
+ Name: vongole
3
+ Version: 0.1.0a3
4
+ Summary: Verified assessment compute registry for the lynguine DOA stack.
5
+ Project-URL: Homepage, https://github.com/lawrennd/vongole
6
+ Project-URL: Documentation, https://github.com/lawrennd/lynguine/blob/main/cip/cip0007.md
7
+ Author-email: "Neil D. Lawrence" <lawrennd@gmail.com>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: Implementation :: CPython
17
+ Requires-Python: <4.0,>=3.11.5
18
+ Requires-Dist: lynguine>=0.1.2
19
+ Requires-Dist: numpy>=1.26
20
+ Requires-Dist: python-liquid<3,>=2
21
+ Provides-Extra: distance
22
+ Requires-Dist: pot>=0.9.4; extra == 'distance'
23
+ Provides-Extra: llm
24
+ Provides-Extra: nlp
25
+ Provides-Extra: viz
26
+ Description-Content-Type: text/markdown
27
+
28
+ # vongole
29
+
30
+ Verified **assessment compute registry** for the [lynguine](https://github.com/lawrennd/lynguine) Data Oriented Architecture stack.
31
+
32
+ vongole is not a fat helper library. It admits stateless compute components under an explicit evidence model (spec + implementations + verification ladder), sitting between lynguine (storage / access compute) and applications such as [referia](https://github.com/lawrennd/referia).
33
+
34
+ Design source of truth: [lynguine CIP-0007](https://github.com/lawrennd/lynguine/blob/main/cip/cip0007.md).
35
+
36
+ ## Status
37
+
38
+ Alpha (`0.1.0a2`). CIP-0001 **Closed** (`compressed: false`); REQ-0001–0003 **Validated** (package side):
39
+
40
+ - `vongole.Compute` subclasses `lynguine.assess.compute.Compute`
41
+ - Admission API: `register_component` / `Spec` / `Evidence` (L0/L1)
42
+ - First pure seed batch (numeric + simple text; extras-heavy deferred)
43
+ - Restricted profile + harness (no referia dependency)
44
+ - CI runs import smoke + harness smoke + full pytest
45
+
46
+ Still open: docs compression, family extras when deferred seeds land, referia inheritance (CIP-0007 Phases 3–5).
47
+
48
+ ## Install
49
+
50
+ ### From Git (CI / consumers)
51
+
52
+ ```bash
53
+ uv sync
54
+ # or
55
+ pip install "vongole @ git+https://github.com/lawrennd/vongole.git"
56
+ ```
57
+
58
+ Optional family extras are declared (`nlp`, `llm`, `distance`, `viz`) but still empty until deferred seeds land:
59
+
60
+ ```bash
61
+ uv sync --extra llm
62
+ ```
63
+
64
+ ### Editable alongside lynguine / referia worktrees
65
+
66
+ Typical sibling layout:
67
+
68
+ ```text
69
+ ~/lawrennd/lynguine
70
+ ~/lawrennd/vongole
71
+ ~/lawrennd/referia
72
+ ```
73
+
74
+ From this repo:
75
+
76
+ ```bash
77
+ # Use a local lynguine instead of the Git main pin in pyproject.toml
78
+ uv pip install -e ../lynguine
79
+ uv pip install -e .
80
+
81
+ # Or, with poetry (referia convention)
82
+ poetry install # once poetry/uv lock story is settled
83
+ ```
84
+
85
+ Smoke check:
86
+
87
+ ```bash
88
+ uv run python -c "from vongole import Compute, register_component; print(Compute)"
89
+ uv run pytest
90
+ ```
91
+
92
+ Restricted harness without referia:
93
+
94
+ ```bash
95
+ uv run python -c "from vongole.harness import run_restricted; print(run_restricted('word_count', text='a b c').output)"
96
+ ```
97
+
98
+ For referia development once it inherits vongole, install editable vongole into the same environment as editable lynguine and referia.
99
+
100
+ ## Layout
101
+
102
+ | Path | Role |
103
+ |------|------|
104
+ | `vongole/registry.py` | Admission API (`register_component`, Spec, Evidence) |
105
+ | `vongole/seeds.py` | First pure seed batch + deferred inventory |
106
+ | `vongole/functions/` | Seed implementations (numeric, text) |
107
+ | `vongole/assess/compute.py` | `Compute` with restricted / unrestricted profiles |
108
+ | `vongole/harness.py` | Restricted harness + recorded-response stub |
109
+ | `tests/` | Admission, seeds, harness, import smoke |
110
+ | `tenets/vongole/` | Project tenets (WHY) |
111
+ | `requirements/` | Requirements (WHAT) — REQ-0001–0003 |
112
+ | `cip/cip0001.md` | Starting CIP (HOW) — Closed (`compressed: false`) |
113
+ | `backlog/infrastructure/` | Phase 2b–2d tasks (Completed) |
114
+
115
+ ## Governance
116
+
117
+ | Layer | Artifacts |
118
+ |-------|-----------|
119
+ | WHY | `verified-component-registry`, `tempered-verification`, `extend-lynguine-dont-fork` |
120
+ | WHAT | [REQ-0001](requirements/req0001_verified-component-admission.md), [REQ-0002](requirements/req0002_restricted-compute-profile.md), [REQ-0003](requirements/req0003_lynguine-dependent-compute-package.md) |
121
+ | HOW | [CIP-0001](cip/cip0001.md) (local) · lynguine [CIP-0007](https://github.com/lawrennd/lynguine/blob/main/cip/cip0007.md) (cross-repo) |
122
+
123
+ ## Related
124
+
125
+ - lynguine CIP-0007 — package split and verified registry
126
+ - lynguine CIP-0011 — honest three-phase compute in the base engine (not a blocker for Phase 2b–2d)
@@ -0,0 +1,99 @@
1
+ # vongole
2
+
3
+ Verified **assessment compute registry** for the [lynguine](https://github.com/lawrennd/lynguine) Data Oriented Architecture stack.
4
+
5
+ vongole is not a fat helper library. It admits stateless compute components under an explicit evidence model (spec + implementations + verification ladder), sitting between lynguine (storage / access compute) and applications such as [referia](https://github.com/lawrennd/referia).
6
+
7
+ Design source of truth: [lynguine CIP-0007](https://github.com/lawrennd/lynguine/blob/main/cip/cip0007.md).
8
+
9
+ ## Status
10
+
11
+ Alpha (`0.1.0a2`). CIP-0001 **Closed** (`compressed: false`); REQ-0001–0003 **Validated** (package side):
12
+
13
+ - `vongole.Compute` subclasses `lynguine.assess.compute.Compute`
14
+ - Admission API: `register_component` / `Spec` / `Evidence` (L0/L1)
15
+ - First pure seed batch (numeric + simple text; extras-heavy deferred)
16
+ - Restricted profile + harness (no referia dependency)
17
+ - CI runs import smoke + harness smoke + full pytest
18
+
19
+ Still open: docs compression, family extras when deferred seeds land, referia inheritance (CIP-0007 Phases 3–5).
20
+
21
+ ## Install
22
+
23
+ ### From Git (CI / consumers)
24
+
25
+ ```bash
26
+ uv sync
27
+ # or
28
+ pip install "vongole @ git+https://github.com/lawrennd/vongole.git"
29
+ ```
30
+
31
+ Optional family extras are declared (`nlp`, `llm`, `distance`, `viz`) but still empty until deferred seeds land:
32
+
33
+ ```bash
34
+ uv sync --extra llm
35
+ ```
36
+
37
+ ### Editable alongside lynguine / referia worktrees
38
+
39
+ Typical sibling layout:
40
+
41
+ ```text
42
+ ~/lawrennd/lynguine
43
+ ~/lawrennd/vongole
44
+ ~/lawrennd/referia
45
+ ```
46
+
47
+ From this repo:
48
+
49
+ ```bash
50
+ # Use a local lynguine instead of the Git main pin in pyproject.toml
51
+ uv pip install -e ../lynguine
52
+ uv pip install -e .
53
+
54
+ # Or, with poetry (referia convention)
55
+ poetry install # once poetry/uv lock story is settled
56
+ ```
57
+
58
+ Smoke check:
59
+
60
+ ```bash
61
+ uv run python -c "from vongole import Compute, register_component; print(Compute)"
62
+ uv run pytest
63
+ ```
64
+
65
+ Restricted harness without referia:
66
+
67
+ ```bash
68
+ uv run python -c "from vongole.harness import run_restricted; print(run_restricted('word_count', text='a b c').output)"
69
+ ```
70
+
71
+ For referia development once it inherits vongole, install editable vongole into the same environment as editable lynguine and referia.
72
+
73
+ ## Layout
74
+
75
+ | Path | Role |
76
+ |------|------|
77
+ | `vongole/registry.py` | Admission API (`register_component`, Spec, Evidence) |
78
+ | `vongole/seeds.py` | First pure seed batch + deferred inventory |
79
+ | `vongole/functions/` | Seed implementations (numeric, text) |
80
+ | `vongole/assess/compute.py` | `Compute` with restricted / unrestricted profiles |
81
+ | `vongole/harness.py` | Restricted harness + recorded-response stub |
82
+ | `tests/` | Admission, seeds, harness, import smoke |
83
+ | `tenets/vongole/` | Project tenets (WHY) |
84
+ | `requirements/` | Requirements (WHAT) — REQ-0001–0003 |
85
+ | `cip/cip0001.md` | Starting CIP (HOW) — Closed (`compressed: false`) |
86
+ | `backlog/infrastructure/` | Phase 2b–2d tasks (Completed) |
87
+
88
+ ## Governance
89
+
90
+ | Layer | Artifacts |
91
+ |-------|-----------|
92
+ | WHY | `verified-component-registry`, `tempered-verification`, `extend-lynguine-dont-fork` |
93
+ | WHAT | [REQ-0001](requirements/req0001_verified-component-admission.md), [REQ-0002](requirements/req0002_restricted-compute-profile.md), [REQ-0003](requirements/req0003_lynguine-dependent-compute-package.md) |
94
+ | HOW | [CIP-0001](cip/cip0001.md) (local) · lynguine [CIP-0007](https://github.com/lawrennd/lynguine/blob/main/cip/cip0007.md) (cross-repo) |
95
+
96
+ ## Related
97
+
98
+ - lynguine CIP-0007 — package split and verified registry
99
+ - lynguine CIP-0011 — honest three-phase compute in the base engine (not a blocker for Phase 2b–2d)
File without changes
File without changes
File without changes
@@ -0,0 +1,60 @@
1
+ ---
2
+ id: "2026-12-05_cip0002-wave1-thin-b-admission"
3
+ title: "CIP-0002 Wave 1: Admit thin bucket-B free functions"
4
+ status: "Completed"
5
+ priority: "High"
6
+ created: "2026-12-05"
7
+ last_updated: "2026-12-05"
8
+ category: "features"
9
+ related_cips: ["0002"]
10
+ owner: "lawrennd"
11
+ dependencies: []
12
+ tags:
13
+ - backlog
14
+ - features
15
+ - vongole
16
+ - cip0002
17
+ - phase5
18
+ - admission
19
+ ---
20
+
21
+ # Task: Wave 1 thin B admissions
22
+
23
+ > lynguine CIP-001E Wave 1 bucket **B** names that are pure / explicitly parameterized.
24
+
25
+ ## Description
26
+
27
+ Admit these free functions into the vongole registry with L0+L1 evidence and restricted-harness coverage:
28
+
29
+ - `run_wordlist_floor`
30
+ - `run_question_type_stress`
31
+ - `pipeline_dag_figure`
32
+ - `pipeline_stage_params_md`
33
+ - `named_store_status`
34
+
35
+ ## Acceptance Criteria
36
+
37
+ - [x] Each name resolves via `run_restricted` / restricted `Compute`
38
+ - [x] Spec + L1 properties recorded; bound-method refusal still holds
39
+ - [x] Implementations live under `vongole.functions.*` (no referia import)
40
+ - [x] `DEFERRED_SEEDS` no longer lists Wave 1 names
41
+
42
+ ## Implementation Notes
43
+
44
+ - Copy/port from referia `compare.py`, `pipeline.py`, `stores.py` as free functions
45
+ - Prefer JSON over PyYAML for stage-params value rendering
46
+
47
+ ## Related
48
+
49
+ - CIP: 0002
50
+ - Cross-repo: lynguine CIP-001E Wave 1
51
+
52
+ ## Progress Updates
53
+
54
+ ### 2026-12-05
55
+
56
+ Task created on CIP-0002 Accept. Implementation started in worktree.
57
+
58
+ ### 2026-12-05 (complete)
59
+
60
+ Wave 1 B names admitted; harness tests green.
@@ -0,0 +1,61 @@
1
+ ---
2
+ id: "2026-12-05_cip0002-wave2-remaining-b-admission"
3
+ title: "CIP-0002 Wave 2: Admit remaining bucket-B free functions"
4
+ status: "Completed"
5
+ priority: "High"
6
+ created: "2026-12-05"
7
+ last_updated: "2026-12-05"
8
+ category: "features"
9
+ related_cips: ["0002"]
10
+ owner: "lawrennd"
11
+ dependencies:
12
+ - "2026-12-05_cip0002-wave1-thin-b-admission"
13
+ tags:
14
+ - backlog
15
+ - features
16
+ - vongole
17
+ - cip0002
18
+ - phase5
19
+ - admission
20
+ ---
21
+
22
+ # Task: Wave 2 remaining B admissions
23
+
24
+ > lynguine CIP-001E Wave 2 bucket **B** names that need numpy / distance / llm extras.
25
+
26
+ ## Description
27
+
28
+ Admit:
29
+
30
+ - `run_format_share_compare`
31
+ - `run_basis_share_compare`
32
+ - `run_document_distance_analysis` (populate `vongole[distance]` as needed)
33
+
34
+ Locked **out of B** (bucket **C** / referia Python only): reconstruction runners, subject-grain UX, `llm_classify_grounds` (study payload + prompt; revisit only with explicit general free-fn + `[llm]`).
35
+
36
+ ## Acceptance Criteria
37
+
38
+ - [x] Each Wave 2 **B** name resolves under `compute_profile="restricted"`
39
+ - [x] Extras declared and install hints present where required
40
+ - [x] No referia import; bound-method refusal unchanged
41
+ - [x] CIP-0002 close checklist can tick Wave 2
42
+
43
+ ## Implementation Notes
44
+
45
+ - Port soft-topic / bootstrap helpers with numpy (pinned in core deps)
46
+ - Distance façade in `vongole.functions.distance`; EMD via `vongole[distance]` (POT)
47
+
48
+ ## Related
49
+
50
+ - CIP: 0002
51
+ - Cross-repo: lynguine CIP-001E Wave 2
52
+
53
+ ## Progress Updates
54
+
55
+ ### 2026-12-05
56
+
57
+ Task created on CIP-0002 Accept; Ready after Wave 1 lands.
58
+
59
+ ### 2026-12-05 (complete)
60
+
61
+ Share-compare and distance façade admitted; `vongole[distance]` pins POT; full B harness green.
File without changes
@@ -0,0 +1,56 @@
1
+ ---
2
+ id: "2026-12-05_cip0001-register-component-admission-api"
3
+ title: "CIP-0001 Phase 2b: Implement register_component admission API (L0/L1 gates)"
4
+ status: "Completed"
5
+ priority: "High"
6
+ created: "2026-12-05"
7
+ last_updated: "2026-12-05"
8
+ category: "infrastructure"
9
+ related_cips: ["0001"]
10
+ owner: "lawrennd"
11
+ dependencies: []
12
+ tags:
13
+ - backlog
14
+ - infrastructure
15
+ - vongole
16
+ - cip0001
17
+ - phase2
18
+ - verification
19
+ ---
20
+
21
+ # Task: register_component admission API
22
+
23
+ > CIP-0001 / lynguine CIP-0007 Phase 2b. Registry model from lynguine `cip/cip0007/verification.md`.
24
+
25
+ ## Description
26
+
27
+ Land `register_component` so admitted components separate identity, spec, implementation(s), and evidence. Initial gates: L0 declared spec, L1 property tests + restricted-harness hooks, import allowlist, reject shadowing / bound methods / context-bound callables.
28
+
29
+ ## Acceptance Criteria
30
+
31
+ - [x] Admission API validates machine-readable specs (signature modes, effect class, extras)
32
+ - [x] Rejects name shadowing of lynguine access compute names
33
+ - [x] Rejects bound methods and context-bound registrations
34
+ - [x] Records evidence tuples `(level, gate id, gate version, date, artefact)` per implementation
35
+ - [x] Unit tests cover accept/reject paths without requiring full seed migration
36
+
37
+ ## Implementation Notes
38
+
39
+ - Evidence stored in-package alongside the registry (`vongole/registry.py`)
40
+ - L2–L4 are out of scope except extension points
41
+ - Does not wait on lynguine CIP-0011 Close
42
+
43
+ ## Related
44
+
45
+ - CIP: 0001
46
+ - Cross-repo: lynguine CIP-0007 Phase 2b
47
+
48
+ ## Progress Updates
49
+
50
+ ### 2026-12-05
51
+
52
+ Task created on CIP-0001 Accept. Implementation started.
53
+
54
+ ### 2026-12-05
55
+
56
+ Completed: `register_component` / Spec / Property / Evidence landed with L0/L1 gates; tests in `tests/test_admission.py`.
@@ -0,0 +1,59 @@
1
+ ---
2
+ id: "2026-12-05_cip0001-restricted-harness"
3
+ title: "CIP-0001 Phase 2d: Restricted harness in vongole (no referia dependency)"
4
+ status: "Completed"
5
+ priority: "High"
6
+ created: "2026-12-05"
7
+ last_updated: "2026-12-05"
8
+ category: "infrastructure"
9
+ related_cips: ["0001"]
10
+ owner: "lawrennd"
11
+ dependencies:
12
+ - "2026-12-05_cip0001-register-component-admission-api"
13
+ tags:
14
+ - backlog
15
+ - infrastructure
16
+ - vongole
17
+ - cip0001
18
+ - phase2
19
+ - harness
20
+ ---
21
+
22
+ # Task: Vongole restricted harness
23
+
24
+ > CIP-0001 / lynguine CIP-0007 Phase 2d. Evidence L1 runs here; production sole-mode flip is Phase 5.
25
+
26
+ ## Description
27
+
28
+ Implement a harness that executes admitted components under the restricted profile (lynguine access + vongole-admitted only). No referia import. Fail closed on unknown names. Document recorded-response hooks for future `external` / LLM components.
29
+
30
+ ## Acceptance Criteria
31
+
32
+ - [x] Harness runs without referia installed
33
+ - [x] Rejects / fails clearly on non-admitted function names
34
+ - [x] `Compute(compute_profile="restricted")` selects restricted resolution
35
+ - [x] Fixture pattern used for at least one pure seed
36
+ - [x] Hook / stub path for recorded LLM responses documented
37
+ - [x] CI runs harness smoke alongside unit tests
38
+
39
+ ## Implementation Notes
40
+
41
+ - Profile id: `restricted` (canonical per lynguine `restricted-referia.md`)
42
+ - Landed with the first pure seed batch (`vongole/harness.py`, `vongole/assess/compute.py`)
43
+ - Does not wait on CIP-0011 Close; does not claim honest phase dispatch
44
+ - CI: `.github/workflows/python-tests.yml` runs full pytest (includes `tests/test_harness.py`)
45
+
46
+ ## Related
47
+
48
+ - CIP: 0001
49
+ - Design: lynguine `cip/cip0007/verification.md`, `restricted-referia.md`
50
+
51
+ ## Progress Updates
52
+
53
+ ### 2026-12-05
54
+
55
+ Task created on CIP-0001 Accept.
56
+
57
+ ### 2026-12-05
58
+
59
+ Completed: restricted profile Compute, harness helpers, recorded-response stub, harness tests; CI already executes pytest.