Skip to content

feat(dsh): add approval-gated Skill observation loop - #270

Merged
zpzjzj merged 20 commits into
mainfrom
feat/dsh-observation-loop
Sep 23, 2026
Merged

zpzjzj merged 20 commits into
mainfrom
feat/dsh-observation-loop

Conversation

@zpzjzj

@zpzjzj zpzjzj commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • normalize the shared Codex/DSH observation contract and collect explicitly attributed DSH Skill usage from durable session events
  • add local feedback, review/approval, candidate-case staging with validation rollback, report linking, and baseline/post-change comparison
  • organize integrations as host adapters: plugins/codex-skill-up and plugins/dsh-skill-up, with host-neutral schema/fixtures under schemas/skill-observation
  • make skills/skill-upper the only tracked Skill source; one repository bundler injects the canonical Skill and schema into each host package
  • attach self-contained codex-skill-up_<version>.tar.gz and alibaba-dsh-skill-up-<version>.tgz archives to tagged releases without publishing to an external registry
  • document release-based installation and migration from the former skill-up-observer Codex identity while retaining its local observation data namespace

Safety

  • observation collection is opt-in, local-only, and stores files with private permissions
  • attribution is limited to explicit Skill invocation or a successful instrumented skill tool result
  • eval mutation requires approval, stays inside the workspace, never overwrites an existing case, and rolls back failed validation
  • existing $CODEX_HOME/plugin-data/skill-up-observer and $DSH_HOME/plugin-data/skill-up-observer records remain readable after the package reorganization

Validation

  • make verify
  • make test
  • make test-action
  • Codex plugin tests: 22 passed
  • DSH plugin tests: 31 passed
  • make build
  • make package-plugins VERSION=v0.13.0-test plus generated-version and archive-content validation for both host plugins
  • plugin manifest validation and skill-creator validation of canonical skill-upper
  • clean npm ci --ignore-scripts --registry=https://registry.npmjs.org (0 vulnerabilities)
  • real DSH 0.1.5-rc.2 model-backed workflow captured observation obs_8627d408e4e75fdf24622902, recorded feedback, previewed and approved the candidate, wrote and validated the case, linked both reports, and compared the same case from baseline FAIL to post-change PASS

Closes #255

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-22T01:59:44.216463Z 7fbe2c7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7fbe2c74e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread plugins/dsh-skill-up/lib/observer.js Resolved
Comment thread plugins/dsh-skill-up/index.js Resolved
Comment thread plugins/dsh-skill-up/lib/observer.js Resolved
Comment thread .github/workflows/release.yml Fixed
@zpzjzj
zpzjzj enabled auto-merge September 23, 2026 01:17
@zpzjzj
zpzjzj force-pushed the feat/dsh-observation-loop branch from d94444a to 30ba950 Compare September 23, 2026 01:26
@zpzjzj
zpzjzj added this pull request to the merge queue Sep 23, 2026
Merged via the queue into main with commit 35a8bef Sep 23, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add an agent-assisted Skill feedback and iteration loop

3 participants