Skip to content

xargs builtin — POSIX-flavored parallel/batch execution #78

Description

@tobert

Counterpart to the scatter/gather JSONL redesign (#73): scatter/gather is becoming the kaish-native typed parallel map (JSONL result records, typed ITEM), which deliberately drops any pretense of POSIX text ergonomics. xargs is the planned home for the POSIX flavor: bare lines in, argv out, familiar flags (-n, -P, -I{}, -0 subset per the 80% rule), bare-stdout results.

Scope sketch (not designed yet):

  • newline-delimited stdin (and -0), items appended to the command argv
  • -P N parallelism sharing the scatter runner's fork machinery
  • exit codes per the xargs contract (123 on any failure) — which is also the prior the scatter/gather panel is testing
  • no typed .data involvement; this tool is the text boundary

Design pass + model panel before implementation, same as #73.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions