Skip to content

chore(specs): simplify specs — remove duplication, trim stale content#1270

Merged
chaliy merged 1 commit intomainfrom
claude/simplify-specs-review-bwPbs
Apr 13, 2026
Merged

chore(specs): simplify specs — remove duplication, trim stale content#1270
chaliy merged 1 commit intomainfrom
claude/simplify-specs-review-bwPbs

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Apr 13, 2026

Summary

  • Delete 008-posix-compliance.md — fully duplicated by 009-implementation-status and heavily outdated (listed getopts/command/type/hash as "Future Work" when all are implemented; claimed trap was "excluded" when it's implemented)
  • Trim 001-architecture.md (142→55 lines) — remove stale directory tree (missing git/, ssh/, scripted_tool/) and copied public API
  • Trim 002-parser.md (178→65 lines) — remove Token enum and AST struct definitions copied from code
  • Trim 003-vfs.md (591→163 lines) — remove copied Rust trait definitions, keep design decisions and decision tree
  • Trim 004-testing.md (395→150 lines) — remove stale count tables that conflict with 009 (said 790 tests, 009 says 2,463)
  • Trim 005-builtins.md (316→130 lines) — remove per-flag command reference, keep design decisions (Builtin trait, ShellRef, ExecutionPlan)
  • Update 015-ssh-support.md — Phase 1 status from "In Progress" to "Implemented" (1,700 lines of code exist)
  • Update AGENTS.md spec table — remove deleted spec, add 015-ssh-support
  • Fix dangling references in docs/security.md, compatibility.md, 009-implementation-status.md

Net: 1,143 lines removed (7,647 → 6,504), 22 → 21 spec files.

Test plan

  • No code changes — specs and docs only
  • All references to deleted 008-posix-compliance.md updated to point to 009-implementation-status.md
  • grep -r "008-posix-compliance" . returns no results

- Delete 008-posix-compliance.md (fully duplicated by 009, heavily outdated)
- Trim 001-architecture.md: remove stale directory tree + copied API
- Trim 002-parser.md: remove Token/AST definitions copied from code
- Trim 003-vfs.md: remove copied Rust trait definitions, keep design decisions
- Trim 004-testing.md: remove stale count tables (009 is source of truth)
- Trim 005-builtins.md: remove per-flag reference (keep design: trait, ShellRef, ExecutionPlan)
- Update 015-ssh-support.md: Phase 1 status → Implemented
- Update AGENTS.md spec table: remove posix-compliance, add ssh-support
- Fix references to deleted spec in docs/security.md, compatibility.md, 009

Net: 1,143 lines removed (7,647 → 6,504), 22 → 21 spec files.
@chaliy chaliy merged commit 5489c0a into main Apr 13, 2026
18 checks passed
@chaliy chaliy deleted the claude/simplify-specs-review-bwPbs branch April 13, 2026 23:10
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