Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Repository administrator. Update through an administrator-reviewed pull request.
* @K-3-LT
# Existing repository administrators. Update through administrator review.
* @K-3-LT @aikevan
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Bug report
description: Report a reproducible connector problem without credentials
body:
- type: textarea
id: problem
attributes:
label: What happened?
description: Include reproduction steps, expected behavior, client versions, protocol and model ID. Never include keys or private prompts.
validations:
required: true
- type: dropdown
id: evidence
attributes:
label: Backend used
options:
- Local fixture
- IteraCompute API
- Other API
validations:
required: true
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Feature request
description: Suggest a provider, agent or workflow improvement
body:
- type: textarea
id: proposal
attributes:
label: Proposal
description: Explain the use case, relevant upstream links, and expected behavior. Do not include credentials.
validations:
required: true
9 changes: 9 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Describe the behavior change and why it is needed.

Validation:

- Commands/results, with simulated and real-provider evidence distinguished.
- Client/protocol/model versions if relevant.
- Remaining limitations or required manual checks.

Do not include keys or unredacted private logs. An administrator code-owner review is required.
70 changes: 70 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.11', '3.14']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: ${{ matrix.python }}
- run: python -m pip install .
- run: python -m unittest discover -v
- run: itera-connect --version

quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: '3.11'
- run: python -m pip install . -r requirements-dev.txt
- run: ruff check .
- run: ruff format --check .
- run: python -m build

magpie:
runs-on: ubuntu-latest
env:
ITERACONNECT_HOME: ${{ github.workspace }}/.local/ci
DO_NOT_TRACK: '1'
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: '3.11'
- run: python -m pip install .
- run: itera-connect install-magpie
- name: Verify real Magpie translation and five native config adapters with fixture backend
run: |
export ITERACONNECT_TEST_MAGPIE_BIN="$ITERACONNECT_HOME/bin/magpie"
python -m unittest tests.test_magpie.MagpieTests -v

checks:
if: always()
needs: [test, quality, magpie]
runs-on: ubuntu-latest
steps:
- name: Require every validation job
env:
TEST_RESULT: ${{ needs.test.result }}
QUALITY_RESULT: ${{ needs.quality.result }}
MAGPIE_RESULT: ${{ needs.magpie.result }}
run: |
test "$TEST_RESULT" = success
test "$QUALITY_RESULT" = success
test "$MAGPIE_RESULT" = success
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dist/
.local/
reports/
.ruff_cache/
agent-connect.local.toml
12 changes: 12 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Agent Connect development

This repository is independent of IteraCompute/LLMProxy. Do not change production gateway,
website or platform services as part of connector development.

- Python source is in `src/iteraconnect`; the runtime uses the standard library only.
- Use `python -m unittest discover -v`, Ruff check/format and `python -m build`.
- Optional real Magpie/native fixture tests are documented in `docs/testing.md`.
- The simple app stores keys only in ignored private local TOML; runtime provider profiles use environment references. Never print keys, request bodies or arbitrary client logs.
- Distinguish fixture tests, config adapter checks and actual provider/client acceptance.
- Preserve upstream MIT notices and pinned source/release provenance.
- Work on a feature branch and open a PR. Do not merge or bypass administrator review.
25 changes: 25 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Contributing

Issues, Discussions and pull requests are welcome. Include a minimal reproduction, versions,
protocol and model ID. Redact keys, prompts and private paths before sharing logs.

Develop in a branch and run the checks in [testing.md](docs/testing.md). New behavior should
include an appropriate contract test; fixture evidence and real service evidence must remain
separate. Change upstream pins deliberately, retain licenses and verify release digests.

`main` is protected. Merging requires a repository administrator named in `.github/CODEOWNERS`,
at least one approval, approval of the latest reviewable push, resolution of review conversations
and the `checks` CI status. Stale reviews are dismissed. Administrators are subject to these rules.
Force pushes and deletion of `main` are disabled. CI runs untrusted contributions with read-only
repository access and no provider secrets. Automated merge is disabled.

The repository administrators are `@K-3-LT` and `@aikevan`; both are proposed as CODEOWNERS in
the initial implementation PR. Additional administrators can be added to CODEOWNERS
through the same reviewed workflow; reviewers must have write access for GitHub to recognize
their code-owner approval. Authors cannot approve their own pull requests. Normal contributions need a separate
administrator/reviewer account; administrator identity does not count as independent self-review.

Organization Actions is enabled for this repository, with read-only default workflow tokens and
no workflow review approval. See [governance setup](docs/governance.md) for the initial base-branch
ownership dependency and the current first-merge status. Initial setup exceptions require explicit
Owner approval, preserve required CI and must not become a permanent community-review bypass.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include LICENSE THIRD_PARTY_NOTICES README.en.md CONTRIBUTING.md SECURITY.md requirements-dev.txt
include start.py Start.command Start.bat config.example.toml
recursive-include docs *.md
recursive-include docs/images *.jpg
recursive-include tests *.py
Loading
Loading