Skip to content

Discover shared .agents skills with explicit publication - #605

Merged
gansx merged 15 commits into
mainfrom
gansx/shared-agent-skills-design-a
Oct 29, 2026
Merged

gansx merged 15 commits into
mainfrom
gansx/shared-agent-skills-design-a

Conversation

@gansx

@gansx gansx commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Auto-discover project and user .agents/skills as review-only candidates; block unsafe/duplicate sources and isolate publication ownership.
  • Add visible scan, ignored/orphaned controls, reference metadata and explicit new-skill confirmation.
  • Document Design A and its implementation; separate local macOS packaging observations from strict formal release review.

Validation

  • Shared core/daemon/web model tests: 33 passed; desktop source projection: 118 passed; native publication/hooks: 154 passed.
  • Web typecheck, lint, i18n, browser E2E: 1 passed; screenshot captured.
  • Local macOS arm64 DMG and ZIP built; ZIP integrity, mounted DMG signature, app process launch and bundled Office resource checked.

Local installer evidence is marked release-ineligible; formal release validation remains separately gated.

…cation

Add workspace/user shared-source preview, guarded adoption and UI confirmation; keep local installer observation separate from formal release approval. Validate packaged macOS DMG/ZIP and focused integration tests.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 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-10-28T23:01:47.342044Z 7319da2 New commits
🔒 Security Review ✅ Completed 2026-10-29T00:08:48.343223Z 0b5d6be New commits
ℹ️ 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.

ℹ️ 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".

Ling Test added 2 commits October 29, 2026 00:54
…warnings

Codex review P1 on #605: the shared publish gate only rejected
blocked/unchanged states and semantic errors, so a new or drifted source
whose SKILL.md carries an error-severity warning (raw secret reference,
unsafe path) could still be persisted even though the preview flagged
it. Publication now rejects any selected record with error-severity
warnings unless explicitly trusted, with a regression test asserting
preview exposure, 409 rejection and no snapshot/skill persistence.

@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: 68f9988128

ℹ️ 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".

Ling Test added 4 commits October 29, 2026 02:07
The shared-publication secret_reference fixture used an sk- token that
the public-repo safety scanner flags as a model provider key. Renamed
to sk-fake-... which both passes the scanner's clearlyFake rule and
still matches the skill-source raw-secret detection under test.
…e removed CI-log artifact

Both fingerprints point into shard2-log.txt (already removed in
003b0af). The flagged strings are in-repo test idempotency-key
fixtures echoed by the daemon shard log, not credentials; reviewed
locally with gitleaks 8.30.1 reporting no leaks.
…ning gate to content-changing records

Codex review P1 (#605): the official sync preview excluded only the
shared pack, so a gstack skill previously published from a local
non-cache source lost its active snapshot (path scoping) and official
apply treated it as attachable without expectations. The preview now
scopes snapshots to the gstack-source-sync pack, which wins over path
scoping by contract.

Codex review P2 (#605): the new error-warning publication gate also
rejected unchanged records, blocking referenced-file-only edits from an
explicit publish. Unchanged records write nothing; the gate now applies
only to records that would persist new content.

@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: b8a6a6e217

ℹ️ 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 packages/core/src/skill-source-sync.ts Resolved
Ling Test added 2 commits October 29, 2026 05:11
The pack-scoped snapshotPackIds preview broke the publication batch
expectation contract: a second gstack publish cycle then failed with
skill_source_publication_conflict because expectedSnapshotId/
expectedSourceChecksum must match the single active snapshot, which
pack-scoping's broader snapshot set violates. The Codex-review P1
scenario (a locally published gstack skill losing its snapshot during
official sync) needs a core-level design change and is tracked in the
PR conversation instead of being patched here.

@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: 7319da27b5

ℹ️ 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".

Ling Test added 2 commits October 29, 2026 07:30
… disabled

Codex review P2 on #605: publishArtifacts:false callers still paid for
realpath/size/checksum/64MiB-budget validation of every referenced file
even though nothing is read or persisted. Referenced-file validation now
only runs when artifact staging is enabled.
@gansx
gansx merged commit e42aa62 into main Oct 29, 2026
15 checks passed
@gansx
gansx deleted the gansx/shared-agent-skills-design-a branch October 29, 2026 00:36
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.

1 participant