@brainervirus/workit-codex 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workit",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Adaptive engineering workflow rails for Codex",
5
5
  "author": {
6
6
  "name": "BrainerVirus"
@@ -17158,10 +17158,9 @@ function evaluateRequirements(task, workspace, capabilities, candidate, checkout
17158
17158
  if (requirement.dimension !== "review")
17159
17159
  return true;
17160
17160
  const reviewSession = sessionFromRef(entry.data.reviewContext);
17161
- const implementationSession = sessionFromRef(task.intent.provenance.session);
17162
- const sameImplementation = sameSession(reviewSession, implementationSession);
17161
+ const sameImplementation = sameSession(reviewSession, task.intent.provenance.session);
17163
17162
  const sameEvidenceSession = task.evidence.some((other) => other.id !== entry.id && sameSession(reviewSession, other.provenance.session));
17164
- return entry.data.kind === "review" && reviewSession !== null && sameSession(reviewSession, entry.provenance.session) && !sameImplementation && !sameEvidenceSession;
17163
+ return entry.data.kind === "review" && reviewSession !== null && sameSession(reviewSession, entry.provenance.session) && (requirement.ruleId === "self-review" || !sameImplementation && !sameEvidenceSession);
17165
17164
  });
17166
17165
  if (passed.length) {
17167
17166
  const withRed = requirement.dimension === "testing" ? passed.filter(({ entry }) => related.some((other) => other.entry.data.kind === "check" && other.evaluation.status === "failed" && other.entry.data.requirementIds.includes(requirement.id) && other.entry.recordedAt <= entry.recordedAt)) : passed;
@@ -10256,10 +10256,9 @@ function evaluateRequirements(task, workspace, capabilities, candidate, checkout
10256
10256
  if (requirement.dimension !== "review")
10257
10257
  return true;
10258
10258
  const reviewSession = sessionFromRef(entry.data.reviewContext);
10259
- const implementationSession = sessionFromRef(task.intent.provenance.session);
10260
- const sameImplementation = sameSession(reviewSession, implementationSession);
10259
+ const sameImplementation = sameSession(reviewSession, task.intent.provenance.session);
10261
10260
  const sameEvidenceSession = task.evidence.some((other) => other.id !== entry.id && sameSession(reviewSession, other.provenance.session));
10262
- return entry.data.kind === "review" && reviewSession !== null && sameSession(reviewSession, entry.provenance.session) && !sameImplementation && !sameEvidenceSession;
10261
+ return entry.data.kind === "review" && reviewSession !== null && sameSession(reviewSession, entry.provenance.session) && (requirement.ruleId === "self-review" || !sameImplementation && !sameEvidenceSession);
10263
10262
  });
10264
10263
  if (passed.length) {
10265
10264
  const withRed = requirement.dimension === "testing" ? passed.filter(({ entry }) => related.some((other) => other.entry.data.kind === "check" && other.evaluation.status === "failed" && other.entry.data.requirementIds.includes(requirement.id) && other.entry.recordedAt <= entry.recordedAt)) : passed;
@@ -10486,6 +10485,9 @@ revisions, policy.assess {assessment: {facts, signals, consequences,
10486
10485
  verification}} where facts are inferred or observed with file refs,
10487
10486
  writer.acquire {taskId} before product writes, evidence.record {evidence} where
10488
10487
  check and review kinds auto-bind the current tree and need no digests. Record
10488
+ self-review requirements with kind review and reviewContext matching your own
10489
+ host session; the lead may also record checks. Fresh-context review requires a
10490
+ session distinct from the task creator and every other evidence recorder. Record
10489
10491
  verification evidence last: later evidence or commits can reopen fixed findings
10490
10492
  for re-verification, so verify, resolve, then close with nothing in between.
10491
10493
  decision.record {binding with taskId/workspaceId from inspect plus presented and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-codex",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "private": false,
5
5
  "description": "Workit Codex CLI/desktop plugin — shared MCP transport, hooks, and fourteen method skills",
6
6
  "keywords": [
@@ -38,8 +38,8 @@
38
38
  "build": "bun scripts/build.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@brainervirus/workit-core": "^1.0.5",
42
- "@brainervirus/workit-mcp": "^1.0.5"
41
+ "@brainervirus/workit-core": "^1.0.7",
42
+ "@brainervirus/workit-mcp": "^1.0.7"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=24"