assertion-cli 0.5.11__tar.gz → 0.5.12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/PKG-INFO +1 -1
  2. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/assertion_cli.egg-info/PKG-INFO +1 -1
  3. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/pyproject.toml +1 -1
  4. assertion_cli-0.5.12/templates/AGENTS.md +26 -0
  5. assertion_cli-0.5.11/templates/AGENTS.md +0 -14
  6. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/README.md +0 -0
  7. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/api.py +0 -0
  8. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/assertion_cli.egg-info/SOURCES.txt +0 -0
  9. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/assertion_cli.egg-info/dependency_links.txt +0 -0
  10. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/assertion_cli.egg-info/entry_points.txt +0 -0
  11. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/assertion_cli.egg-info/requires.txt +0 -0
  12. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/assertion_cli.egg-info/top_level.txt +0 -0
  13. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/bundle.py +0 -0
  14. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/git.py +0 -0
  15. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/link.py +0 -0
  16. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/main.py +0 -0
  17. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/models.py +0 -0
  18. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/session.py +0 -0
  19. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/setup.cfg +0 -0
  20. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/templates/SKILL.md +0 -0
  21. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/templates/__init__.py +0 -0
  22. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_api.py +0 -0
  23. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_bundle.py +0 -0
  24. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_decision.py +0 -0
  25. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_git.py +0 -0
  26. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_install.py +0 -0
  27. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_link.py +0 -0
  28. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_main.py +0 -0
  29. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_new.py +0 -0
  30. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_prompt.py +0 -0
  31. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_session.py +0 -0
  32. {assertion_cli-0.5.11 → assertion_cli-0.5.12}/tests/test_session_start.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: assertion-cli
3
- Version: 0.5.11
3
+ Version: 0.5.12
4
4
  Summary: CLI for the Assertion API
5
5
  Requires-Python: >=3.13
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: assertion-cli
3
- Version: 0.5.11
3
+ Version: 0.5.12
4
4
  Summary: CLI for the Assertion API
5
5
  Requires-Python: >=3.13
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "assertion-cli"
7
- version = "0.5.11"
7
+ version = "0.5.12"
8
8
  description = "CLI for the Assertion API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.13"
@@ -0,0 +1,26 @@
1
+ # Assertion verification
2
+
3
+ This repo uses the Assertion CLI (`asrt`) to track user intent and verify your work. The full workflow lives in the `assertion-cli` skill:
4
+
5
+ - **Claude Code** — [`.claude/skills/assertion-cli/SKILL.md`](.claude/skills/assertion-cli/SKILL.md)
6
+ - **Codex / Cursor** — [`.agents/skills/assertion-cli/SKILL.md`](.agents/skills/assertion-cli/SKILL.md)
7
+
8
+ Both files are byte-identical — read whichever your agent loads (or either one directly). In brief, follow these three rules for every conversation:
9
+
10
+ 1. **Every user message:** call `asrt prompt "<exact text of the message>"` before doing any other work for that turn. Apply to every user turn, not just the first.
11
+ 2. **Checkpoint at trajectory-feedback moments** with `asrt checkpoint` — a handful across a feature build, not one per file.
12
+ 3. **Verify, then PR with the session marker.** At completion, run `asrt verify` and poll `asrt verify-status` until clean. Then open the PR and embed the hidden session marker — `$(asrt get-link)`, an HTML comment — in its body.
13
+
14
+ **The session marker is mandatory, not optional.** It's an HTML comment carrying the session URL — `asrt get-link` prints exactly this form:
15
+
16
+ ```
17
+ <!-- assertion-session: https://app.tryassertion.com/sessions/<id> -->
18
+ ```
19
+
20
+ Every PR opened from an Assertion session **must** carry it: the Assertion GitHub bot links the PR to the verification session by branch name first, and falls back to this marker when the branch doesn't match — without it, that PR can't be linked. So:
21
+
22
+ - Put `$(asrt get-link)` in the PR body via `gh pr create`/`gh pr edit` — never paste the bare URL into the visible description.
23
+ - After creating or editing the PR, **confirm the marker actually landed in the raw body** (`gh pr view --json body --jq .body | grep -q 'assertion-session:'`). It won't show in the rendered description — that's expected.
24
+ - A missing marker is a **blocking error, not a warning**: do not consider the task done, and do not open a PR at all, until the marker is verified present. Re-run `gh pr edit` with `$(asrt get-link)` and re-check until it passes.
25
+
26
+ See the skill file for the full rules, edge cases, and the exact PR command (section: *Embed the hidden session marker in the PR*).
@@ -1,14 +0,0 @@
1
- # Assertion verification
2
-
3
- This repo uses the Assertion CLI (`asrt`) to track user intent and verify your work. The full workflow lives in the `assertion-cli` skill:
4
-
5
- - **Claude Code** — [`.claude/skills/assertion-cli/SKILL.md`](.claude/skills/assertion-cli/SKILL.md)
6
- - **Codex / Cursor** — [`.agents/skills/assertion-cli/SKILL.md`](.agents/skills/assertion-cli/SKILL.md)
7
-
8
- Both files are byte-identical — read whichever your agent loads (or either one directly). In brief, follow these three rules for every conversation:
9
-
10
- 1. **Every user message:** call `asrt prompt "<exact text of the message>"` before doing any other work for that turn. Apply to every user turn, not just the first.
11
- 2. **Checkpoint at trajectory-feedback moments** with `asrt checkpoint` — a handful across a feature build, not one per file.
12
- 3. **Verify at completion** with `asrt verify`. Once it is clean, open a PR whose body embeds the hidden session marker from `asrt get-link`.
13
-
14
- See the skill file for the full rules, edge cases, and the exact PR command.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes