From 04b0c80329682ee53f2f482902ba8a1141c6bf8e Mon Sep 17 00:00:00 2001 From: AIPass Date: Sat, 7 Mar 2026 23:30:09 -0800 Subject: [PATCH] fix(scaffold): add builder operational files to commons and skills (#19) Changed citizen_class from birthright to builder for both external projects. Manually added missing operational scaffolding (pytest.ini, docs/, .gitignore, aipass_local_prompt.md) since spawn update can't reach outside src/aipass/. Co-authored-by: Claude Opus 4.6 --- src/commons/.aipass/aipass_local_prompt.md | 14 ++++++++++++++ src/commons/.gitignore | 14 ++++++++++++++ src/commons/docs/.gitkeep | 0 src/commons/pytest.ini | 21 +++++++++++++++++++++ src/skills/.aipass/aipass_local_prompt.md | 14 ++++++++++++++ src/skills/.gitignore | 14 ++++++++++++++ src/skills/docs/.gitkeep | 0 src/skills/pytest.ini | 21 +++++++++++++++++++++ 8 files changed, 98 insertions(+) create mode 100644 src/commons/.aipass/aipass_local_prompt.md create mode 100644 src/commons/.gitignore create mode 100644 src/commons/docs/.gitkeep create mode 100644 src/commons/pytest.ini create mode 100644 src/skills/.aipass/aipass_local_prompt.md create mode 100644 src/skills/.gitignore create mode 100644 src/skills/docs/.gitkeep create mode 100644 src/skills/pytest.ini diff --git a/src/commons/.aipass/aipass_local_prompt.md b/src/commons/.aipass/aipass_local_prompt.md new file mode 100644 index 00000000..e14298a2 --- /dev/null +++ b/src/commons/.aipass/aipass_local_prompt.md @@ -0,0 +1,14 @@ +# {{BRANCHNAME}} Branch-Local Context + + +> Auto-created by aipass init. Customize for your branch. + +## Status: NEEDS CONFIGURATION + +This file is injected into every AI conversation when working from this branch directory. Configure it with: + +- Who this branch is (role, purpose) +- Key commands and workflows +- Architecture overview +- Critical files and operational rules +- Integration points with other branches diff --git a/src/commons/.gitignore b/src/commons/.gitignore new file mode 100644 index 00000000..9cf1dfc4 --- /dev/null +++ b/src/commons/.gitignore @@ -0,0 +1,14 @@ +__pycache__/ +*.pyc +*.pyo +.env +*.egg-info/ +.coverage +htmlcov/ +.pytest_cache/ +.mypy_cache/ +dist/ +build/ +*.log +*.tmp +*.swp diff --git a/src/commons/docs/.gitkeep b/src/commons/docs/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/commons/pytest.ini b/src/commons/pytest.ini new file mode 100644 index 00000000..c3f21db6 --- /dev/null +++ b/src/commons/pytest.ini @@ -0,0 +1,21 @@ +[pytest] +# Test discovery paths +testpaths = tests + +# Test file patterns +python_files = test_*.py +python_functions = test_* +python_classes = Test* + +# Command-line options (always applied) +addopts = + -v # Verbose output + --tb=short # Short traceback format + --strict-markers # Raise error on unknown markers + -ra # Show summary of all test outcomes + +# Test markers (for categorizing tests) +markers = + unit: Unit tests + integration: Integration tests + slow: Tests that take significant time diff --git a/src/skills/.aipass/aipass_local_prompt.md b/src/skills/.aipass/aipass_local_prompt.md new file mode 100644 index 00000000..e14298a2 --- /dev/null +++ b/src/skills/.aipass/aipass_local_prompt.md @@ -0,0 +1,14 @@ +# {{BRANCHNAME}} Branch-Local Context + + +> Auto-created by aipass init. Customize for your branch. + +## Status: NEEDS CONFIGURATION + +This file is injected into every AI conversation when working from this branch directory. Configure it with: + +- Who this branch is (role, purpose) +- Key commands and workflows +- Architecture overview +- Critical files and operational rules +- Integration points with other branches diff --git a/src/skills/.gitignore b/src/skills/.gitignore new file mode 100644 index 00000000..9cf1dfc4 --- /dev/null +++ b/src/skills/.gitignore @@ -0,0 +1,14 @@ +__pycache__/ +*.pyc +*.pyo +.env +*.egg-info/ +.coverage +htmlcov/ +.pytest_cache/ +.mypy_cache/ +dist/ +build/ +*.log +*.tmp +*.swp diff --git a/src/skills/docs/.gitkeep b/src/skills/docs/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/skills/pytest.ini b/src/skills/pytest.ini new file mode 100644 index 00000000..c3f21db6 --- /dev/null +++ b/src/skills/pytest.ini @@ -0,0 +1,21 @@ +[pytest] +# Test discovery paths +testpaths = tests + +# Test file patterns +python_files = test_*.py +python_functions = test_* +python_classes = Test* + +# Command-line options (always applied) +addopts = + -v # Verbose output + --tb=short # Short traceback format + --strict-markers # Raise error on unknown markers + -ra # Show summary of all test outcomes + +# Test markers (for categorizing tests) +markers = + unit: Unit tests + integration: Integration tests + slow: Tests that take significant time