Skip to content

v0.9: runtime/ scaffold + lifectl CLI + pyproject + scaffold tests (#120)#127

Merged
LING71671 merged 1 commit into
masterfrom
devin/1777292773-120-runtime-scaffold
Apr 27, 2026
Merged

v0.9: runtime/ scaffold + lifectl CLI + pyproject + scaffold tests (#120)#127
LING71671 merged 1 commit into
masterfrom
devin/1777292773-120-runtime-scaffold

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented Apr 27, 2026

Summary

First PR of the v0.9 epic (#119). Lays down the empty runtime/ Python package, the lifectl CLI entrypoint, and the pyproject.toml that declares the dlrs-runtime package + console script. No assembly logic ships in this PR — Stages 1–5 land in sub-issues #121#126.

Closes #120.

What landed

Hard-rule invariants preserved

This sub-issue ships no execution code, so the v0.7 + v0.8 hard-rule invariants (D1=C in-life sandbox / D2=B bundled_in_life Provider refusal / D5=mixed hosted-API AND-gate / D6=fail-close Stage gating) hold trivially: the gates don't run yet. Sub-issues #121#126 reinstate each invariant as they implement the corresponding Stage.

Review & Testing Checklist for Human

(Risk: green — no functional logic, only scaffolding. CI is the primary gate.)

  • runtime-scaffold job in CI passes on both py3.11 and py3.12.
  • After pip install -e ., lifectl version prints lifectl 0.9.0.dev0 (life-runtime v0.1.1) and lifectl info pretend.life / lifectl run pretend.life exit non-zero with the documented stderr message.
  • runtime/ sub-package layout matches the 5-stage assembly pipeline you'd expect from docs/LIFE_RUNTIME_STANDARD.md Part B (verify / resolve / assemble / run / guard) plus providers/ and audit/.

Notes

Link to Devin session: https://app.devin.ai/sessions/ff7322e18fd94887875daa2c1c75f87d
Requested by: @LING71671


Open in Devin Review

)

Lay down the empty runtime/ Python package, the lifectl CLI entrypoint,
and the pyproject.toml that declares the dlrs-runtime package + console
script. No assembly logic ships in this PR — Stages 1-5 land in
sub-issues #121-#126.

- runtime/__init__.py exports __version__='0.9.0.dev0' and
  LIFE_RUNTIME_PROTOCOL_VERSION='0.1.1'
- runtime/{verify,resolve,assemble,run,guard,providers,audit}/ empty
  sub-packages with one-line docstrings naming the owning sub-issue
- runtime/cli/lifectl.py: 'version' subcommand fully working;
  'info' / 'run' parse args + exit non-zero with 'not yet implemented'
  message that points at #121 / #121-#126
- pyproject.toml: name='dlrs-runtime', version='0.9.0.dev0',
  Python>=3.10, deps jsonschema+pyyaml, exports lifectl console script
- tools/test_runtime_scaffold.py: 8 sanity-test cases (import, version,
  stub exit codes, --help, pyproject parse + script entry, sub-package
  presence)
- .github/workflows/validate.yml: new runtime-scaffold CI job parallel
  to pipelines (matrix py3.11+3.12), pip install -e ., run tests,
  confirm lifectl on PATH + scaffold stubs exit non-zero
- CHANGELOG.md: v0.9 epic entry + sub-issue #120 'Added' details
- .gitignore: add *.egg-info/ + build/ + dist/

Closes part of #119; closes #120.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Contributor Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

@LING71671 LING71671 merged commit 96ba60c into master Apr 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.9 sub-issue #1: runtime/ package scaffold + lifectl CLI entrypoint

1 participant