Repository navigation
feat: every published page is public, restricted, private or off (15.6.0) - #328
Conversation
The grid listed every one-time review session as a weekly schedule and filled half of the page. The Overview keeps the next runs.
…5.0) Each DAM page (review guide, weekly trends, survey, benchmark, health dashboard, interface card) now has one key with four values: public (anyone with the link, no sign-in), restricted (named people, after sign-in, via set_artifact_sharing and <key>_viewers, where `desk` adds everyone on the Desk's People list), private (the owner only) and off (nothing published; a page published before turns private). `dam` still reads as public. The new key review_guide replaces the always-public guide. docs/artifact.md -> Visibility is the single home of what each value means and of the warning for a private repository. The weekly audit's artifact_visibility check reports every public page of a private or internal repository, and the Desk shows it in red. Desk: Settings revised item by item against docs/config.md (progress is a check run, benchmark runs on request, Slack-dependent features say so, review guide, survey findings and three review switches added, fixed values no longer flagged as invalid), each page's People list is edited in place, and People is its own menu item next to Settings.
There was a problem hiding this comment.
🛡️ Code Guardian - Code guardian repo — 687f281
PR #328: feat: every published page is public, restricted, private or off (15.6.0)
Author: xjacka | Branch: claude/dam-artifacts-sso-gating-24e507 → main | Changes: +696 −218 (33 files)
Summary
Every published page now takes one key with four values: public, restricted, private or off. A restricted page opens only for named people, and the audit warns at a public page of a private repository.
Limits: 2 skill(s) did not run: issue-fit, react-ui-engineering.
Findings
- 🟡 Warning: The new value words are missing from the manifest privacy list (
scripts/lib/common.sh:198) - 🟡 Warning: A failed sharing call reads as a published page (
scripts/health.sh:443) - 🟢 Suggestion:
restrictedis missing from three publish enumerations:docs/trends.md:38,docs/benchmark.md:587anddocs/runbook.md:332. Each namespublic,privateandoffonly. The value is reachable, anddocs/artifact.md→ Visibility still covers it, so a run can recover. Add the fourth value to each list.
Human Review Guide
📊 Visual guide for the human reviewer — two open calls: an unknown page value reads as off, and the audit only warns (about 25 min)
Documentation Check (doc-drift)
✅ No findings.
TypeScript Engineering Review
✅ No findings.
The two changed .mjs files follow the repository conventions. This repository declares no module architecture of the skill type, so its alignment rules do not apply.
Agent Engineering
✅ No findings beyond the two warnings in ### Findings. The definition check reports no fail and no warn at this head.
Verdict
COMMENT — two warnings hold approval: the manifest privacy scan stops at the new value words, and a refused sharing call is reported as a success.
Review by Code Guardian - Code guardian repo · automated code guardian · cb/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017 on pi
…e fails the publish - manifest-check.sh: public, restricted, private and desk are documented values, not private ones; a card that says "public" no longer fails. - health.sh: a refused set_artifact_sharing at a changed key records the failure and returns, so the old public link is not marked as published. - Docs: every publish enumeration names restricted too (trends, benchmark, runbook, health, manifest, onboarding).
- health.sh keeps agent_viewers, the people it gave the dashboard under restricted. Under private or off they are removed again; the owner's people stay. An answer with no visibility under private is set private. - A guide publishes only in a round of its PR, so guides of finished PRs kept their public link after review_guide became private or off. The audit check guide_visibility lists them, the audit run makes each one private or restricted, and `review-pr.sh guide-sharing` rewrites the history marker, so no review, nudge or report links the page again.
A missing review_guide, audit_trend, survey_report or benchmark_report published public pages for a private repository until the operator answered. Now such a key reads as private unless the target repository is public. preflight.sh reads the visibility once an hour into work/repo.json (it was work/desk/repo.json, daily, Desk only) and keeps the last value on an unreadable answer; nothing read yet means private. The interface card stays public and the health dashboard stays off. The Desk shows the same defaults.
There was a problem hiding this comment.
🛡️ Code Guardian - Code guardian repo — b832274
PR #328: feat: every published page is public, restricted, private or off (15.6.0)
Author: xjacka | Branch: claude/dam-artifacts-sso-gating-24e507 → main | Changes: +947 −225 (35 files)
Summary
This PR gives every published page a visibility value: public, restricted, private or off, with a new review_guide key. The fix commits make a missing key private unless the repository is public. They also remove the people the agent added when a restricted page's key narrows.
Limits: 2 skill(s) did not run: issue-fit, react-ui-engineering. the diff is more than 2000 lines — the review covers the most critical files.
Changes since last review
Previous HEAD: 687f281 (2026-12-03T15:29:13Z) — verdict COMMENT
- ✅ Fixed: new value words missing from the manifest privacy list (
scripts/lib/common.sh:198) - ✅ Fixed: a failed sharing call reads as a published page (
scripts/health.sh:443) - ✅ Fixed: restricted missing from three publish enumerations (
docs/trends.md:38) - 🆕 New: off leaves a restricted page restricted but reports it private (
scripts/health.sh:478) - 🆕 New: the sample CONFIG.md still says public (default) after the default change (
ONBOARDING.md:606)
Findings
- 🟡 Warning: off leaves a restricted page restricted but reports it private (
scripts/health.sh:478)
Human Review Guide
📊 Visual guide for the human reviewer — whether a missing page key should read private, and how a narrowed key drops only the agent-added viewers (about 12 min)
Documentation Check (doc-drift)
✅ No findings.
TypeScript Engineering Review
✅ No findings.
Agent Engineering
- 🟢 Suggestion: The sample CONFIG.md still says
public (default). It also omitsrestricted, and the new default is private for a non-public repository (ONBOARDING.md:606, also 608, 616, 626 andREADME.md:156).
Verdict
COMMENT — one warning remains: the off path reports a restricted page as private.
For the human reviewer
The PR now decides a page's audience from its key and the repository's visibility. When the key changes, a restricted page stays restricted, and only the people the agent added lose access. Decide whether the operator should be told that a page is still restricted, not private, after the key becomes off.
Review by Code Guardian - Code guardian repo · automated code guardian · cb/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017 on pi
…onfig names every value health.sh retract returned status private when the page stayed restricted. It now returns the page's real visibility, and the monitor logs that the agent's viewers were removed. The sample CONFIG.md and the README key rows now name restricted and the new default.
There was a problem hiding this comment.
🛡️ Code Guardian - Code guardian repo — ✅ Code Review @ dfa2587
PR #328: feat: every published page is public, restricted, private or off (15.6.0)
Author: xjacka | Branch: claude/dam-artifacts-sso-gating-24e507 → main | Changes: +954 −225 (35 files)
Summary
This PR gives every published page one visibility value: public, restricted, private or off. The two fix commits settle the prior findings on the off path and on the sample configuration.
Limits: 3 skill(s) did not run: issue-fit, typescript-engineering, react-ui-engineering. the diff is more than 2000 lines — the review covers the most critical files.
Changes since last review
Previous HEAD: b832274 (2026-12-03T20:39:00Z) — verdict COMMENT
- ✅ Fixed: off leaves a restricted page restricted but reports it private (
scripts/health.sh:478) - ✅ Fixed: the sample CONFIG.md still says public (default) after the default change (
ONBOARDING.md:606) - 🔎 Missed earlier: three texts still name fewer than four visibility values (
scripts/review-pr.sh:197) — present atb832274
Findings
No new findings at this HEAD.
Human Review Guide
📊 Visual guide for the human reviewer — at b832274: the two fix commits settle the prior findings and change no decision the page shows
Documentation Check (doc-drift)
✅ No findings.
Agent Engineering
- 🟢 Suggestion: This text was present at b832274; the previous review did not report it. The
review_guidecomment, theONBOARDING.mdcount and the audit remedy still name fewer than four visibility values (scripts/review-pr.sh:197; alsoONBOARDING.md:440andscripts/preflight.sh:2450).
Verdict
APPROVE — the two open findings are fixed, and only a documentation gap remains.
Review by Code Guardian - Code guardian repo · automated code guardian · cb/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017 on pi
What and why
Code Guardian published every DAM page with
visibility: "public". Anyone with the link opened it, with no sign-in. For a private repository, the review guide showed its code and review notes to anyone who had the link.This change gives each published page one key with four values:
public,restricted,privateandoff.restrictedshares a page only with named people, who must sign in. It uses DAM'sset_artifact_sharing.Reviewer guide
What changes in substance
review_guide(new),audit_trend,survey_report,benchmark_report,health_dashboard,agent_manifest) takespublic | restricted | private | off.damstill reads aspublic. A missing key keeps the behavior of today.restrictedreads its people from<key>_viewers. The tokendeskadds every email on the Desk's People list. DAM lets only the owner move a restricted page back to private or public, so the agent never tries.offpublishes nothing. A page published before becomes private. The agent never deletes it.docs/artifact.md→ Visibility is the single home for what each value means, and for the warning about a private repository. Onboarding, the audit and the Desk link to it.artifact_visibility, gives a warning when a private or internal repository has a public page.docs/config.md. People is now its own menu item.Where to look closely
scripts/health.shpublishes by itself. Look at the paths forrestricted(the viewer diff), for a changed key (due at once) and foroff(made private once). A wrong state here can leave a public link in the alert DMs.scripts/review-pr.shcompose-brief. Underoff, the guide skill does not run, and a guide that was published before goes private throughguide --url private. Look at how this interacts with the guide-owed and guide-label rounds inpreflight.sh.off. Before, it read asdam(public). (open)artifact_visibilityis awarn, not afail. (open)Scope
lib/common.sh(pub_vis,pub_viewers,PUB_KEYS),preflight.sh(config object,page_viewers, guide gating, audit check,desk/repo.jsononce a day),review-pr.sh(guide steps, private marker),health.sh,monitor.sh,audit-trend.sh,verify-onboarding.sh,templates/guide-brief.md.page.html,settings.mjs,dev/seed.mjs. The week-at-a-glance grid is removed. The fixed values (hours, cadences) are no longer shown as invalid.artifact.md,config.md,trends.md,benchmark.md,health.md,manifest.md,audit.md,desk.md,logging.md,runbook.md,self-modification.md,README.md,ONBOARDING.md.VERSION15.5.0 and itsCHANGELOG.mdentry. The upgrade rewritesdamtopublicand asks the operator about each public page of a private repository.Issue
No issue tracks this change. The operator asked for it in a direct session.
Testing
scripts/tests/docker.sh):ALL TESTS PASSED. New cases cover the health dashboard (private, a switch from public, a restricted page the owner set,restrictedwith a viewer diff,off), the review guide (off,restricted),verify-onboarding(the values and the viewer lists) and the audit check.test_desk.shis skipped in the container because it has no Node. I checked the Desk by hand withscripts/desk/dev/harness.mjs: the four values, the red warning, the editor for people, and the People menu item. The console had no errors.preflight.shsanity run against a live pod.