Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/app-discovery-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- apps.html
- index.html
- support/brain-burst/index.html
- support/one-tap-routine/index.html
- tests/one-tap-routine-support-growth.test.mjs
- support/taletime/index.html
- support/snaplingo/index.html
- support/twotaku/index.html
Expand Down Expand Up @@ -57,6 +59,8 @@ on:
- apps.html
- index.html
- support/brain-burst/index.html
- support/one-tap-routine/index.html
- tests/one-tap-routine-support-growth.test.mjs
- support/taletime/index.html
- support/snaplingo/index.html
- support/twotaku/index.html
Expand Down Expand Up @@ -130,4 +134,4 @@ jobs:
- name: Verify non-destructive release scripts have valid shell syntax
run: bash -n scripts/publish_app_discovery.sh scripts/check_app_discovery_live.sh scripts/publish_stale_policy_pages.sh
- name: Verify search, referral links and guide listings
run: node --test tests/catalog-growth.test.mjs tests/japanese-quick-games-discovery.test.mjs tests/catalog-positioning-regression.test.mjs tests/search-landing-growth.test.mjs tests/dotchi-support-growth.test.mjs tests/debate-me-support-growth.test.mjs tests/idea-market-support-growth.test.mjs tests/blur-support-growth.test.mjs tests/instant-judge-support-growth.test.mjs tests/roastme-support-growth.test.mjs tests/futureme-support-growth.test.mjs
run: node --test tests/catalog-growth.test.mjs tests/japanese-quick-games-discovery.test.mjs tests/catalog-positioning-regression.test.mjs tests/search-landing-growth.test.mjs tests/dotchi-support-growth.test.mjs tests/debate-me-support-growth.test.mjs tests/idea-market-support-growth.test.mjs tests/blur-support-growth.test.mjs tests/instant-judge-support-growth.test.mjs tests/roastme-support-growth.test.mjs tests/futureme-support-growth.test.mjs tests/one-tap-routine-support-growth.test.mjs
2 changes: 1 addition & 1 deletion .github/workflows/build-appsite-release-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
assert len(archives) == 1, 'one ZIP per verified source checkout'
with ZipFile(archives[0]) as z:
names = z.namelist()
assert len(names) == 48, f'46 site documents + hash manifest + instructions; got {len(names)}'
assert len(names) == 49, f'47 site documents + hash manifest + instructions; got {len(names)}'
assert z.testzip() is None
assert all(n.startswith('site/') or n in ('SHA256SUMS.txt', 'DEPLOY_README.txt') for n in names)
PY
Expand Down
7 changes: 4 additions & 3 deletions scripts/build_site_release_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
https://appdevelopsk.com and the expected canonical/hreflang, then
check the public app catalog and support landing metadata.

This includes 29 app-discovery documents and 17 approved policy documents
This includes 30 app-discovery documents and 17 approved policy documents
from current source. It is NOT a complete VPS backup, nginx configuration,
database migration, browser test, app-store release, or SEO indexing proof.
"""
Expand All @@ -81,12 +81,13 @@ def release_manifest(root=ROOT):
scripts = root / "scripts"
apps = shell_array((scripts / "publish_app_discovery.sh").read_text(encoding="utf-8"), "files")
policies = shell_array((scripts / "publish_stale_policy_pages.sh").read_text(encoding="utf-8"), "slugs")
if len(apps) != 29 or len(policies) != 17:
if len(apps) != 30 or len(policies) != 17:
raise ValueError("publisher manifest count changed; review before bundling")
if not PRESS.issubset(set(apps)):
raise ValueError("one or more of the five press routes are not in publisher manifest")
if not {"index.html", "apps.html", "sitemap.xml", "robots.txt",
"support/brain-burst/index.html", "support/debate-me/index.html",
"support/one-tap-routine/index.html",
"guides/ai-debate-practice/index.html", "guides/ai-debate-practice/ja/index.html"}.issubset(apps):
raise ValueError("critical app discovery/SEO pages missing from publisher manifest")
if any(not re.fullmatch(r"[a-z0-9-]+", slug) for slug in policies):
Expand Down Expand Up @@ -148,7 +149,7 @@ def main():
"status": "source_bundle_created_not_deployed",
"output": str(output),
"sha256": digest,
"appDiscoveryFiles": 29,
"appDiscoveryFiles": 30,
"policyFiles": 17,
"totalFiles": len(files),
"pressRoutes": sorted(PRESS),
Expand Down
9 changes: 9 additions & 0 deletions scripts/check_app_discovery_live.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,15 @@ grep -Fq '<html lang="ja">' "$tmp/ai-debate-practice-ja.html" || { echo 'FAIL Ja
grep -Fq '<title>AIでディベートを練習する方法|3つのテーマと反論のコツ | SK Apps</title>' "$tmp/ai-debate-practice-ja.html" || { echo 'FAIL Japanese debate guide source not deployed' >&2; exit 1; }
grep -Fq '<link rel="canonical" href="https://appdevelopsk.com/guides/ai-debate-practice/ja/">' "$tmp/ai-debate-practice-ja.html" || { echo 'FAIL Japanese debate guide canonical missing' >&2; exit 1; }
grep -Fq 'utm_campaign=ai_debate_practice_ja' "$tmp/ai-debate-practice-ja.html" || { echo 'FAIL Japanese debate guide Android referral CTA missing' >&2; exit 1; }
# One Tap Routine is a habit tracker, never a phone-lock utility.
fetch '/support/one-tap-routine/' 'one-tap-routine.html'
grep -Fq '<title>One Tap Routine – Habit Tracker &amp; Daily Streaks | SK APPS</title>' "$tmp/one-tap-routine.html" || { echo 'FAIL One Tap Routine honest title not deployed' >&2; exit 1; }
grep -Fq 'One-tap check-ins' "$tmp/one-tap-routine.html" || { echo 'FAIL One Tap Routine tracking guide missing' >&2; exit 1; }
grep -Fq 'not a phone-locking, device-management or screen-blocking app' "$tmp/one-tap-routine.html" || { echo 'FAIL One Tap Routine false lock claim not corrected' >&2; exit 1; }
grep -Fq 'privacy-policy/one-tap-routine/' "$tmp/one-tap-routine.html" || { echo 'FAIL One Tap Routine privacy link missing' >&2; exit 1; }
if grep -Fq 'Phone Lock Focus Timer' "$tmp/one-tap-routine.html"; then
echo 'FAIL stale One Tap Routine phone-lock title remains on VPS' >&2; exit 1
fi
fetch '/robots.txt' 'robots.txt'
# #53 broadened the allow to /icons/ (covers /icons/apps/).
grep -Eq '^Allow: /icons/(apps/)?$' "$tmp/robots.txt" || { echo 'FAIL Google image crawl allow not live' >&2; exit 1; }
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish_app_discovery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ root="${APP_SITE_DEPLOY_ROOT:-/var/www/html}"
if [[ ! "$host" =~ ^[a-zA-Z0-9_.@-]+$ || ! "$root" =~ ^/var/www/[a-zA-Z0-9_./-]+$ ]]; then
echo 'Invalid APP_SITE_DEPLOY_HOST or APP_SITE_DEPLOY_ROOT' >&2; exit 2
fi
files=(index.html apps.html sitemap.xml robots.txt guides/quick-games/index.html guides/quick-games/ja/index.html guides/daily-habits/index.html guides/decision-helpers/index.html guides/ai-tools/index.html guides/ai-debate-practice/index.html guides/ai-debate-practice/ja/index.html support/brain-burst/index.html support/snaplingo/index.html support/face-reaction-battle/index.html support/twotaku/index.html support/debate-me/index.html support/idea-market/index.html support/blur/index.html support/instant-judge/index.html support/roast-me/index.html support/future-me/index.html support/tappitsu-battle/index.html support/taletime/index.html support/dog-breeds-encyclopedia/index.html press/index.html press/es/index.html press/pt-br/index.html press/ja/index.html press/id/index.html)
files=(index.html apps.html sitemap.xml robots.txt guides/quick-games/index.html guides/quick-games/ja/index.html guides/daily-habits/index.html guides/decision-helpers/index.html guides/ai-tools/index.html guides/ai-debate-practice/index.html guides/ai-debate-practice/ja/index.html support/brain-burst/index.html support/one-tap-routine/index.html support/snaplingo/index.html support/face-reaction-battle/index.html support/twotaku/index.html support/debate-me/index.html support/idea-market/index.html support/blur/index.html support/instant-judge/index.html support/roast-me/index.html support/future-me/index.html support/tappitsu-battle/index.html support/taletime/index.html support/dog-breeds-encyclopedia/index.html press/index.html press/es/index.html press/pt-br/index.html press/ja/index.html press/id/index.html)
for file in "${files[@]}"; do
[[ -s "$file" ]] || { echo "Missing source file: $file" >&2; exit 2; }
done
Expand Down
2 changes: 2 additions & 0 deletions scripts/test_live_smoke_source_parity.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"ai-debate-practice-ja.html": "guides/ai-debate-practice/ja/index.html",
"sitemap.xml": "sitemap.xml",
"brain-burst.html": "support/brain-burst/index.html",
"one-tap-routine.html": "support/one-tap-routine/index.html",
"taletime.html": "support/taletime/index.html",
"face-battle.html": "support/face-reaction-battle/index.html",
"dotchi.html": "support/twotaku/index.html",
Expand Down Expand Up @@ -91,6 +92,7 @@ def test_expected_app_pages_are_actually_represented(self):
self.assertTrue(set(SOURCE_PATHS).issuperset(report["files"]))
self.assertIn("debate-me.html", report["files"])
self.assertIn("brain-burst.html", report["files"])
self.assertIn("one-tap-routine.html", report["files"])
self.assertIn("taletime.html", report["files"])
self.assertIn("futureme.html", report["files"])
self.assertIn("sitemap.xml", report["files"])
Expand Down
1 change: 1 addition & 0 deletions scripts/test_publish_app_discovery_staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def test_real_relative_rsync_layout_matches_exact_allowlist(self):
self.assertTrue(PRESS.issubset(set(paths)), "Every press locale must deploy")
self.assertIn("apps.html", paths)
self.assertIn("support/brain-burst/index.html", paths)
self.assertIn("support/one-tap-routine/index.html", paths)
self.assertIn("guides/ai-debate-practice/index.html", paths)
self.assertIn("guides/ai-debate-practice/ja/index.html", paths)
with tempfile.TemporaryDirectory() as tmp:
Expand Down
3 changes: 2 additions & 1 deletion scripts/test_site_release_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
class AppsiteReleaseBundleTests(unittest.TestCase):
def test_exact_publish_manifest_has_five_press_and_seventeen_policies(self):
files = bundle.release_manifest()
self.assertEqual(len(files), 46)
self.assertEqual(len(files), 47)
self.assertEqual(len(files), len(set(files)))
self.assertTrue(bundle.PRESS.issubset(files))
self.assertIn("support/one-tap-routine/index.html", files)
for guide in ("guides/ai-debate-practice/index.html",
"guides/ai-debate-practice/ja/index.html"):
self.assertIn(guide, files, "published sitemap entry missing from release ZIP")
Expand Down
2 changes: 1 addition & 1 deletion sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<url><loc>https://appdevelopsk.com/support/nodo/</loc><lastmod>2026-08-18</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url>
<url><loc>https://appdevelopsk.com/support/now-snap/</loc><lastmod>2026-08-18</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url>
<url><loc>https://appdevelopsk.com/support/ogiri/</loc><lastmod>2026-08-18</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url>
<url><loc>https://appdevelopsk.com/support/one-tap-routine/</loc><lastmod>2026-08-18</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url>
<url><loc>https://appdevelopsk.com/support/one-tap-routine/</loc><lastmod>2026-11-14</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url>
<url><loc>https://appdevelopsk.com/support/pantry-ai/</loc><lastmod>2026-08-18</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url>
<url><loc>https://appdevelopsk.com/support/percent-pulse/</loc><lastmod>2026-08-18</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url>
<url><loc>https://appdevelopsk.com/support/pixelspot/</loc><lastmod>2026-08-18</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url>
Expand Down
Loading
Loading