diff --git a/.governance/manifest.json b/.governance/manifest.json index 80499cd..a162cf9 100644 --- a/.governance/manifest.json +++ b/.governance/manifest.json @@ -81,7 +81,9 @@ "wellmanifest_governance.py", "worktree-guard.yaml", ".gitattributes", - "docs/CONTRIBUTING.md" + "docs/CONTRIBUTING.md", + "errors/**", + "pyproject.toml" ] }, "infrastructure": { @@ -115,7 +117,13 @@ "events/**", "error/**", "models/**", - "proto/**" + "proto/**", + "errors/**", + ".governance/manifest.json", + "code2logic/__init__.py", + "logic2code/__init__.py", + "logic2test/__init__.py", + "lolm/__init__.py" ] }, "interfaces": { diff --git a/VERSION b/VERSION index 3e9c4a6..73b4678 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.50 +1.0.51 diff --git a/code2logic/__init__.py b/code2logic/__init__.py index 71a69a0..e576e11 100644 --- a/code2logic/__init__.py +++ b/code2logic/__init__.py @@ -18,7 +18,7 @@ >>> print(output) """ -__version__ = "1.0.50" +__version__ = "1.0.51" __author__ = "Softreck" __email__ = "info@softreck.dev" __license__ = "MIT" diff --git a/errors/README.md b/errors/README.md new file mode 100644 index 0000000..814a84d --- /dev/null +++ b/errors/README.md @@ -0,0 +1,8 @@ +# Error Runbooks (`code2logic`) + +Index of error runbooks and diagnostic remediation guides for `semcod/code2logic` in accordance with `wellmanifest/logs`. + +| Code | Component | Summary | Remediation | +| --- | --- | --- | --- | +| `C2L-PARSE-001` | `code2logic.analyzer` | Source file AST or tree-sitter parse failure | Verify syntax of target source file or exclude generated artifacts | +| `C2L-PERF-001` | `code2logic.code_review` | Performance anti-pattern detected in loop context | Refactor N+1 queries, subprocess spawns, or uncached parses out of loops | diff --git a/logic2code/__init__.py b/logic2code/__init__.py index 5b544b7..27ed8ec 100644 --- a/logic2code/__init__.py +++ b/logic2code/__init__.py @@ -14,5 +14,5 @@ from .generator import CodeGenerator, GenerationResult, GeneratorConfig from .renderers import PythonRenderer -__version__ = "1.0.50" +__version__ = "1.0.51" __all__ = ["CodeGenerator", "GeneratorConfig", "GenerationResult", "PythonRenderer"] diff --git a/logic2test/__init__.py b/logic2test/__init__.py index a6a8136..341af09 100644 --- a/logic2test/__init__.py +++ b/logic2test/__init__.py @@ -15,5 +15,5 @@ from .parsers import LogicParser from .templates import TestTemplate -__version__ = "1.0.50" +__version__ = "1.0.51" __all__ = ["TestGenerator", "GeneratorConfig", "GenerationResult", "LogicParser", "TestTemplate"] diff --git a/lolm/__init__.py b/lolm/__init__.py index d10e0b3..183d23d 100644 --- a/lolm/__init__.py +++ b/lolm/__init__.py @@ -76,7 +76,7 @@ parse_rate_limit_headers, ) -__version__ = "1.0.50" +__version__ = "1.0.51" __all__ = [ # Config "LLMConfig", diff --git a/project/TICKETS.md b/project/TICKETS.md index 0847486..2ded49c 100644 --- a/project/TICKETS.md +++ b/project/TICKETS.md @@ -11,4 +11,6 @@ | **ticket-007** | [`README.md`](./ticket-007/README.md) | - | - | - | - | - | | **ticket-008** | [`README.md`](./ticket-008/README.md) | - | - | - | - | - | | **ticket-009** | [`README.md`](./ticket-009/README.md) | - | - | - | - | - | +| **ticket-010** | [`README.md`](./ticket-010/README.md) | - | - | - | - | - | +| **ticket-011** | [`README.md`](./ticket-011/README.md) | - | - | - | - | - | diff --git a/project/ticket-011/README.md b/project/ticket-011/README.md new file mode 100644 index 0000000..a68e6d4 --- /dev/null +++ b/project/ticket-011/README.md @@ -0,0 +1,23 @@ +# Ticket 011: Align pyproject version 1.0.51 and add errors runbook index + +- **ID**: ticket-011 +- **Owner**: agent:antigravity +- **Status**: IN_PROGRESS +- **Workflow state**: EDIT +- **Created**: 2026-10-18 + +SESSION_EXECUTION_AUTHORIZATION: Authorized by user in active session to align pyproject.toml version with PyPI 1.0.51 and satisfy wellmanifest/logs check. + +## Goal and scope + +Align `pyproject.toml` `[project].version` to `1.0.51` (matching PyPI) and add `errors/README.md` runbook index per `wellmanifest/logs`. + +## Acceptance criteria + +- [x] AC-01: `pyproject.toml` version is `1.0.51` and `errors/README.md` passes `wellman check --root .` with 0 errors. +- [x] AC-02: `./project/governance-check.sh` passes with 0 errors. + +## Tracking boundary + +This directory contains the minimal reviewed intent. Optional participant prose +and raw command logs are not required delivery output. diff --git a/project/ticket-011/intent.json b/project/ticket-011/intent.json new file mode 100644 index 0000000..b82a3e4 --- /dev/null +++ b/project/ticket-011/intent.json @@ -0,0 +1,94 @@ +{ + "schema": "new-project.intent/v3", + "ticket": "ticket-011", + "summary": "Align pyproject version 1.0.51 and add errors runbook index", + "workstream": "integration", + "classification": { + "kind": "SERVICE", + "priority": "P1", + "origin": "health" + }, + "allowedPaths": [ + "project/ticket-011/**", + "TODO.md", + "project/TICKETS.md", + ".governance/manifest.json", + "pyproject.toml", + "errors/README.md", + "VERSION", + "setup.py", + "code2logic/__init__.py", + "logic2code/__init__.py", + "logic2test/__init__.py", + "lolm/__init__.py" + ], + "forbiddenPaths": [ + "project/ticket-*/user-*.md" + ], + "stacks": [], + "dependsOn": [], + "conflictsWith": [], + "integrationTicket": null, + "delivery": { + "acceptedBaseSha": "3d6d7f1421c35fc569ffc56440622b2f4c763525", + "targetBranch": "main", + "outcome": "Align pyproject.toml version to 1.0.51 and add errors/README.md runbook index for Wellmanifest logs compliance.", + "nonGoals": [ + "No runtime behavior changes." + ], + "complexity": "M", + "estimatedMinutes": 10, + "budgets": { + "maxImplementationFiles": 9, + "maxAffectedComponents": 1, + "maxPublicInterfaceChanges": 0, + "maxRuntimeDependencies": 0 + }, + "architecture": { + "status": "accepted", + "decision": "Register errors/** and pyproject.toml under governance workstream, add errors/README.md, and set pyproject.toml version to 1.0.51.", + "components": [ + { + "name": "governance", + "paths": [ + ".governance/manifest.json", + "pyproject.toml", + "VERSION", + "errors/README.md", + "setup.py", + "code2logic/__init__.py", + "logic2code/__init__.py", + "logic2test/__init__.py", + "lolm/__init__.py" + ] + } + ], + "responsibilityChanges": false, + "interfaceChanges": [], + "dataChanges": [], + "ui": { + "impact": "none", + "states": [], + "evidence": [] + }, + "rollback": "Revert the ticket commit." + }, + "runtimeDependencies": [], + "validation": [ + { + "criterion": "AC-01", + "commands": [ + "wellman check --root ." + ], + "evidence": "project/ticket-011/README.md" + }, + { + "criterion": "AC-02", + "commands": [ + "./project/governance-check.sh" + ], + "evidence": "project/ticket-011/README.md" + } + ] + } +} diff --git a/pyproject.toml b/pyproject.toml index b93c116..d3ffa14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "code2logic" -version = "1.0.50" +version = "1.0.51" description = "High-performance Python code flow analysis with NLP query processing - CFG, DFG, call graphs, and intelligent code queries" readme = "README.md" requires-python = ">=3.11" diff --git a/setup.py b/setup.py index 0015c5b..25a0f30 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os # Read version -version = "1.0.50" +version = "1.0.51" # Read long description