Batch 21 (20261027-A-bos-redo-21) rebuilt 40 of the 53 rejected Bos-qiao environments: hidden assertions that ran inside the candidate's process now run in a trusted parent that reads observations from a low-UID worker; gold bytes are unchanged. 9 were excluded for scope (ROS2, oversize, security core), 3 are blocked because the source requires an exec bit the platform does not freeze, 1 lacks requests/bs4 in trace6. Batch 18 (20261026-C-hwe-codegen-18) adds its last 34 of 134 tasks; the first 100 landed in 2f32624d. Claude reviewed 74/74 USABLE against current digests, canonical families, no ID or source overlap with main, plain public docs. Only the new task directories are taken; the stale pre-batch-20 copies of concur-release-capsule and resource-temp-link on the batch 21 branch and both branches' progress notes stay as main has them. Difficulty is unmeasured. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
1.9 KiB
JSON
7 lines
1.9 KiB
JSON
{
|
|
"identity.hpp": "#pragma once\n#include <cstdint>\n#include <iosfwd>\n#include <memory>\n#include <vector>\nnamespace identity {\nenum class Code { OK, RANGE, MISSING, EXISTS, BUSY, ZOMBIE, DENIED, NOT_CHILD, RUNNING, NO_GROUP, CROSS_SESSION };\nstruct Result { Code code; int value; };\nstruct Process {\n Code code;\n int pid;\n int ppid;\n int pgid;\n int sid;\n bool live;\n int status;\n bool group_leader;\n bool session_leader;\n};\nstruct Group {\n Code code;\n int id;\n int sid;\n int members;\n bool leader_live;\n std::uint64_t mask;\n};\nstruct Session {\n Code code;\n int id;\n int groups;\n int members;\n bool leader_live;\n std::uint64_t mask;\n};\nstruct Stats {\n int tracked;\n int live;\n int zombies;\n int groups;\n int sessions;\n std::uint64_t births;\n std::uint64_t exits;\n std::uint64_t reaps;\n};\nclass Ledger {\npublic:\n Ledger();\n ~Ledger();\n Ledger(const Ledger&) = delete;\n Ledger& operator=(const Ledger&) = delete;\n Result seed(int pid);\n Result fork_process(int parent, int child);\n Result setsid(int pid);\n Result setpgid(int caller, int target, int group);\n Result exit_process(int pid, int status);\n Result reap(int parent, int child);\n Process inspect(int pid) const;\n Group group(int pgid) const;\n Session session(int sid) const;\n Stats stats() const;\n std::vector<Process> snapshot() const;\nprivate:\n struct Impl;\n std::unique_ptr<Impl> data_;\n};\nstruct CliResult { int lines; int syntax; int errors; bool limited; };\nCliResult run_cli(Ledger&, std::istream&, std::ostream&);\n}\n",
|
|
"main.cpp": "#include \"identity.hpp\"\n#include <iostream>\nint main() {\n identity::Ledger ledger;\n identity::run_cli(ledger, std::cin, std::cout);\n return 0;\n}\n",
|
|
"smoke.expected": "R OK 7\nR OK 9\nP OK 9 7 7 7 1 0 0 0\n",
|
|
"smoke.in": "seed 7\nfork 7 9\nproc 9\n"
|
|
}
|