Skip to content

fix: Private demo packet sat un-ignored in the public tree; decide the… - #4617

Merged
Sinity merged 1 commit into
masterfrom
feature/packet/polylogue-mfxuf
Sep 3, 2026
Merged

fix: Private demo packet sat un-ignored in the public tree; decide the…#4617
Sinity merged 1 commit into
masterfrom
feature/packet/polylogue-mfxuf

Conversation

@Sinity

@Sinity Sinity commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Summary

Keep the attachment-acquisition census as the only tracked .agent/demos artifact and ignore all other demo directories.

Problem

The demo-packet v2 validator, registry, and packet shelves were removed by c17e38539 (#3950). The surviving census is synthetic and explicitly read-only, while the existing .gitignore exception !.agent/demos/** allowed future private packet material to be staged accidentally.

Solution

Add a deny rule for .agent/demos/* with an explicit exception for attachment-acquisition-census. This implements the census-only disposition and prevents untracked private packet paths from entering the public tree.

Verification

git check-ignore -v -- .agent/demos/private-packet/packet.json .agent/demos/d1-receipts/evidence.ndjson .agent/demos/attachment-acquisition-census/census.json .agent/demos/attachment-acquisition-census/new.txt passed: private paths matched .agent/demos/*, the tracked census file was not ignored, and new census files matched the explicit exception.

uv run devtools test tests/unit/demo completed with 34 failed, 17 passed, 1 warning in 463.39s. The failures occur during demo archive seeding because Hermes fixture tool results lack structured outcome evidence; this is inherited and unrelated to .gitignore.

Residual risk

The focused demo suite remains red until the inherited Hermes fixture/outcome mismatch is repaired. Existing tracked private files would require a separate deletion change; none remain in this worktree.

@Sinity
Sinity enabled auto-merge (squash) September 3, 2026 19:26
@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 080f37d3-d913-4cf1-890c-540d9d225003


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 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-03T19:28:47.625480Z 6cbb9c3 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: 6cbb9c36c4

ℹ️ 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 .gitignore
!.agent/demos/**
# Demo shelf permits only the synthetic attachment census. Other demo
# directories are generated or private evidence and must stay local.
.agent/demos/*

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Align the documented demo shelf with the deny rule

At the reviewed head, adding a new neutral curated demo such as .agent/demos/new-demo/README.md is silently skipped by git add, even though .agent/CONVENTIONS.md lines 35 and 85–88 and .agent/README.md lines 10–13 still describe demos/ as a tracked curated shelf. If the intended policy is now census-only, update those repository instructions so contributors do not follow a documented workflow that cannot publish its output.

Useful? React with 👍 / 👎.

@Sinity
Sinity merged commit 733e88b into master Sep 3, 2026
3 of 4 checks passed
@Sinity
Sinity deleted the feature/packet/polylogue-mfxuf branch September 3, 2026 19:33
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