Door A pin bump to the tag released 2026-07-23 (f14c075), verified present on the public open/ remote before bumping. v0.3.2 fixes frontmatter/index values to be emitted verbatim (only source_query is whitespace-collapsed, per ingest-spec §5) and types the NUL-byte path failure as SourceError. Verified after the bump: 562 tests green, golden fixture byte-for-byte identical (test_materializes_golden_byte_for_byte), mutation controls still diverge so the golden test stays load-bearing, ruff + mypy --strict clean. No error code changed, so the exc.value.code asserts stand unmigrated. This confirms the library CHANGELOG claim that shipped golden fixtures and both consumers are unaffected — for this consumer, as measured. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MQu2xxwedckjU56byu1aUG
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[project]
|
|
name = "portfolio-optimiser-claude"
|
|
version = "0.1.0"
|
|
description = "Sibling implementation of the portfolio-optimiser method on the Claude Agent SDK (D7)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"claude-agent-sdk>=0.2.111,<0.3",
|
|
"llm-ingestion-okf",
|
|
"pydantic>=2",
|
|
]
|
|
|
|
# Distribution channel (2026-07-16 decision, mirrors the library's B2 answer):
|
|
# git pin against the public Forgejo repo — reproducible for every consumer of
|
|
# this public repo, uv.lock pins the exact commit behind the tag. Bump the rev
|
|
# when the library releases a new tag.
|
|
[tool.uv.sources]
|
|
llm-ingestion-okf = { git = "https://git.fromaitochitta.com/open/llm-ingestion-okf.git", rev = "v0.3.2" }
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8",
|
|
"ruff>=0.8",
|
|
"mypy>=1.13",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/portfolio_optimiser_claude"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|