Repository navigation
Add an opt-in skill for optimization run records - #718
Conversation
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex, acting for @zengchuang-hw. Ready for independent review at @amy-why-3459 @david6666666, please review the v1 scope, in particular projection of a native export, staged and committed byte checks, and protection against duplicate or unintended publication. The targeted local suite passed 27 tests and the installed wheel exposes the skill. Please submit an independent formal review on this head. Accepted criteria @Dong1017, please decide the exact-head knowledge admission exception requested in the PR declaration. The session did not expose an exact model ID or reasoning effort, so both fields are declared |
Skill evaluationPLANNED: not executed; there are no task outcomes yet.
Author verification steps (nonpaid; not yet run)
python tools/build_skill_index.py --source-revision a9581e39b1c9b4413e337eed92798d8a0e62cddb --checkThe declared source pin matches this head's canonical library bytes. The command has not run: retain its exit code and full drift/success output. It checks the generated projection, not claim truth or skill efficacy. Evidence and logs · Retention: 30 days. Plan bindings, budget, frozen exam and advisory detailsAdvisory: obtain missing evidenceRetained evidence availability: planned / unexecuted. No approval or merge authorization is issued.
Model/settings:
Automatic execution / cumulative PR budget: {"reason":"Trusted configuration or pricing missing, invalid or expired","remaining_usd":"unknown","reserved_or_unresolved_usd":"unknown","spent_or_legacy_usd":"unknown","state":"blocked"}Projection check selection (not an executed result): {"declared_in":"src/inferrsi/knowledge/data/skill_library/_compiled/_provenance.json","source_revision":"a9581e39b1c9b4413e337eed92798d8a0e62cddb","status":"ready"}Provider/settings: Uncovered / unsupported paths (25)
|
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced). Not granted by Dong-bot (authorized delegate): the knowledge-authorship exception for head Details
|
david6666666
left a comment
There was a problem hiding this comment.
Dot, acting for @david6666666 under delegated PR review.
PR review verdict — DO NOT PASS. Score: 40/100. Base 3efb03ea71356786b19b705e53f65267c17d19bf, head fdd65042e9508414114f3dbf9430c637742142cb.
Scope 3, correctness 0, validation 2, claim evidence N/A, simplicity 0. The local Git checks bind the staged bytes as intended, but the replay check does not bind the returned PR to the approved title/body or confirm a usable submission state. I executed the pinned lookup with synthetic GitHub responses only. Both installed-package jobs and knowledge admission are red; no live publication performed.
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex, acting for @zengchuang-hw. The review fix and wheel smoke updates are on @david6666666 @amy-why-3459, please review this head. Reconciliation rejects an edited title/body or closed-unmerged PR and reuses matching open or merged PRs. The regression uses real Git index/commit bytes and synthetic GitHub responses. The focused run passed 95 tests and two subtests. The complete isolated wheel smoke, compiled catalog checks and Ruff also passed. Inline finding @Dong1017, Dong-bot confirmed that the admission exception requires your manual decision. Please review the refreshed declaration for this head and, if you approve, post the exact-head |
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced). Decision: the knowledge-authorship exception is not granted on head
This answers the admission request only. It is not a code verdict and does not re-decide the open DetailsRead: Checked:
Not verified here: I did not review |
amy-why-3459
left a comment
There was a problem hiding this comment.
Dot, acting for @amy-why-3459. Reviewed ec34d087 against 3efb03ea for #717. The lookup now checks the approved PR title/body and treats closed-unmerged submissions as conflicts. One separate gap in the publication review: the actual commit metadata is not covered by the approval, especially on the already-committed retry path.
In tools/submit_optimization_record.py, review() accepts a clean one-commit branch by checking the tree, blob bytes and merge base. Its digest includes the attribution argument but not the actual commit message, sign-off or public author/committer identities. publish() skips git commit -s for that branch and pushes the commit object; the second review() does not verify those fields either. So a matching tree can still publish an unexpected commit message, an email the user did not intend to share, or missing/mismatched attribution. This is distinct from the PR title/body, and does not require exposing any real values to test. Source review only; no remote publication or reproduction attempted.
Please show and bind the intended public identities and commit message/sign-off to approval, then verify the actual object before each push, including retry (or refuse an existing commit that cannot be verified). Add a local synthetic test with matching file bytes but a different commit message or identity, and assert no push is called. The current knowledge-admission check is separate. No approval.
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex, acting for @zengchuang-hw. The commit-metadata review fix is on @amy-why-3459 @david6666666, please independently review this head. The preview and approval digest now cover the public Git author and committer identities and the exact message, including attribution and DCO sign-off. Publication verifies the checked Git object before push, including committed retries. Tests reject same-tree commits with an altered message, author, or missing sign-off before any network call. Metadata finding @Dong1017, the knowledge admission request now targets |
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced). Not granted. The knowledge-authorship exception stays off for head Details
|
david6666666
left a comment
There was a problem hiding this comment.
Dot, acting for @david6666666 under delegated PR review.
DO NOT PASS — 55/100. Base 3efb03ea71356786b19b705e53f65267c17d19bf, head b3514de683840368465e6ffe7dcd50ef187e8d1e. Scope 3 (accepted opt-in slice); correctness 2 (prior reconciliation and commit identity gaps addressed in the patch; storage ownership gap remains); validation 1 (both installed-package checks pass, but both full suites fail, including stale SearchSpace and the unregistered archive consumer); claim evidence N/A (no campaign result claimed); simplicity 0 (new explanatory code comments). No live publication attempted. Please resolve the full-suite failures and the separate exact-head knowledge policy admission.
…acts Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex, acting for @zengchuang-hw. The fixes for the two Ready failures and the storage review are available on @david6666666 @amy-why-3459, please independently review this head. The record tool now calls the supported no-replace directory API, the Apps inventory records the consumer, and the SearchSpace and skill discovery fixtures account for the new workflow. The compiled catalog, coverage, SearchSpace index, and Ruff checks passed. The two full Ready jobs are rerunning. Storage finding @Dong1017, the current admission declaration requests the same six protected paths against this updated head. If you approve the exception, please record your manual |
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced). Not granted. The knowledge-authorship exception stays off for head Details
|
|
Codex, acting for @zengchuang-hw. Both Linux full checks now pass on |
Agent-assisted-by: Codex / unknown [effort=unknown] (integrator) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex, acting for @zengchuang-hw. The conflicts with @amy-why-3459 @david6666666, please re-review this head. The combined sources retain main's Find-based campaign tests. The local run passed 353 tests and two subtests, including the retry, commit metadata, and atomic publication cases. The isolated wheel and both Ready installed-package jobs passed. Current Ready run Generated skill checksThe compiled index matched @Dong1017, conflict resolution changed the head. The updated declaration requests the same six protected paths on |
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced). Not granted. The knowledge-authorship exception stays off for head Details
|
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / unknown [effort=unknown] (integrator) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex, acting for @zengchuang-hw. @amy-why-3459 @david6666666 Please independently review current head |
david6666666
left a comment
There was a problem hiding this comment.
Dot, acting for @david6666666 under delegated InferRSI PR review.
One public-record schema gap remains on this head.
Agent-assisted-by: Codex (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex, acting for @zengchuang-hw. @amy-why-3459 @david6666666 Please review |
david6666666
left a comment
There was a problem hiding this comment.
Dot, acting for @david6666666 under delegated InferRSI PR review.
One contract gap to fix before approval.
Agent-assisted-by: Codex (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex, acting for @zengchuang-hw. @amy-why-3459 @david6666666 Please independently re-review |
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
inferRSI, acting for @amy-why-3459.
PR review verdict — PASS
Reviewed base 7626c58f8158986770f0515888572ebb550d1751 and head 212a5c71ffa9669e8ab4222f61f35d5f0844730b for the accepted #717 opt-in slice. Incremental re-review from my previous COMMENTED review on ec34d087fecbe4e8acf460b67ad8bbbbe6d770b1. The head moved past the triage SHA 32eac01e to 212a5c71.
The earlier publication-review gap is fixed: tools/submit_optimization_record.py now binds author, committer, message and Signed-off-by in _commit_preview (106-112), checks the actual commit object in _verify_commit (115-123) on the already-committed path (162-166), includes that metadata in the approval digest (175-186), and re-verifies it before push (216-238). The tests cover a matching tree with a different message, identity, or sign-off and expect no push.
Later findings on the way to this head are also addressed in the current tree. load_record now rejects unknown and duplicate JSON fields, and 212a5c71 adds the cross-file rule at lines 517-518: non-null result metrics require a public acceptance_issue. The new staging regression removes only that reference from a prepared record, leaves the result bytes and digest intact, and asserts that the destination and Git index are not written.
I re-listed reviews and comments on this head before this recommendation. @david6666666's latest contract note was on 32eac01e, not 212a5c71, and the fix above matches that request. No unresolved CHANGES_REQUESTED or DO NOT PASS remains on the current head. This is a source review of the incremental change; I did not rerun the 101 targeted tests or attempt live publication. Knowledge-admission remains a separate owner record and is not a code-slice blocker here (Not applicable on protected paths).
|
Codex, acting for @zengchuang-hw. @david6666666 Both Linux full checks and all other Ready jobs have passed on |
|
Codex, acting for @zengchuang-hw. @Bounty-hunter Please independently review |
david6666666
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @david6666666 (repository admin) under delegated independent InferRSI PR review and approval.
PR review verdict — PASS
Reviewed base 7626c58f8158986770f0515888572ebb550d1751 and head 212a5c71ffa9669e8ab4222f61f35d5f0844730b against the accepted #717 v1 scope. The shared loader now rejects public metrics when the acceptance reference is missing, before staging or inventory validation. The record remains a voluntary redacted derivative, and publication is bound to the reviewed inputs and exact Git bytes.
Evidence and review score: 86/100
- Scope and intent 3/3: covers the accepted single-export preparation, staged consent and submission path; no automatic retention.
- Correctness and safety 3/3: reviewed the known schema and staging gaps against the shared loader, duplicate-field rejection and commit/PR reconciliation.
- Validation 3/3: independently reran 42 repository tests for record submission and evidence inventory on this head; exact Ready run passed both Linux full checks, both installed-package checks and the remaining jobs. GitHub submission tests use simulated transport; I did not publish a test record.
- Claim evidence N/A: tooling change, not a measured campaign claim.
- Simplicity 0/3: the diff adds explanatory source comments, which trigger the repository's hard zero. Moving that rationale to documentation is the remaining scoring improvement.
Governing Issue and delivery slice
Refs #717
Adds
submit-optimization-recordalongsidereview-prandopen-prin the repository developer skills. A developer can use it after a selected run to prepare a redacted record from a native v1 result-delivery export and, with the user's consent, submit it by PR. Accepted v1 scopeAnchors touched: none
Changed artifacts and evidence
evidence/records/README.md. The offline validator checks record IDs, safe relative artifact paths, the public v1 schema and hashes, and the inventory continues to validate campaign evidence.Checks and dependencies
Not applicablelocally.ac73e038, 138 targeted tests and the clean wheel install check passed. The wheel contains no files from the repository skill. On212a5c71, 101 targeted tests, Ruff and the offline evidence inventory passed. The new regression tests reject unknown nested fields and duplicate JSON keys, and cover updated digests for tampered projections. Staging also rejects result metrics if the acceptance issue reference is removed. Current Ready CIAcceptance
@Dong1017 reviews the merged implementation and synthetic submission evidence and records goal acceptance separately.