Skip to content

Commit 10bca11

Browse files
Merge pull request #1092 from adamvangrover/jules-professionalize-repo-5597003394886381534
feat: Professionalize Adam Repository Structure and Workflows
2 parents c003a85 + 358982e commit 10bca11

25 files changed

Lines changed: 98 additions & 9 deletions

.github/workflows/ci-python-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
python -m pip install --upgrade pip
4949
pip install pytest pytest-asyncio
50-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
50+
if [ -f requirements/base.txt ]; then pip install -r requirements/base.txt; fi
5151
pip install -e .
5252
- name: Run Integration Tests
5353
env:

.github/workflows/ci-python-unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
python -m pip install --upgrade pip
2828
pip install pytest pytest-asyncio pytest-cov flake8
29-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
if [ -f requirements/base.txt ]; then pip install -r requirements/base.txt; fi
3030
pip install -e .
3131
- name: Run Unit Tests
3232
env:

.github/workflows/daily_ritual.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Daily Protocol ARCHITECT_INFINITE
2+
3+
on:
4+
schedule:
5+
- cron: '0 8 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
daily-ritual:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
steps:
15+
- name: Checkout Code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.12"
22+
cache: 'pip'
23+
24+
- name: Install Dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements/base.txt
28+
pip install pytest pytest-cov mkdocs
29+
30+
- name: Run Daily Ritual
31+
run: |
32+
export PYTHONPATH=.
33+
python ops/daily_ritual.py
34+
env:
35+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
36+
37+
- name: Run Tests with Coverage
38+
run: |
39+
export PYTHONPATH=.
40+
python -m pytest --cov=src --cov-fail-under=80
41+
42+
- name: Build Docs
43+
run: |
44+
mkdocs build
45+
46+
- name: Create Pull Request
47+
uses: peter-evans/create-pull-request@v6
48+
with:
49+
title: "feat(jules): Daily Recursive Cycle Expansion"
50+
branch: "jules/daily-build"
51+
commit-message: "feat(jules): automated daily protocol execution"
52+
body: |
53+
Automated daily Protocol ARCHITECT_INFINITE run.
54+
- Code generated successfully.
55+
- Pytest coverage > 80%
56+
- ProvenanceHeader validator passed.

.github/workflows/prompt_eval.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install -r requirements.txt
24+
pip install -r requirements/base.txt
2525
pip install pytest openai
2626
- name: Run Golden Dataset Evaluation
2727
env:

.github/workflows/prompt_ops_v23.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+
if [ -f requirements/base.txt ]; then pip install -r requirements/base.txt; fi
2626
2727
- name: Run FinanceBench Evaluation
2828
run: |

CODE_OF_CONDUCT.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to a positive environment for our community include:
12+
* Demonstrating empathy and kindness toward other people
13+
* Being respectful of differing opinions, viewpoints, and experiences
14+
* Giving and gracefully accepting constructive feedback
15+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
16+
* Focusing on what is best not just for us as individuals, but for the overall community
17+
18+
Examples of unacceptable behavior include:
19+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
20+
* Trolling, insulting or derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or email address, without their explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting

SECURITY.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
Only the latest version of AdamOS is actively supported with security updates.
5+
6+
## Reporting a Vulnerability
7+
Please do not report security vulnerabilities through public GitHub issues.
8+
9+
Instead, please report them directly via email to security@adamos.example.com.
10+
You should receive a response within 48 hours. If the issue is confirmed, we will release a patch as soon as possible depending on complexity.

daily_ritual/daily_ritual.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
4545
### EXECUTION PHASE 4: THE MEMORY (Documentation)
4646
* Update `CHANGELOG.md` with a "Jules' Log" entry explaining *why* this addition matters.
47-
* If a new library was used, append it to `requirements.txt`.
47+
* If a new library was used, append it to `requirements/base.txt`.
4848
4949
---
5050

docs/.gitkeep

Whitespace-only changes.

ops/daily_ritual.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
5151
### EXECUTION PHASE 4: THE MEMORY (Documentation)
5252
* Update `CHANGELOG.md` with a "Jules' Log" entry explaining *why* this addition matters.
53-
* If a new library was used, append it to `requirements.txt`.
53+
* If a new library was used, append it to `requirements/base.txt`.
5454
5555
---
5656

0 commit comments

Comments
 (0)