Nagato-Yuzuru
predylogic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
feat(spec): spec generation * feat(schema): add predylogic native workspace spec generation Introduces generate_workspace_spec() and SchemaGenerator.generate_spec() as the spec format for the planned Rust CLI and PyO3 DSL parser — replacing model_json_schema() as the bridge between Python registries and the Rust toolchain. * refactor(schema): type the spec layer with dataclasses Replaces dict[str, Any] across the spec chain with frozen slotted dataclasses. Type nodes collapse the six payload-less scalars into a single AtomType(kind=Literal[...]) and keep list/dict/union/unknown as their own structs, so "tag decides fields" stays an enforced invariant. ParamSpec/RuleSpec/RegistrySpec/WorkspaceSpec type the tree; None-valued optionals are dropped at serialize time via an asdict dict_factory rather than a post-hoc recursive walk. * refactor(typedefs): centralize spec Literal aliases in typedefs Moves AtomKind (extracted from AtomType's inline literal) and ParamKind into typedefs.py alongside the existing LogicBinOp/PredicateNodeType vocabulary. spec.py and schema.py consume them as annotation-only imports (TYPE_CHECKING-gated); the public ParamKind re-export is sourced directly from typedefs so it stays a real runtime object. * chore(lint): enforce PLC0415 in tests, hoist function-local imports The per-file-ignores block for sdks/python/tests/* listed PLC0415, which suppressed import-outside-top-level in the very files most likely to hide lazy imports — even a CLI --select couldn't override it (per-file-ignores apply after selection). Drop it so the rule (already on via the "PLC" group) actually fires in tests. Fix the 5 now-flagged violations by moving function-local imports to module top level: - test_spec_generation.py: datetime, inspect, typing - test_rule_compilation.py: RuleSetManifest (merged into the existing top-level import from the same module; not a circular-import guard)
main
25 days ago
chore(lint): enforce PLC0415 in tests, hoist function-local imports The per-file-ignores block for sdks/python/tests/* listed PLC0415, which suppressed import-outside-top-level in the very files most likely to hide lazy imports — even a CLI --select couldn't override it (per-file-ignores apply after selection). Drop it so the rule (already on via the "PLC" group) actually fires in tests. Fix the 5 now-flagged violations by moving function-local imports to module top level: - test_spec_generation.py: datetime, inspect, typing - test_rule_compilation.py: RuleSetManifest (merged into the existing top-level import from the same module; not a circular-import guard)
feat/spec-generation
25 days ago
chore(deps): bump actions/checkout from 6 to 7 in the actions group (#58) Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
main
1 month ago
chore(deps): bump actions/checkout from 6 to 7 in the actions group Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/github_actions/actions-640176b5ab
1 month ago
Potential fix for code scanning alert no. 5: Workflow does not contain permissions (#47) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
main
3 months ago
Potential fix for code scanning alert no. 5: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
alert-autofix-5
3 months ago
Potential fix for code scanning alert no. 5: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
alert-autofix-5
3 months ago
fix(schema)!: separate rule_def_name discriminator from rule parameters Closes #43 --- * test(schema): expose rule_def_name namespace collision Adds a regression test registering a rule whose signature has a parameter named `rule_def_name`. Currently fails with `TypeError: got multiple values for keyword argument 'rule_def_name'` from `create_model`, since the discriminator and rule parameters share the same kwargs namespace. * test(engine): expose *args/**kwargs manifest round-trip failure * fix(schema): nest rule params under BaseRuleConfig.params * docs(quick-start): migrate examples to nested params shape * fix(engine): surface VAR_KEYWORD vs KEYWORD_ONLY key collision --- BREAKING CHANGE: manifest JSON moved user parameters under a dedicated `params` sub-object. Payloads authored against the old flat format must migrate: { "rule_def_name": "is_adult", - "min_age": 18 + "params": { + "min_age": 18 + } } Rules with no required parameters may omit `"params"`; rules with required parameters must supply `"params": {...}` explicitly. The `x-params-order` JSON-schema annotation is removed — order is carried structurally by the `<Name>Params` sub-model.
main
3 months ago
Latest Branches
CodSpeed Performance Gauge
0%
Feat/spec generation
#61
25 days ago
c513533
feat/spec-generation
CodSpeed Performance Gauge
0%
chore(deps): bump actions/checkout from 6 to 7 in the actions group
#58
1 month ago
ccc6ca0
dependabot/github_actions/actions-640176b5ab
CodSpeed Performance Gauge
0%
Potential fix for code scanning alert no. 5: Workflow does not contain permissions
#47
3 months ago
4bf5089
alert-autofix-5
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs