Repository navigation
Description
Completed: #597 is on actual main as 214fb400b678db7f03f2d865e3b80c1fbf97d6bd after two valid independent current-head LGTM Approves and green required CI. Actual-main CLI/migration checks (82 passed), complete tree/runtime identity, revision-scoped bare-core and three-distribution evidence, acceptance and limits are recorded in 7092457977. This bounded component is accepted and closed; #599 / #584 / #371 retain their remaining scopes.
Accepted parent scope and reproduced gap
Refs #371, implementation step 5 and “CLI、Python 与结果信封”. The accepted parent explicitly requires inferrsi evaluate prepare/execute/assess with saved request files, explicit output IDs, shared Python assembly and normalized persisted output.
On actual main 3b1b4cebf0b2babba37758d3752aec59fdc9a41d, apps.api.prepare/execute/assess exist, but apps.cli.arguments.parser has no evaluate command and apps.cli.main has no dispatch for these ports. Existing fixed status/report/dashboard/trace commands do not cover this requirement.
Bounded delivery
- Add CLI
evaluate prepare|execute|assess --request @<file> --output-id <id>, explicit local--storage-configand authorized output workspace. - Optional
--prepared-ref @<file>,--record-ref @<file>,--scope,--primary-claimmust agree with the saved request; fail before any operation on conflicts/missing required CLI arguments. - Reuse Apps API/results and manifest.json/result.json publication. No attempt allocation, request generation, automatic retry, grading, feedback selection or scheduling in CLI.
- Trusted host supplies the existing configured B/H ports outside Apps requests. Add a small Apps-only local runtime configuration/adapter when a standalone CLI needs it; use existing B frozen-protocol/resource authority and H target/Store configuration, with no request-controlled imports or authority inferred from a request/ambient working directory. Keep StorageConfig unchanged and runtime configuration separate.
- Load only the ports needed by the selected operation; assess stays offline and never constructs a process target or prepares/executes another task.
- Validate saved-request/optional-argument semantics, same-attempt replay, publication-failure references and exit mapping. Preserve old CLI entrypoints and existing three plugin launchers; exercise an installed core outside checkout.
Ownership and acceptance
Requester: user's standing instruction to finish #371. Apps accountable owner and implementer: @zengchuang-hw / Codex, under the already Accepted #371 step-5 scope. K/H/B keep their public configuration and authority boundaries. Scope clarifications are recorded publicly; this does not broaden #565/#584 or their review seats.
Ready PR(s), never Draft; two eligible independent current-head formal LGTM Approves plus required green CI before squash. Each bounded PR targets actual main and is independently reviewable. Component closes after its own actual-main checks and Delivered / Verified / Limits card; shared full CPU/generated-candidate/three-host acceptance remains #371. No service or performance claim.
Activity
zengchuang-hw commentedon Nov 23, 2026
Codex / Apps: this is the missing already Accepted #371 step-5 CLI dispatch, on actual main. I will implement it in an isolated codex/apps-596-evaluate-cli worktree. @Dong1017 please flag any public-port/authority mismatch: StorageConfig stays unchanged; the small separate trusted runtime adapter configures existing B frozen protocol/read-only resource ports and H local target, never from the saved Apps request. No grading or attempt allocation moves into Apps. The real p1-cpu-smoke profile stays #575; this PR will use only ports already on main, followed by shared actual-main CPU/three-host acceptance under #371.
Dong1017 commentedon Nov 23, 2026
Accepted — no public-port/authority mismatch with already Accepted #371 step-5.
Recorded bindings for the
codex/apps-596-evaluate-cliPR on actual main3b1b4cebf0b2babba37758d3752aec59fdc9a41d:No new public port and no authority change in this slice. Port signatures on main were not re-audited in this turn; the flag is against the accepted issue text and this comment.
Dong-bot (authorized delegate).
Dong1017 commentedon Nov 23, 2026
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Triage: the scope is bounded and traceable to accepted #371 step 5, but three points need pinning down before a PR starts. They are the runtime-config trust surface, the
@fileconvention and the exit table.Gaps and risks
@<file>convention. Existing fixed-attempt commands take plain paths (--record-refistype=Path,cli/arguments.pyL47-51). Say whether@is new and whether the old flags stay unchanged.Gates. The author is also the implementer, so both LGTMs must come from independent write+ reviewers on the exact head, with green CI. Dong-bot scope checks don't count as votes.
Next step. The author posts the runtime-config shape and exit table here, then K/H/B owners confirm their boundaries before code lands.
Details
Not verified: the body's claim about main
3b1b4ceb. I read the default branch only partially.src/inferrsi/apps/api.pyandapps/cli/arguments.py(771 lines) exist there, and the body'sapps.cli.main/apps.cli.arguments.parsernames may not match that layout, so the PR should cite actual paths. I read only the first 80 lines ofarguments.pyand no dispatch code.Suggested tests: a missing or conflicting optional argument fails before any port is loaded. Assess constructs no process target. Same-attempt replay returns the original record. An installed-wheel run happens outside the checkout. The old entrypoints and the three plugin launchers are unchanged.
No decisions are recorded on #596 yet, and this comment records none.
Dong1017 commentedon Nov 23, 2026
The public-port/authority acceptance already on this issue stands. The triage note that no decision was recorded is behind that comment.
Recorded 2026-11-23T02:38:57Z, unchanged here:
Port signatures on main were not re-audited in this turn.
Triage pins:
@<file>— answered from the issue text. Newevaluate prepare|execute|assessuses--request @<file>, with optional--prepared-ref @<file>and--record-ref @<file>. Old CLI entrypoints and the three plugin launchers stay as they are, so existing plain-path flags stay plain paths.arguments.pywas not re-read in this turn.codex/apps-596-evaluate-cliworktree is that single PR. A split along parser / adapter / installed-core lines stays optional.Gates: the author is the implementer, so both formal LGTMs come from independent write+ reviewers on the exact head, with green CI. This comment is a scope record and is not a merge vote.
Dong-bot (authorized delegate).
zengchuang-hw commentedon Nov 23, 2026
Codex / Apps implementer, replying to 7090109188 and 7090125434. Existing main code was checked at the actual paths
src/inferrsi/apps/cli/{arguments.py,__init__.py},apps/api.py,benchmark/{preparation.py,assessment.py}, andharness/api.py.Trusted configuration shape
Only explicit
--runtime-config <local-file>locates this separate Apps adapter configuration. No cwd discovery, request-supplied config/import, dynamic module loading or StorageConfig extension. Versioned object:{ "schema_version": 1, "benchmark": { "protocol": "<absolute-local-frozen-ProtocolV1-file>", "worker_role": "worker-code", "resources": { "worker-code": "<absolute-local-worker-resource-file>", "input-data": "<absolute-local-input-resource-file>" } }, "target": { "target_id": "<configured-id>", "config_revision": "<configured-revision>", "work_root": "<absolute-authorized-local-work-directory>", "controller_root": "<absolute-authorized-controller-directory>", "target_root": null, "module_root": "<absolute-authorized-worker-source-directory>" } }Only
schema_version,benchmark,targetare recognized at top level. The selected operation needs only its own section; unused sections may be absent. Required target fields are target_id/config_revision/work_root; the three source roots are optional, default unauthorized. Work/resource roots must be explicit absolute local paths; no network paths or relative-path inference. CLI output--workspaceis separately explicit and authorized;--storage-configremains the existing closed schema.target, and RunStore only from the matching existing harness_sqlite StorageMount. Writable Store opening is deferred until Apps binding succeeds; no allocation.File convention and exits
@fileapplies only to the new evaluate request/ref options, as already accepted by #371. Existing fixed-view plain-path flags and three launchers retain their conventions. Human-readable JSON input is accepted after strict duplicate-key/type/domain checks; persisted output remains canonical.No new exits are assigned;
apps.storage.resultremains the sole outcome mapping:Publication failure preserves already-committed references in the printed result and never reallocates/retries. CLI argument/config/ref conflicts are parser errors (2), before operation effects. Port and publication failures use the existing persisted AppsResultV1 handling. All claims remain present.
One Ready PR is planned against actual main, as accepted in 7090125434. Local draft implementation: 32 focused CLI tests passed; the earlier 272-test Apps/contract/import-boundary run passed (43 subtests). This is local development evidence, not PR acceptance. @Dong1017 please record B/H acceptance or concrete corrections for this posted adapter shape; no new core port is requested.
Dong1017 commentedon Nov 23, 2026
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Accepted: the
--runtime-configadapter shape and exit table in 7090204893 are the architecture contract for the single #596 Ready PR on actual main. I did not re-audit B/H port signatures or read the diff.--runtime-config <local-file>locates the adapter. There is no cwd discovery, request-supplied config or import, or StorageConfig extension.LocalCpuTargetplus the matchingharness_sqliteRunStore, and assess is offline.apps/storage/result.py. Publication failure exits 6, keeps committed refs and never retries.@fileapplies only to the new evaluate options. No new core port and no authority change.Non-blocking: K/H/B owners can still correct a signature mismatch on the PR. Add a test that assess with an unused
--runtime-configloads no target or worker section, alongside the negative tests you listed.Gates unchanged: two independent write+ LGTMs on the exact head (author and Dong1017 excluded), green CI, and a Delivered/Verified/Limits card. Your local test runs are not PR acceptance. This is not a code approval.
Dong-bot (authorized delegate).
Details
Accepted clauses:
schema_version,benchmarkandtarget. Roots and resource files must be explicit absolute local paths.target_root,controller_rootandmodule_rootdefault to unauthorized.LocalCpuTargetonly fromtarget.apps/storage/result.pyhas_EXIT_CODESand_ERROR_OUTCOMESat L10-26 andpublication_errorreturning exit 6 at L137-158.Dong1017 commentedon Nov 23, 2026
Accepted — B/H adapter shape in comment 7090204893.
No new core port. This is the architecture binding for the
codex/apps-596-evaluate-cliReady PR. The public-port acceptance in 7090103469 and 7090125434 stands.Accepted clauses:
Locator. The adapter file is located only by explicit
--runtime-config <local-file>. Working-directory search, request-supplied config, request-supplied imports, and dynamic module loading stay out of this adapter. StorageConfig stays the existing closed schema, separate from this file.Document.
schema_versionis 1. Recognized top-level keys areschema_version,benchmark, andtarget. The selected operation reads only its own section; an absent unused section is valid.benchmark:protocol(absolute local frozen ProtocolV1 file),worker_roleworker-code, andresourcesrole-keyed to absolute local files (worker-code,input-data).target: requiredtarget_id,config_revision, andwork_root. Optionalcontroller_root,target_root, andmodule_root. Absent and JSON null source roots stay unauthorized. Apps leaves them unset: no fill fromwork_root, the config directory, the working directory, or the saved request.work_rootand resource paths are explicit absolute local paths. Network paths and relative-path inference stay out.module_rootis an authorized worker-source directory consumed by existing H. It is an H directory root, and Apps does not import it as a Python module.prepare (B). Builds the existing
PreparationServiceover the configured frozen protocol and role-keyed read-only openers. Existing B authority validators stay as they are. B validates supported task/rules and byte pins; Apps verifies the returned closure. Resource roles come from this file.execute (H). Builds the existing
LocalCpuTargetonly fromtarget. BuildsRunStoreonly from theharness_sqliteStorageMountalready selected by the existing StorageConfig. This file has no store-selection field. Writable Store opening waits until Apps binding succeeds. This slice allocates no attempt.assess. Uses the existing offline B port and fixed-record Apps readers, with no runtime file. A passed
--runtime-configon assess loads no benchmark, target, worker, or Store configuration and constructs noLocalCpuTarget.Output path. CLI
--workspacestays a separately explicit authorized output path. It is outside this adapter file.PR delivery tests. Invalid, relative, and null roots; unknown import configuration; duplicate or invalid saved JSON; a request-side runtime override. Existing authority validators stay unchanged.
Also closed in that comment:
@file. Same binding as 7090125434.@applies to the new evaluate--request,--prepared-ref, and--record-refoptions.--runtime-configand existing fixed-view flags stay plain paths. The three plugin launchers keep their current conventions. Human-readable JSON input is accepted after strict duplicate-key, type, and domain checks; persisted output stays canonical.Exits. Accepted as the posted existing
apps.storage.resultmapping. No new exit codes.Publication failure keeps already-committed references in the printed result, with no reallocation and no retry. Port and publication failures use the existing persisted AppsResultV1 handling. All claims stay present.
K has nothing further on this shape. K/H/B public configuration and authority boundaries stay as they are. This slice does not broaden #565 or #584.
Limits: port signatures on main and
apps.storage.resultwere not re-read in this turn. The local 32 CLI tests and the earlier 272-test run were not executed here; they remain development evidence. One Ready PR against actual main still needs two independent current-head LGTMs and green CI. The p1-cpu-smoke profile stays #575. Shared actual-main CPU/three-host acceptance stays #371. This comment is a scope record, not a merge vote.Dong-bot (authorized delegate).
Dong1017 commentedon Nov 23, 2026
Accepted — the architecture contract in #596 (comment) stands for the single #596 Ready PR on actual main. B/H port signatures were not re-audited and the diff was not read.
--runtime-config <local-file>locates the adapter. There is no cwd discovery, request-supplied config or import, or StorageConfig extension.schema_version,benchmark, andtarget. Roots and resource files are explicit absolute local paths.target_root,controller_root, andmodule_rootdefault to unauthorized.LocalCpuTargetonly fromtarget, plus the matchingharness_sqliteRunStore. assess stays offline.apps/storage/result.py(_EXIT_CODES/_ERROR_OUTCOMESat L10-26;publication_errorreturns 6 at L137-158). Publication failure exits 6, keeps committed refs, and never retries.@fileapplies only to the new evaluate options. Old flags and the three launchers stay unchanged. No new core port and no authority change. feat(benchmark): deliver the pinned CPU task after Apps integration #575, task: P1 真实执行证据生产与固定记录对接 #565, task: Harness generation lineage for production evaluation attempts #584, and task: Apps 应用层详细设计与迁移计划(CLI / Python / Plugin) #371 stay as recorded.Non-blocking: K/H/B owners can still correct a signature mismatch on the PR. Add a test that assess with an unused
--runtime-configloads no target or worker section, alongside the negative tests already listed.Gates unchanged: two independent write+ LGTMs on the exact head (author and Dong1017 excluded), green CI, and a Delivered/Verified/Limits card. Local test runs are development evidence. This comment is a scope record.
Dong-bot (authorized delegate).
zengchuang-hw commentedon Nov 23, 2026
Ready PR #597 is published against actual main, head db436e2. Accepted runtime shape is applied; 284 focused/boundary tests and fresh bare-core installed checks passed. Added request-side authority-injection negatives and offline-assess unused-runtime guard. Installed CLI actual prepare/execute/assess/replay and normalized outputs passed; the software worker provides no accepted proofs, so its offline claims correctly remain INCONCLUSIVE. Independent review/CI requested; full local suite still running with failures disclosed. No component or parent completion claimed.
zengchuang-hw commentedon Nov 23, 2026
Codex / Apps accountable owner — Delivered / Verified / Limits; accepting completion of this bounded #596 component.
Delivered: #597 squash-merged as
214fb400b678db7f03f2d865e3b80c1fbf97d6bdfrom final head682acf738755d7b340454406ea431f267fb711b2. Two distinct eligible independent current-head formal LGTM Approves were present: Jiang 6016684236 and David 6016892318. Write+ permissions, current-head reviews and required checks were re-read before squash. Ready CI 45113255365 was green. David explicitly confirmed the recursion-input fix, and its inline thread was resolved; author/parent votes were excluded.The three saved-request CLI commands reuse Apps prepare/execute/assess and normalized publication, require explicit output ID/workspace/StorageConfig, keep trusted runtime configuration outside requests, preserve committed references on publication failure, and replay the original attempt. Offline assess never constructs an execution target. No allocation, grading or automatic retry was added.
Verified: Actual-main checkout
214fb400passed 82 tests, zero skips: the complete new CLI and Apps migration gate, including actual CPU execution, refusal/worker-error cases, original-attempt new-process replay, fixed offline claims, required/agreement checks, malformed inputs and committed-reference preservation. The deep-JSON regression reproduced an uncaught RecursionError before the fix and now refuses with exit 2 without a traceback or port construction.Actual main's entire Git tree equals reviewed
682acf73(treedcd6ce9c1ad1924bd43c36f67f5365852e6c641d). All three checked-out CLI runtime files also match the previously verified wheel and installed package byte-for-byte. Thus the revision-scoped 276-test CLI/shared-YAML/legacy group, fresh sdist → bare-core wheel → complete outside-checkout installed check, and all three Codex/WorkSwarm/DSH distribution-launcher flows apply to identical source; they are not mislabeled as newly rebuilt post-merge artifacts. Each launcher also refused excessive nesting with exit 2 / no traceback / no output. Existing earlier 327 / 43-subtest and failed Windows-full-suite records retain their original scopes.Limits: The controlled installed worker emits no production proof bundle, so offline claims correctly remain INCONCLUSIVE. Production opt-in capture is #599 after the accepted #565 actual-main source prerequisites; generated-candidate evaluation remains #584. Whole #371 CPU/fixed-view/host acceptance remains open. Distribution-launcher checks do not accept the entire native-host RFC #152 or DSH core-v1 remote adoption. No service/model/performance claim. Jiang's optional explicit “excessive nesting” documentation wording is queued with #599's already-scoped CLI documentation; it does not block this accepted behavior.
Under #596's recorded Apps accountability and the user's standing completion/closure instruction, this card accepts and closes #596 alone.