Skip to content

feat(codex): add opt-in InferRSI-Jiusi interview - #628

Draft
psv666 wants to merge 1 commit into
InferMatrixLab:mainfrom
psv666:feat/codex-jiusi
Draft

psv666 wants to merge 1 commit into
InferMatrixLab:mainfrom
psv666:feat/codex-jiusi

Conversation

@psv666

@psv666 psv666 commented Nov 24, 2026 •

Copy link
Copy Markdown

Summary

Add an optional Codex entry that elicits the user's goals, tradeoffs, prior experiments and constraints before InferRSI begins an experiment.

$inferrsi-jiusi
  read-only facts → dependency-aware interview rounds
  → user confirms task brief → existing InferRSI workflow

The interview guide, brief template, pinned attribution and MIT license ship in the existing plugin ZIP. The original InferRSI entry, onboarding, launcher and runtime keep their current behavior. Invocation is explicit-only through agents/openai.yaml.

Governing Issue and delivery slice

Refs #625

  • Accepted scope / delegation: Requester-approved implementation and PR submission recorded in the issue; upstream maintainer acceptance is pending.
  • Delivered slice: Codex Jiusi skill and bundled interview resources, documentation, and package/relative-path regression tests.
  • Anchors touched: none.
  • Outside this slice: WorkSwarm/DSH, runtime or evaluation changes, and optimization-efficiency claims.

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "5c3d486526ef48e38811726dc6a1e308614824e5",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Codex",
      "model_id": "unknown",
      "effort": "unknown",
      "role": "author"
    }
  ]
}

Evidence

  • Before: The Codex bundle offered only the original InferRSI skill, with no explicit Jiusi entry or packaged interview resources.
  • After: The actual ZIP contains the new skill, invocation policy, both references and MIT license. Tests resolve its local links after extraction and invoke the reused launcher outside the checkout with -I -S.
  • Plugin suite: 58 passed on Python 3.12.13.
  • Changed Python file: Ruff passed. Skill validator and git diff --check: passed.
  • Local tools: Git 2.56.1, Python 3.12.13, Node 24.22.1 and Ruff 0.17.6. Both tests previously blocked by old Git now pass.
  • Local full suite completed: 6923 passed, 29 skipped, 15 failed with pytest 8.3.2. After correcting the local environment, all 15 exact failed test IDs passed in a separate run with pytest 9.2.0. Corrections: canonical Python symlink for confinement, restore evidence/doc assets omitted by sparse checkout, keep nested-pytest temporary files inside the checkout (--basetemp=.pt628), and set TORCH_DEVICE_BACKEND_AUTOLOAD=0 for CPU tests. No tracked source files changed for these corrections. This is a full run plus a failed-item retry, not a claim of a single clean local full run.
  • Additional checks of the environment corrections: confinement 21 passed, 2 skipped; evidence/archive/frozen-byte modules 78 passed.
  • CI full-check: passed on Python 3.10 and 3.11, along with both installed-package checks and Windows/macOS advisory checks. CI run.
  • Full ruff check src tests tools: passed locally with Ruff 0.17.6 and in CI.
  • Read-only agent scenario checks covered an incomplete initial task and an explicitly confirmed baseline-calibration task. They are not real-client invocation tests or independent GitHub approvals.

Checks and dependencies

The existing builder packages the new skill without changes. Original entry, launcher, plugin manifest, runtime, and other host templates are unchanged. The grilling adaptation cites mattpocock/skills@abeeaf95660ba9e8b7c753eb38f441ca707a8823 and includes its original MIT license.

Not run: installation/discovery and interactive invocation in a supported Codex client; real inference experiments; a controlled comparison of optimization efficiency.

Merge Danger

Door: two-way.

Blast Radius: Codex.

The new entry is opt-in and can be removed with its resources and documentation. Default onboarding remains the original entry.

Remaining work and Issue closure

  • Maintainer scope acceptance and independent review remain pending.
  • Host-level invocation/interaction remains unverified. Packaging success does not establish faster convergence.
  • Goal-acceptance owner: an authorized InferRSI maintainer.
  • Goal ready for acceptance: not claimed; this PR supplies implementation and the evidence above.

Bundle a dependency-aware task interview and confirmed-brief handoff to the existing InferRSI entry. Include explicit invocation metadata, upstream MIT attribution, documentation and package regression coverage.

Agent-assisted-by: Codex / unknown [effort=unknown] (author)
Signed-off-by: psv666 <150513104+psv666@users.noreply.github.com>
@Dong1017 Dong1017 added kind:task Bounded delivery task with a delegated slice area:apps Apps line: CLI, Python entrypoints, host inspection, workflows, views, and adapters labels Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:apps Apps line: CLI, Python entrypoints, host inspection, workflows, views, and adapters kind:task Bounded delivery task with a delegated slice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants