Skip to content

Commit bc14eb7

Browse files
gmoonclaude
andcommitted
Bump version to v0.2.2
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7f11097 commit bc14eb7

5 files changed

Lines changed: 24 additions & 11 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lattice"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2024"
55
description = "A knowledge coordination protocol for human-agent collaboration"
66
repository = "https://github.com/forkzero/lattice"

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ test:
2020
# Alias for consistency with other repos
2121
test-all: test
2222

23-
# Pre-commit gate: fast checks (format + lint)
23+
# Pre-commit gate: format + lint + lattice health
2424
pre-commit: fmt-check lint
25+
@if command -v lattice >/dev/null 2>&1 && lattice health --help 2>&1 | grep -q strict; then \
26+
lattice health --strict --check; \
27+
else \
28+
echo "Note: lattice health skipped (install lattice >=0.2.2 to enable)"; \
29+
fi
2530
@echo "Pre-commit checks passed."
2631

2732
# Pre-push gate: full checks (format + lint + test + build)

skills/lattice/SKILL.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,20 @@ You have access to a **Lattice** knowledge graph in this project. The `.lattice/
1010

1111
The key words MUST, MUST NOT, SHOULD, SHOULD NOT, and MAY in this document are to be interpreted as described in RFC 2119.
1212

13-
## Discovery
13+
## Common Commands
1414

1515
```bash
16-
lattice help # Grouped command list
17-
lattice help concepts # Node types, edge semantics, versioning, ID conventions
18-
lattice help workflows # Common task-oriented command sequences
19-
lattice <command> --help # Help for any specific command
20-
lattice --json --compact # Machine-readable command schema
16+
lattice summary # Status overview (start here)
17+
lattice list requirements # List all requirements
18+
lattice list messages # List all messages
19+
lattice get REQ-XXX-001 # Full node details with edges
20+
lattice search -q "keyword" # Text search (defaults to requirements)
21+
lattice health --strict # Unified health check (PASS/WARN/FAIL)
22+
lattice drift # Check for stale edge bindings
2123
```
2224

25+
Run `lattice help` for the full grouped command list, `lattice help concepts` for node/edge reference, or `lattice <command> --help` for any specific command.
26+
2327
## Editing Rules
2428

2529
Agents MUST use the `lattice` CLI for all supported operations.

tests/help_test.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ fn test_help_flag_shows_grouped_output() {
1818
"Expected KNOWLEDGE GRAPH heading in --help output"
1919
);
2020
assert!(
21-
stdout.contains("HEALTH & ANALYSIS:"),
22-
"Expected HEALTH & ANALYSIS heading in --help output"
21+
stdout.contains("ANALYSIS:"),
22+
"Expected ANALYSIS heading in --help output"
23+
);
24+
assert!(
25+
stdout.contains("AUTOMATED CHECKS:"),
26+
"Expected AUTOMATED CHECKS heading in --help output"
2327
);
2428
assert!(
2529
stdout.contains("SETUP:"),

0 commit comments

Comments
 (0)