Skip to content

Add repository agent profiles - #40

Draft
johnnygreco wants to merge 3 commits into
mainfrom
johnny/repository-agent-profiles
Draft

Add repository agent profiles#40
johnnygreco wants to merge 3 commits into
mainfrom
johnny/repository-agent-profiles

Conversation

@johnnygreco

Copy link
Copy Markdown
Collaborator

Summary

  • add a reusable dev-tools/agents framework for repository-owned OpenShell agent profiles
  • organize runtime concerns under runner/ with a focused standalone profile_resolver.py
  • add schema-enforced task responses, profile guidance resolution, and a pinned Pi print-mode harness
  • configure inference through INFERENCE_BASE_URL, INFERENCE_API_KEY, and MODEL_ID_TOP
  • add path-scoped CI covering validation, unit tests, lint/format checks, shell syntax, sandbox staging/build, and ephemeral mTLS gateway authentication

Why

The agent runtime should be established and reviewed independently before downstream workflows consume it. The streamlined structure keeps profile-owned prompts and policy separate from runner-owned OpenShell lifecycle code.

Validation

  • uv lock --script profile_resolver.py --check
  • python3 -m unittest discover -s tests -v (8 tests)
  • Ruff lint and formatting checks
  • Python compile checks
  • Bash syntax checks
  • git diff --check

The local Docker build reached the pinned Docker Hub image lookup but the current environment's Docker daemon has an invalid proxy configuration. The path-scoped GitHub Actions job performs the complete staged Pi image build.

This replaces #39, which GitHub automatically closed when its head branch was renamed.

@johnnygreco
johnnygreco force-pushed the johnny/repository-agent-profiles branch from aaa48fb to c148567 Compare August 13, 2026 21:21
@johnnygreco
johnnygreco marked this pull request as ready for review August 13, 2026 21:22
@johnnygreco
johnnygreco force-pushed the johnny/repository-agent-profiles branch from c148567 to faa7536 Compare August 13, 2026 21:32
@johnnygreco
johnnygreco marked this pull request as draft August 13, 2026 21:35
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.

1 participant