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>
39 lines
1018 B
C++
39 lines
1018 B
C++
#ifndef INTERNAL_HPP
|
|
#define INTERNAL_HPP
|
|
#include "group.hpp"
|
|
#include <array>
|
|
namespace ag {
|
|
struct Cell {
|
|
bool live = false;
|
|
Number owner = -1;
|
|
Number generation = 0;
|
|
Number value = 0;
|
|
Number writable = 0;
|
|
};
|
|
struct GroupRecord {
|
|
bool live = false;
|
|
Number generation = 0;
|
|
Number first = -1;
|
|
Number count = 0;
|
|
Number writable = 0;
|
|
};
|
|
struct Registry::State {
|
|
std::array<std::array<Cell, 16>, 4> cells{};
|
|
std::array<std::array<GroupRecord, 8>, 4> groups{};
|
|
std::array<std::array<Number, 8>, 4> epochs{};
|
|
};
|
|
bool parent_valid(Number value);
|
|
bool group_valid(Number value);
|
|
bool name_valid(Number value);
|
|
bool value_valid(Number value);
|
|
bool bytes_valid(Number value);
|
|
bool publication_valid(Number parent, Number group, Number first, Number count,
|
|
Number writable);
|
|
Change change_error(Code code);
|
|
Reading reading_error(Code code);
|
|
Writing writing_error(Code code);
|
|
GroupInfo group_error(Code code);
|
|
Listing listing_error(Code code);
|
|
}
|
|
#endif
|