Skip to content

Drop sprint/story/FR references from code and docs#152

Merged
uzyn merged 2 commits into
mainfrom
worktree-drop-sprints
Apr 24, 2026
Merged

Drop sprint/story/FR references from code and docs#152
uzyn merged 2 commits into
mainfrom
worktree-drop-sprints

Conversation

@uzyn
Copy link
Copy Markdown
Owner

@uzyn uzyn commented Apr 24, 2026

Summary

  • Strips all inline references to sprint IDs, story numbers, and FR citations from the code, tests, agent plugin READMEs, book docs, CI workflows, and build scripts — 57 files, ~500 stripped references.
  • Technical content is preserved verbatim; only the cross-references (e.g. // Sprint 2 S2-3: … prefixes, (FR-13b) parentheticals, Hardening PRD §6.4 / S3-1: citations, "S6-1 e2e test" fixture strings) go.
  • docs/ (separate repo, symlinked) is untouched — the sprint plan itself still lives there.

Why

Sprint/story IDs and PRD FR numbers point at planning docs readers of this repo don't have open, and the numbering rots as sprints are renumbered or PRD sections rewritten. The in-code citations just confuse future readers. This change makes the code and user-facing docs read standalone.

Notable non-comment changes

  • tests/integration.rs: fixture email subject "S6-1 e2e test""end-to-end test" (matching assertion updated).
  • src/agent_setup.rs: removed the assert!(text.contains("FR-50c")) check on aimx-primer.md; the surrounding /var/lib/aimx/ / inbox/ / sent/ assertions remain.
  • tests/integration.rs: five #[ignore = "requires root (Sprint 4 §6.5: ...)"] tokens → "requires root; MAILBOX-CRUD is root-only; ...".
  • hook_templates_defaults.rs test reason string rewritten to describe the invariant directly (webhook template ordering) instead of citing the PRD section.

Test plan

  • rg 'sprint|\bSprint\b|\bS[0-9]+[-.][0-9]+|FR-[0-9]' across tree (excluding docs/, target/, .git/): zero hits.
  • cargo fmt -- --check — clean in both crates.
  • cargo build — clean.
  • cargo clippy --all-targets -- -D warnings — clean in both crates.
  • cargo test — 1344 passing. 1 pre-existing macOS-only failure (uds_authz::tests::lookup_unknown_uid_returns_none, caused by macOS mapping UID 4294967294 to nobody; aimx is Linux-only and CI runs ubuntu-latest).
  • cd services/verifier && cargo test — 42 passing. 1 pre-existing macOS-only SMTP line-reader test failure; unrelated to this change (diff in that file is two comment-only edits).
  • CI on ubuntu-latest validates the full suite.

uzyn added 2 commits April 25, 2026 00:45
These citations pointed at sprint plans and a PRD living in a separate
repo (aimx-docs), and the numbering rots: story IDs get renumbered and
FR sections get rewritten. Future readers of this repo don't have that
context, so the references just confuse.

The technical content stays; only the cross-references go. Patterns
stripped include `Sprint N SN-X:` banners, `(FR-X.Y)` parentheticals,
`Hardening PRD §X.Y / S N-Z:` prefixes, and test-assertion strings
citing retired sprint numbers.

Book release notes and agent plugin READMEs drop "agent-integration
Sprint N" qualifiers and `FR-49` citations — the design principle
stays as plain prose.
# Conflicts:
#	.github/workflows/ci.yml
#	.github/workflows/release.yml
@uzyn uzyn merged commit dc782c8 into main Apr 24, 2026
5 checks passed
@uzyn uzyn deleted the worktree-drop-sprints branch April 24, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant