Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

Insider drops: VDM kind out of the rotation; hold mode (artifact + held commit, approve=true posts) by default before 2026-11-09

islandmed0922eafca432
diff --git a/.github/workflows/insider-drop.yml b/.github/workflows/insider-drop.yml
index 4627a6c0..23c9416c 100644
--- a/.github/workflows/insider-drop.yml
+++ b/.github/workflows/insider-drop.yml
@@ -7,6 +7,10 @@
# DISCORD_MEMBERS_WEBHOOK, kept under bundles/ in the private repo) and schedules it in the public pack listing
# (listing.json on this repository's `packs` branch) for three months after the month ends. Each run publishes
# the bundles whose public date has come: their .sfpack goes next to the listing and is marked released.
+# Hold mode (the default for drops dated before HOLD_UNTIL, or while the repository variable DROPS_HOLD is "true"):
+# the drop is built, uploaded as the run's artifact drop-<date> for the coordinator to review and committed to the
+# insider repository marked held, but not posted or bundled. Run this workflow by hand with that date and
+# approve=true to release it: the committed drop (the one reviewed, not a new one) is posted and joins the bundle.
# Only this repository's own code runs; no pull request or issue input reaches it.
name: Insider drop
@@ -21,6 +25,10 @@ on:
month:
description: "Also bundle this month YYYY-MM (default: last month, on the 1st only)"
required: false
+ approve:
+ description: "Approve the held drop of `date` and post it (makes nothing new)"
+ type: boolean
+ default: false
permissions:
contents: write # the `packs` branch (public listing)
@@ -33,6 +41,7 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 60
env:
+ HOLD_UNTIL: "2026-11-09" # the first real drops wait for the coordinator's approval
HAS_INSIDERS: ${{ secrets.INSIDERS_REPO_TOKEN != '' }}
CCACHE_DIR: ${{ github.workspace }}/.ccache
CCACHE_BASEDIR: ${{ github.workspace }}
@@ -44,6 +53,8 @@ jobs:
env:
IN_DATE: ${{ inputs.date }}
IN_MONTH: ${{ inputs.month }}
+ IN_APPROVE: ${{ inputs.approve }}
+ VAR_HOLD: ${{ vars.DROPS_HOLD }}
run: |
DATE="${IN_DATE:-$(date -u +%F)}"
[[ "$DATE" =~ ^20[0-9][0-9]-[01][0-9]-[0-3][0-9]$ ]] || { echo "bad date '$DATE'"; exit 1; }
@@ -53,6 +64,11 @@ jobs:
echo "DATE=$DATE" >> "$GITHUB_ENV"
echo "DROP_DIR=drops/${DATE:0:4}/${DATE:5:2}/$DATE" >> "$GITHUB_ENV"
echo "MONTH=$MONTH" >> "$GITHUB_ENV"
+ if [ "$IN_APPROVE" = "true" ]; then MODE=approve
+ elif [[ "$DATE" < "$HOLD_UNTIL" ]] || [ "$VAR_HOLD" = "true" ]; then MODE=hold
+ else MODE=post; fi
+ echo "MODE=$MODE" >> "$GITHUB_ENV"
+ echo "$DATE: $MODE"
- name: Insider repository
if: env.HAS_INSIDERS == 'true'
uses: actions/checkout@v7
@@ -61,37 +77,58 @@ jobs:
token: ${{ secrets.INSIDERS_REPO_TOKEN }}
path: insiders
- name: Already done today?
+ if: env.MODE != 'approve'
run: |
if [ -f "insiders/$DROP_DIR/drop.json" ]; then echo "SKIP_DROP=1" >> "$GITHUB_ENV"; echo "$DATE already dropped"; fi
- name: Dependencies
+ if: env.MODE != 'approve' || env.MONTH != '' # approving only posts what is already built
run: |
sudo ./packaging/linux/install-build-deps.sh
sudo apt-get install -y --no-install-recommends ccache xvfb libgl1-mesa-dri
- name: Compiler cache (restore; CI's Linux cache)
+ if: env.MODE != 'approve' || env.MONTH != ''
uses: actions/cache/restore@v5
with:
path: .ccache
key: ccache-ci-linux-x86_64.${{ github.sha }}
restore-keys: ccache-ci-linux-x86_64.
- name: Build sculptforge and sculptforge-cli
+ if: env.MODE != 'approve' || env.MONTH != ''
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSCULPTFORGE_USE_SYSTEM_SDL=OFF -DSCULPTFORGE_BUILD_TESTS=OFF \
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
cmake --build build --target sculptforge sculptforge-cli --parallel 4
- name: Make the drop
- if: env.SKIP_DROP != '1'
+ if: env.SKIP_DROP != '1' && env.MODE != 'approve'
run: |
mkdir -p insiders/drops
xvfb-run -a -s "-screen 0 1280x1024x24" env LIBGL_ALWAYS_SOFTWARE=1 \
python3 tools/drops/drops.py daily --date "$DATE" --out "$RUNNER_TEMP/out" \
- --history insiders/drops/history.json --app build/sculptforge --cli build/sculptforge-cli
+ --history insiders/drops/history.json --app build/sculptforge --cli build/sculptforge-cli \
+ $([ "$MODE" = hold ] && echo --hold)
+ - name: Drop for review (artifact)
+ if: env.SKIP_DROP != '1' && env.MODE != 'approve'
+ uses: actions/upload-artifact@v7
+ with:
+ name: drop-${{ env.DATE }}
+ path: ${{ runner.temp }}/out/${{ env.DATE }}
+ if-no-files-found: ignore
+ retention-days: 30
+ - name: Approve the held drop
+ if: env.MODE == 'approve'
+ run: |
+ [ "$HAS_INSIDERS" = true ] || { echo "approving needs INSIDERS_REPO_TOKEN (the held drop lives in the insider repo)"; exit 1; }
+ [ -f "insiders/$DROP_DIR/drop.json" ] || { echo "no held drop for $DATE in the insider repo"; exit 1; }
+ python3 tools/drops/drops.py approve "insiders/$DROP_DIR"
- name: Post to #insiders
- if: env.SKIP_DROP != '1'
+ if: env.SKIP_DROP != '1' && env.MODE != 'hold'
env:
DISCORD_INSIDERS_WEBHOOK: ${{ secrets.DISCORD_INSIDERS_WEBHOOK }}
run: |
- [ -f "$RUNNER_TEMP/out/$DATE/drop.json" ] || { echo "no drop today"; exit 0; }
- python3 tools/drops/drops.py post "$RUNNER_TEMP/out/$DATE" --webhook-env DISCORD_INSIDERS_WEBHOOK
+ D="$RUNNER_TEMP/out/$DATE"
+ [ "$MODE" = approve ] && D="insiders/$DROP_DIR"
+ [ -f "$D/drop.json" ] || { echo "no drop today"; exit 0; }
+ python3 tools/drops/drops.py post "$D" --webhook-env DISCORD_INSIDERS_WEBHOOK
- name: Bundle the month for Supporters
if: env.MONTH != '' && env.HAS_INSIDERS == 'true'
env:
@@ -104,14 +141,14 @@ jobs:
- name: Commit to the insider repository
if: env.HAS_INSIDERS == 'true'
run: |
- if [ -f "$RUNNER_TEMP/out/$DATE/drop.json" ] || [ -f "$RUNNER_TEMP/out/$DATE/gate.json" ]; then
+ if [ "$MODE" != approve ] && [ -f "$RUNNER_TEMP/out/$DATE/gate.json" ]; then
mkdir -p "insiders/$DROP_DIR" && cp -r "$RUNNER_TEMP/out/$DATE/." "insiders/$DROP_DIR/"
fi
cd insiders
git add -A .
if git diff --cached --quiet; then echo "nothing to commit"; exit 0; fi
git -c user.name="github-actions[bot]" -c user.email="41898282+github-actions[bot]@users.noreply.github.com" \
- commit -qm "Drop $DATE${MONTH:+, Insider Pack $MONTH}"
+ commit -qm "Drop $DATE ($MODE)${MONTH:+, Insider Pack $MONTH}"
git push -q
- name: Public pack listing (schedule and release)
if: env.HAS_INSIDERS == 'true'
diff --git a/tools/drops/drops.py b/tools/drops/drops.py
index db97307d..5c8c73ff 100644
--- a/tools/drops/drops.py
+++ b/tools/drops/drops.py
@@ -4,6 +4,8 @@
"""Insider daily drops: make the day's candidates, gate them, pack the best one, post it.
drops.py daily --date 2026-11-02 --out OUT --history H.json # OUT/<date>/: .sfpack, preview.png, drop.json
+ drops.py daily ... --hold # held: not posted or bundled until approved
+ drops.py approve OUT/2026-11-02 # the coordinator's OK for a held drop
drops.py post OUT/2026-11-02 --webhook-env DISCORD_INSIDERS_WEBHOOK
drops.py monthly --month 2026-11 --drops DROPS_ROOT --out OUT # "Insider Pack 2026-11" for Supporters
drops.py schedule --listing L.json --pack OUT/insider-pack-2026-11.sfpack --month 2026-11
@@ -304,7 +306,7 @@ def unique_name(c, history):
rename(c, f"{c['name']} {n}")
-def daily(date, out, history, app, cli, keep_rejects=None):
+def daily(date, out, history, app, cli, keep_rejects=None, hold=False):
"""Builds the drop for DATE in OUT/<date>/ and appends it to `history`. Returns the drop or None."""
work = Path(tempfile.mkdtemp(prefix=f"drop-{date}-"))
try:
@@ -349,7 +351,7 @@ def daily(date, out, history, app, cli, keep_rejects=None):
drop = {"date": date.isoformat(), "kind": best["kind"], "type": best["type"], "name": best["name"],
"description": best["description"], "item": item_name(best), "pack": pack.name if cli else None,
"preview": preview.name if preview.is_file() else None, "phash": best["gate"]["metrics"].get("phash"),
- "params": best["params"], "score": best["gate"]["score"]}
+ "params": best["params"], "score": best["gate"]["score"], "held": hold}
(day / "drop.json").write_text(json.dumps(drop, indent=2) + "\n")
history.append(drop)
return drop
@@ -391,6 +393,9 @@ def cmd_post(args):
return 0
day = Path(args.drop)
meta = json.loads((day / ("bundle.json" if (day / "bundle.json").is_file() else "drop.json")).read_text())
+ if meta.get("held"):
+ print(f"{meta['name']} is held for approval; nothing posted.")
+ return 0
files = [day / meta["preview"]] if meta.get("preview") else []
files.append(day / meta["pack"])
if meta.get("date"):
@@ -409,6 +414,7 @@ def cmd_post(args):
def month_drops(root, month):
y, m = month.split("-")
found = [(json.loads(p.read_text()), p.parent) for p in Path(root, y, m).glob("*/drop.json")]
+ found = [d for d in found if not d[0].get("held")] # held and never approved: not part of the bundle
return sorted(found, key=lambda d: d[0]["date"])
@@ -500,13 +506,25 @@ def cmd_daily(args):
if not app and not args.no_render:
sys.exit("error: cannot find the sculptforge app for the renders (--app, or --no-render)")
history = load_history(args.history)
- drop = daily(generate.parse_date(args.date), args.out, history, app, cli)
+ drop = daily(generate.parse_date(args.date), args.out, history, app, cli, hold=args.hold)
if args.history:
Path(args.history).write_text(json.dumps(history, indent=2) + "\n")
if not drop:
print(f"{args.date}: every candidate was rejected; no drop today (see gate.json)")
return 0
- print(f"{args.date}: {drop['name']} ({drop['kind']}): {drop['description']}")
+ print(f"{args.date}: {drop['name']} ({drop['kind']}): {drop['description']}" + (" [held for approval]" if drop["held"] else ""))
+ return 0
+
+
+def cmd_approve(args):
+ """Releases a held drop (the coordinator's approval): it may then be posted and goes into the month's bundle."""
+ path = Path(args.drop) / "drop.json"
+ if not path.is_file():
+ sys.exit(f"error: no drop at {path}")
+ meta = json.loads(path.read_text())
+ meta["held"] = False
+ path.write_text(json.dumps(meta, indent=2) + "\n")
+ print(f"approved {meta['date']}: {meta['name']}")
return 0
@@ -615,7 +633,7 @@ def cmd_selftest(args):
failures.append(f"{k}: rejected every day of a week")
if args.cli:
with tempfile.TemporaryDirectory() as t:
- for c in a + [generate.make(k, d) for k in ("kelvinlet", "vdm", "trims")]:
+ for c in a + [generate.make(k, d) for k in ("kelvinlet", "trims")]:
stage = Path(t) / c["kind"]
write_item(c, stage)
(stage / "LICENSE.txt").write_text(LICENSE_TEXT)
@@ -624,6 +642,15 @@ def cmd_selftest(args):
"Insider Drop test", c["description"])
except RuntimeError as e:
failures.append(f"{c['kind']}: {e}")
+ if any(k in generate.DISABLED for i in range(60) for k in generate.kinds_for(d + datetime.timedelta(days=i))):
+ failures.append("a disabled kind is in the rotation")
+ with tempfile.TemporaryDirectory() as t:
+ for day, held in (("02", False), ("03", True)):
+ f = Path(t, "2026", "11", f"2026-11-{day}")
+ f.mkdir(parents=True)
+ (f / "drop.json").write_text(json.dumps({"date": f"2026-11-{day}", "held": held}))
+ if [m["date"] for m, _ in month_drops(t, "2026-11")] != ["2026-11-02"]:
+ failures.append("a held drop went into the month's bundle")
if (public_date("2026-11"), public_date("2026-12")) != ("2027-03-01", "2027-04-01"):
failures.append(f"public dates: {public_date('2026-11')}, {public_date('2026-12')}")
for f in failures:
@@ -642,7 +669,11 @@ def main():
s.add_argument("--app")
s.add_argument("--cli")
s.add_argument("--no-render", action="store_true")
+ s.add_argument("--hold", action="store_true", help="mark the drop held: not posted or bundled until `approve`")
s.set_defaults(fn=cmd_daily)
+ s = sub.add_parser("approve")
+ s.add_argument("drop", help="a day's folder (drop.json)")
+ s.set_defaults(fn=cmd_approve)
s = sub.add_parser("post")
s.add_argument("drop", help="a day's folder (drop.json) or a bundle folder (bundle.json)")
s.add_argument("--webhook-env", default="DISCORD_INSIDERS_WEBHOOK")
diff --git a/tools/drops/generate.py b/tools/drops/generate.py
index 0f61a6d8..6ae25fee 100644
--- a/tools/drops/generate.py
+++ b/tools/drops/generate.py
@@ -20,7 +20,10 @@ import sfimage
ALPHA_SIZE = 512
VDM_SIZE = 192
-KINDS = ["noise", "scales", "weave", "pores", "wrinkles", "trims", "kelvinlet", "vdm"]
+KINDS = ["noise", "scales", "weave", "pores", "wrinkles", "trims", "kelvinlet"] # in the daily rotation
+# Kept out of the rotation until they make useful, recognisable shapes (coordinator review 11-01: the VDMs read as a
+# blob or a horn on a sphere; wanted: a horn set, ear, nostril, scale plate, rivet ...). make("vdm", ...) still works.
+DISABLED = ["vdm"]
PER_DAY = 6 # candidates per day; the gate keeps one