WIP: Select counted head and tail streams #23

Draft
erikinkinen wants to merge 7 commits from feature/native-counted-head-tail into feature/native-printf-formatting
Owner

Parse complete u64 line and byte selections and execute them through admitted input and output streams. Preserve one-based selection and EOF behavior.

Depends on #22.

  • Cover complete counts, binary bytes, final records, partial I/O and uncertain cleanup without replay.
  • Build the native head/tail adapters against the selected inherited-stream providers.

The underlying stream-authority release-image demonstration remains tracked by #20.

  • Demonstrate native head/tail on the matching image: counted line/byte selections, final records, partial output and stream retirement.
Parse complete u64 line and byte selections and execute them through admitted input and output streams. Preserve one-based selection and EOF behavior. Depends on #22. - [x] Cover complete counts, binary bytes, final records, partial I/O and uncertain cleanup without replay. - [x] Build the native head/tail adapters against the selected inherited-stream providers. The underlying stream-authority release-image demonstration remains tracked by [#20](https://git.erikinkinen.fi/erix/coreutils/pulls/20). - [ ] Demonstrate native head/tail on the matching image: counted line/byte selections, final records, partial output and stream retirement.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 12:05:15 +01:00
feat: Select counted head and tail streams
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 6s
CI / rust (push) Failing after 48s
0d1ddb3920
Parse complete u64 line and byte selections and execute them through the admitted input and output streams. Preserve one-based selection and EOF behavior.
docs: Repair Markdown paragraph wrapping
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Failing after 1m10s
f0a3156b0d
Keep the original feature prose and all source inputs while correcting
Markdown spacing and line wrapping.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / rust (push) Failing after 36s
3c1b6cf11e
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 6s
CI / rust (push) Failing after 1m30s
ac74e0f690
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
fix: Integrate stream prerequisites into counted selection
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Failing after 1m6s
482c04b3e9
Retain the explicit ordinary-stream provider and completed lifetime fixes. Preserve the selection branch’s stronger all-command packet-custody guard and once-only unwind expectations while using the read-only fixture ledger API.
fix: Preserve selection callback backing and completed prefixes
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Failing after 1m7s
bb900115f0
Integrate the common stream guard and retain selection-specific progress rules. Keep original packet bytes and all remaining owners held after an unreturned callback, while accounting for positively completed retirements before it.
test: Reach count parsing through valid native startup
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 1m49s
38629d6cf4
Use an admissible nonnumeric count operand for the native refusal control. Embedded NULs are rejected by startup framing before applet execution, so they cannot exercise the intended count-parser and no-consumption boundary.
erikinkinen changed title from WIP: Select counted head and tail streams to Select counted head and tail streams 2026-11-13 19:53:40 +01:00
erikinkinen changed title from Select counted head and tail streams to WIP: Select counted head and tail streams 2026-11-13 20:05:23 +01:00
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 1m49s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/native-counted-head-tail:feature/native-counted-head-tail'
git switch 'feature/native-counted-head-tail'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/native-printf-formatting'
git merge --no-ff 'feature/native-counted-head-tail'
git switch 'feature/native-counted-head-tail'
git rebase 'feature/native-printf-formatting'
git switch 'feature/native-printf-formatting'
git merge --ff-only 'feature/native-counted-head-tail'
git switch 'feature/native-counted-head-tail'
git rebase 'feature/native-printf-formatting'
git switch 'feature/native-printf-formatting'
git merge --no-ff 'feature/native-counted-head-tail'
git switch 'feature/native-printf-formatting'
git merge --squash 'feature/native-counted-head-tail'
git switch 'feature/native-printf-formatting'
git merge --ff-only 'feature/native-counted-head-tail'
git switch 'feature/native-printf-formatting'
git merge 'feature/native-counted-head-tail'
git push origin 'feature/native-printf-formatting'
Sign in to join this conversation.
No description provided.