Skip to content

Commit 9add896

Browse files
authored
Merge pull request #321 from CERTCC/hexagonal-refactor
Hexagonal refactor
2 parents 057a0b0 + 4d92b05 commit 9add896

File tree

456 files changed

+22916
-11182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

456 files changed

+22916
-11182
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Skill: Format code & run tests
2+
3+
Purpose
4+
5+
Describe how to run Black and the canonical project test command for Vultron.
6+
7+
Commands (run in zsh, from repository root)
8+
9+
Format code (pre-commit enforces Black):
10+
11+
```bash
12+
uv run black vultron/ test/
13+
```
14+
15+
Run the full test-suite — EXACTLY this command, EXACTLY ONCE per validation cycle:
16+
17+
```bash
18+
uv run pytest --tb=short 2>&1 | tail -5
19+
```
20+
21+
Notes
22+
23+
- Read the last 5 lines for the summary and any short failure tracebacks.
24+
- Do NOT re-run pytest to grep counts, do not use -q, and do not change the tail window (e.g., tail -3 or tail -15).
25+
- Run Black after editing any Python files and before staging for commit.
26+
- Do NOT run Black on markdown files (use markdownlint-cli2 for those).
27+
28+
Running a specific test file:
29+
30+
```bash
31+
uv run pytest test/test_semantic_activity_patterns.py -v
32+
```
33+
34+
Rationale
35+
36+
These commands are the canonical, repo-authoritative steps recorded in AGENTS.md for formatting and validating changes before committing.

.markdownlint-cli2.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@ config:
2323
# Force asterisk style for strong
2424
"MD050":
2525
style: "asterisk"
26+
# 024 No duplicate headings
27+
# Allow duplicate headings as long as they don't share the same parent section
28+
"MD024":
29+
siblings_only: true
2630
# 051 Link fragments should be valid
2731
# Disabled because conversion from TeX to markdown produces invalid links
2832
# We might eventually be able to re-enable this one.
2933
"MD051": false
3034
# 060 - Table column style
3135
"MD060": false
3236
ignores:
33-
- "plan/**"
34-
- "specs/**"
3537
- "wip_notes/**"
36-
- "AGENTS.md"
3738
- "node_modules/**"
39+
- ".github/**"

.markdownlintignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
plan/
2-
specs/
3-
prompts/
41
wip_notes/
52
node_modules/
6-
AGENTS.md
3+
.github/

0 commit comments

Comments
 (0)