Skip to content

Commit e0903ca

Browse files
chore: add GitHub templates and refresh project docs/deps
1 parent da596ea commit e0903ca

18 files changed

Lines changed: 371 additions & 100 deletions
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Bug Report
2+
description: Report a reproducible bug in SWE-AF
3+
labels: ["bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for reporting a bug. Please include enough detail to reproduce quickly.
9+
10+
- type: textarea
11+
id: summary
12+
attributes:
13+
label: Summary
14+
description: What is broken?
15+
placeholder: Briefly describe the bug.
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
id: steps
21+
attributes:
22+
label: Steps to Reproduce
23+
description: Exact steps, commands, and inputs.
24+
placeholder: |
25+
1. ...
26+
2. ...
27+
3. ...
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: expected
33+
attributes:
34+
label: Expected Behavior
35+
placeholder: What should have happened?
36+
validations:
37+
required: true
38+
39+
- type: textarea
40+
id: actual
41+
attributes:
42+
label: Actual Behavior
43+
placeholder: What happened instead?
44+
validations:
45+
required: true
46+
47+
- type: textarea
48+
id: env
49+
attributes:
50+
label: Environment
51+
description: Include OS, Python version, provider, and deployment mode.
52+
placeholder: |
53+
- OS:
54+
- Python:
55+
- AI provider:
56+
- Docker or local:
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
id: logs
62+
attributes:
63+
label: Logs or Trace
64+
description: Paste relevant logs or stack traces.
65+
render: shell

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Security report
4+
url: https://github.com/Agent-Field/af-swe-claude/security/advisories/new
5+
about: Please report vulnerabilities privately through GitHub security advisories.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Feature Request
2+
description: Propose an improvement to SWE-AF
3+
labels: ["enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Proposals with concrete use-cases and acceptance criteria are easier to prioritize.
9+
10+
- type: textarea
11+
id: problem
12+
attributes:
13+
label: Problem
14+
description: What user problem does this solve?
15+
placeholder: Describe the pain point.
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
id: proposal
21+
attributes:
22+
label: Proposed Solution
23+
description: Describe your preferred approach.
24+
placeholder: Explain behavior, API, and expected outcomes.
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: alternatives
30+
attributes:
31+
label: Alternatives Considered
32+
description: Any alternatives you evaluated.
33+
34+
- type: textarea
35+
id: acceptance
36+
attributes:
37+
label: Acceptance Criteria
38+
description: Clear criteria to mark this as done.
39+
placeholder: |
40+
- [ ] ...
41+
- [ ] ...

.github/pull_request_template.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Summary
2+
3+
- What changed
4+
- Why it changed
5+
6+
## Validation
7+
8+
- [ ] `make check`
9+
- [ ] Relevant manual test performed (if needed)
10+
11+
## Behavior Impact
12+
13+
- [ ] No behavior change
14+
- [ ] Backward compatible behavior change
15+
- [ ] Breaking change (explain below)
16+
17+
## Notes
18+
19+
Any rollout notes, migration notes, or follow-ups.

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.12"
21+
cache: "pip"
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install -e ".[dev]"
27+
28+
- name: Run checks
29+
run: make check

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on Keep a Changelog, and this project follows Semantic Versioning.
6+
7+
## [Unreleased]
8+
9+
## [0.1.0] - 2026-02-16
10+
11+
### Added
12+
13+
- Initial public release of SWE-AF
14+
- Multi-agent SWE orchestration with plan/execute/verify flow
15+
- Docker and local execution modes
16+
- Agent-level API endpoints and artifact persistence

CODE_OF_CONDUCT.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Code of Conduct
2+
3+
## Our Commitment
4+
5+
We are committed to providing a friendly, safe, and harassment-free experience for everyone,
6+
regardless of age, body size, disability, ethnicity, gender identity or expression, level of
7+
experience, education, socioeconomic status, nationality, personal appearance, race, religion,
8+
or sexual identity and orientation.
9+
10+
## Expected Behavior
11+
12+
- Be respectful in language and tone.
13+
- Assume good intent and ask clarifying questions.
14+
- Give actionable, technical feedback.
15+
- Focus on improving the project, not winning arguments.
16+
17+
## Unacceptable Behavior
18+
19+
- Harassment, threats, or discriminatory language.
20+
- Personal attacks, trolling, or sustained disruption.
21+
- Publishing private information without consent.
22+
23+
## Enforcement
24+
25+
Project maintainers may remove, edit, or reject comments, commits, issues, and pull requests
26+
that violate this Code of Conduct.
27+
28+
## Reporting
29+
30+
To report behavior that violates this policy, open a private security report as described in
31+
`SECURITY.md`.
32+
33+
## Scope
34+
35+
This policy applies in project spaces (issues, PRs, discussions, reviews) and public
36+
representation of the project.

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,12 @@ RUN git config --global user.name "SWE Agent" && \
2424
# Install uv for fast package installation
2525
RUN pip install --no-cache-dir uv
2626

27-
# Install AgentField SDK from monorepo
28-
COPY agentfield/sdk/python /tmp/agentfield-sdk
29-
RUN uv pip install --system /tmp/agentfield-sdk && rm -rf /tmp/agentfield-sdk
30-
3127
# Install project dependencies
32-
COPY int-agentfield-examples/af-swe/requirements-docker.txt /app/requirements.txt
28+
COPY requirements-docker.txt /app/requirements.txt
3329
RUN uv pip install --system -r /app/requirements.txt
3430

3531
# Copy application code
36-
COPY int-agentfield-examples/af-swe/ /app/
32+
COPY . /app/
3733

3834
EXPOSE 8003
3935

0 commit comments

Comments
 (0)