Skip to content

Commit 8708e90

Browse files
Jonathan D.A. Jewellclaude
andcommitted
feat: add test infrastructure and gitbot-fleet integration
Infrastructure for testing, validation, and bot automation: 1. Bot Directives (.bot_directives/): - README.scm - Overview and constraints - rhodibot.scm - RSR compliance, repository operations - echidnabot.scm - Framework consistency verification - glambot.scm - Documentation quality and accessibility - sustainabot.scm - Sustainability and community health - seambot.scm - Integration and tooling (Hypatia, gitbot-fleet) - finishbot.scm - Task completion and milestone tracking - robot-repo-automaton.scm - Automated fixes with confidence thresholds All bots configured to protect PROMPT framework and heutagogic design. 2. Test Suite (tests/): - validate-framework.sh - PROMPT framework, boundary objects, learning pathway - validate-documentation.sh - Author attribution, license, consistency - validate-installation.sh - Workflows, directory structure, scanning integration - run-all-tests.sh - Master test runner All tests passing ✅ 3. Justfile Updates: - test, test-framework, test-docs, test-install commands - rsr-check - Verify RSR compliance - verify-scanning - Check Hypatia and gitbot-fleet integration - validate - Full validation suite 4. License Fixes: - Updated .gitattributes, .gitignore, Mustfile to PMPL-1.0-or-later - Removed all AGPL-3.0-or-later references Hypatia scan and gitbot-fleet integration confirmed working. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent f377f40 commit 8708e90

16 files changed

Lines changed: 405 additions & 18 deletions

.bot_directives/README.scm

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; .bot_directives — per-bot rules and constraints for Wayfinder
3+
;; Media-Type: application/vnd.bot-directives+scm
4+
5+
(bot-directives
6+
(version "1.0")
7+
(project "Wayfinder: Epistemic Infrastructure for Journalism")
8+
(notes
9+
"Repo-specific bot constraints for documentation-focused project."
10+
"Bots must preserve PROMPT framework integrity and heutagogic design."
11+
"Protect core conceptual frameworks while enabling documentation improvements."))

.bot_directives/echidnabot.scm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "echidnabot")
4+
(scope "formal verification and conceptual consistency")
5+
(allow ("framework consistency checks" "logical coherence analysis" "citation verification"))
6+
(deny ("framework modifications" "conceptual changes"))
7+
(notes "Verify PROMPT framework consistency, boundary objects coherence, heutagogic pathway logic. Report only, no auto-fix."))

.bot_directives/finishbot.scm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "finishbot")
4+
(scope "task completion and milestone tracking")
5+
(allow ("STATE.scm updates" "ROADMAP.adoc progress tracking" "milestone completion verification"))
6+
(deny ("milestone reordering" "deadline changes without approval"))
7+
(notes "Track Week 1-4 plan progress. Update STATE.scm as materials complete. Report blockers."))

.bot_directives/glambot.scm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "glambot")
4+
(scope "documentation quality and accessibility")
5+
(allow ("grammar fixes" "clarity improvements" "accessibility enhancements" "progressive disclosure optimization"))
6+
(deny ("conceptual framework changes" "learning pathway reordering"))
7+
(notes "Improve documentation quality while preserving epistemic frameworks. WCAG 2.1 AA compliance required."))

.bot_directives/rhodibot.scm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "rhodibot")
4+
(scope "rsr-compliance and repository operations")
5+
(allow ("metadata updates" "documentation formatting" "repo-structure checks" "citation fixes"))
6+
(deny ("PROMPT framework modifications" "core conceptual changes" "destructive edits without approval"))
7+
(notes "Auto-fix allowed for formatting, citations, and RSR compliance. Core frameworks require review."))
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "robot-repo-automaton")
4+
(scope "automated fixes with confidence thresholds")
5+
(allow ("formatting fixes (confidence > 0.95)" "citation standardization (confidence > 0.90)" "typo fixes (confidence > 0.85)"))
6+
(deny ("conceptual changes" "framework modifications" "low-confidence fixes"))
7+
(notes "Only auto-fix documentation issues with high confidence. PROMPT framework is protected. Learning materials require review."))

.bot_directives/seambot.scm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "seambot")
4+
(scope "integration and tooling")
5+
(allow ("workflow optimization" "CI/CD improvements" "cross-repo consistency"))
6+
(deny ("hypatia scan removal" "security workflow modifications"))
7+
(notes "Ensure Hypatia and gitbot-fleet integration. Maintain RSR compliance. GitLab Pages deployment."))

.bot_directives/sustainabot.scm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "sustainabot")
4+
(scope "sustainability and community health")
5+
(allow ("community metrics" "contributor onboarding docs" "sustainability reporting"))
6+
(deny ("governance changes" "funding model changes"))
7+
(notes "Monitor community health, beta tester engagement, journalist feedback. Recommend improvements."))

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: AGPL-3.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# RSR-compliant .gitattributes
33

44
* text=auto eol=lf

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: AGPL-3.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# RSR-compliant .gitignore
33

44
# OS & Editor

0 commit comments

Comments
 (0)