This commit is contained in:
Your Name
2026-04-14 23:16:47 +08:00
parent 27d193be28
commit 887e95286f
428 changed files with 25304 additions and 0 deletions

View File

@@ -0,0 +1,93 @@
# 新域名离线补料启动包
## 基本信息
- host: `*.expand-supply.example.com`
- bundle_root: `/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com`
- manifest: `/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved/expand-supply-example-com-core-batch1.manifest.json`
- target_root: `/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy`
- approved_dir: `/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved`
- base_url: `https://*.expand-supply.example.com`
- items_count: `9`
- strategy_profile: `expand`
- canonical_mode: `relaxed`
- play_index_mode: `index_follow`
- robots_policy: `index_follow`
- forge_exposure_profile: `expanded`
- structured_policy: `compact`
- reference_mode: `id_only`
- pipeline_import_mode: `off`
- pipeline_import_requested: `no`
- pipeline_import_armed: `no`
- pipeline_import_enabled: `no`
- handoff_stage: `需先入库`
- register_status: `template_not_found`
- register_result_status: ``
- apply_status: `domain_not_found`
- apply_result_status: ``
- bundle_run_status: ``
- prepare_result_status: ``
- import_result_status: ``
- release_dry_run_status: ``
- publish_result_status: ``
## 当前关键文件
- `site-register.sample.json`: `/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.sample.json`
- `site-bootstrap.sample.json`: `/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-bootstrap.sample.json`
- `site-register.result.json`: ``
- `site-apply.result.json`: ``
- `batch-import.result.json`: ``
- `release-publish.result.json`: ``
- `bundle_run_json`: ``
- `prepare_summary`: ``
- `release_dry_run_summary`: ``
- `publish_result_summary`: ``
## 接手判断
- stage: `需先入库`
- summary: apply 仍返回 domain_not_found说明当前目标域名还未正式落库需要先完成 register。
- next_step: 先执行高层 run 或 register
- next_command: `php scripts/domain_bootstrap_run.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --dry-run=0 --format=text`
- import_policy_summary: 默认关闭,需显式放行后才会自动导入 AI 结果。
- import_policy_source: ``
## 下一步
1. 优先执行高层 `domain_bootstrap_pipeline_run.php` dry-run
2. 如 pipeline dry-run 正常,再决定是否正式执行可落地动作
3. 如需更细粒度推进,再退回 `domain_bootstrap_oncall_run.php``domain_bootstrap_run.php`
4. 确认站点策略无误后,再继续 `prepare -> import -> dry_run -> publish`
5. 如果当前是 `ready_to_import`,优先看 `pipeline_import_mode``off` 先补目录,`requested-not-armed` 先放行,再执行非 dry-run import
## Import Policy
- mode: `off`
- summary: 默认关闭,需显式放行后才会自动导入 AI 结果。
- source_path: ``
## 推荐命令
- 命令脚本:`/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/commands.sh`
```bash
php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=6 --dry-run=1 --allow-prepare=1 --format=text
# php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=6 --dry-run=0 --allow-prepare=1 --allow-release-dry-run=1 --format=text
php scripts/domain_bootstrap_oncall_run.php --host='*.expand-supply.example.com' --dry-run=1 --format=text
# php scripts/domain_bootstrap_oncall_run.php --host='*.expand-supply.example.com' --dry-run=0 --format=text
php scripts/domain_bootstrap_run.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --dry-run=1 --format=text
# php scripts/domain_bootstrap_run.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --dry-run=0 --format=text
php scripts/domain_bootstrap_register.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.sample.json' --dry-run=1 --format=text
# php scripts/domain_bootstrap_register.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.sample.json' --format=text
php scripts/domain_seo_bootstrap_apply.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-bootstrap.sample.json' --dry-run=1 --format=text
# php scripts/domain_seo_bootstrap_apply.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-bootstrap.sample.json' --format=text
php scripts/seo_copy_batch_prepare.php 'expand-supply-example-com-core-batch1' --approved-dir='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved'
# php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=3 --dry-run=0 --allow-import=1 --ai-result-dir=<ai-result-dir> --allow-release-dry-run=1 --format=text
# php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=3 --dry-run=0 --allow-import=1 --ai-result-root=<ai-result-root> --allow-release-dry-run=1 --format=text
# php scripts/domain_bootstrap_import_ai.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' <ai-result-dir> --format=text
# php scripts/seo_copy_batch_import.php <ai-result-dir> --target-root='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy'
php scripts/seo_copy_release_run.php 'expand-supply-example-com-core-batch1' --approved-dir='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved' --source-root='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy' --base-url='https://*.expand-supply.example.com' --dry-run=1 --format=text
# php scripts/domain_bootstrap_publish.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --format=text
# php scripts/seo_copy_release_run.php 'expand-supply-example-com-core-batch1' --approved-dir='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved' --source-root='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy' --base-url='https://*.expand-supply.example.com' --format=text
```

View File

@@ -0,0 +1,352 @@
{
"host": "*.expand-supply.example.com",
"host_dir": "expand-supply-example-com",
"manifest": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved/expand-supply-example-com-core-batch1.manifest.json",
"manifest_status": "written",
"target_root": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy",
"approved_dir": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved",
"bundle_root": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com",
"base_url": "https://*.expand-supply.example.com",
"items_count": 9,
"items": [
{
"scene": "home",
"page_key": "index",
"target_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy/expand-supply-example-com/home/index.json",
"status": "written"
},
{
"scene": "category_index",
"page_key": "zong-yi",
"target_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy/expand-supply-example-com/category_index/zong-yi.json",
"status": "written"
},
{
"scene": "category_list",
"page_key": "zong-yi--da-lu-zong-yi",
"target_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy/expand-supply-example-com/category_list/zong-yi--da-lu-zong-yi.json",
"status": "written"
},
{
"scene": "search",
"page_key": "h-ad6cc0984e10818e",
"target_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy/expand-supply-example-com/search/h-ad6cc0984e10818e.json",
"status": "written"
},
{
"scene": "rank_index",
"page_key": "index",
"target_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy/expand-supply-example-com/rank_index/index.json",
"status": "written"
},
{
"scene": "rank_list",
"page_key": "daily",
"target_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy/expand-supply-example-com/rank_list/daily.json",
"status": "written"
},
{
"scene": "detail",
"page_key": "153511",
"target_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy/expand-supply-example-com/detail/153511.json",
"status": "written"
},
{
"scene": "forge",
"page_key": "153511-forge-1",
"target_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy/expand-supply-example-com/forge/153511-forge-1.json",
"status": "written"
},
{
"scene": "play",
"page_key": "153511-play-douban-1",
"target_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy/expand-supply-example-com/play/153511-play-douban-1.json",
"status": "written"
}
],
"site_register": {
"d_domain": "*.expand-supply.example.com",
"d_match_type": "wildcard",
"d_parent_domain": "expand-supply.example.com",
"d_seed_scope": "host",
"d_seo_cfg": {
"strategy_profile": "expand",
"canonical_mode": "relaxed",
"play_index_mode": "index_follow",
"forge": {
"exposure_profile": "expanded",
"enable": true,
"count": 16,
"entry_count": 5,
"sitemap_count": 4,
"route_group": "detail_forge_v2",
"title_source": "v_seo_words"
},
"intro_block": {
"home": true,
"category": true,
"detail": true,
"search": true
},
"structured_data": {
"policy": "compact",
"reference_mode": "id_only",
"website_node": true,
"page_node": true,
"breadcrumb_node": true,
"video_object_node": true,
"organization_node": true,
"organization_name": "",
"same_as": []
},
"runtime_acceptance": {
"enable": false,
"samples": []
},
"robots_policy": "index_follow",
"match_type": "exact",
"seed_scope": "domain",
"wildcard_enable": false
},
"t_id": 1,
"d_name": "Expand Supply",
"d_keywords": "Expand Supply,影视推荐",
"d_description": "Expand Supply 内容整理与推荐。",
"d_index_title": "Expand Supply影视内容推荐",
"d_index_keywords": "Expand Supply,影视推荐",
"d_index_description": "Expand Supply 内容整理与推荐。",
"d_statis": "",
"d_logo_type": 0,
"d_text_logo": "Expand Supply",
"d_img_logo": "",
"d_content_encode": 0,
"info_id": 0,
"d_baidu_token": "",
"_notes": [
"本文件用于创建 domain 记录,模板配置 t_cfg 会在创建时自动从模板表读取。",
"如目标域名已存在register dry-run 会返回 domain_exists后续直接执行 SEO 策略 apply 即可。",
"建议在正式 apply 前先检查 site_name、template_id 和首页三要素文案。"
]
},
"site_register_preview": {
"payload": {
"d_domain": "*.expand-supply.example.com",
"d_match_type": "wildcard",
"d_parent_domain": "expand-supply.example.com",
"d_seed_scope": "host",
"d_seo_cfg": {
"strategy_profile": "expand",
"canonical_mode": "relaxed",
"play_index_mode": "index_follow",
"forge": {
"exposure_profile": "expanded",
"enable": true,
"count": 16,
"entry_count": 5,
"sitemap_count": 4,
"route_group": "detail_forge_v2",
"title_source": "v_seo_words"
},
"intro_block": {
"home": true,
"category": true,
"detail": true,
"search": true
},
"structured_data": {
"policy": "compact",
"reference_mode": "id_only",
"website_node": true,
"page_node": true,
"breadcrumb_node": true,
"video_object_node": true,
"organization_node": true,
"organization_name": "",
"same_as": []
},
"runtime_acceptance": {
"enable": false,
"samples": []
},
"robots_policy": "index_follow",
"match_type": "wildcard",
"seed_scope": "host",
"wildcard_enable": true
},
"t_id": 1,
"d_name": "Expand Supply",
"d_keywords": "Expand Supply,影视推荐",
"d_description": "Expand Supply 内容整理与推荐。",
"d_index_title": "Expand Supply影视内容推荐",
"d_index_keywords": "Expand Supply,影视推荐",
"d_index_description": "Expand Supply 内容整理与推荐。",
"d_statis": "",
"d_logo_type": 0,
"d_text_logo": "Expand Supply",
"d_img_logo": "",
"d_content_encode": 0,
"info_id": 0,
"d_baidu_token": ""
},
"found": false,
"status": "template_not_found",
"message": "模板不存在,无法创建站点记录。",
"create_fields": 0,
"domain_id": 0,
"template_found": false,
"template_id": 1
},
"site_strategy": {
"d_domain": "*.expand-supply.example.com",
"d_match_type": "wildcard",
"d_parent_domain": "expand-supply.example.com",
"d_seed_scope": "host",
"d_seo_cfg": {
"strategy_profile": "expand",
"canonical_mode": "relaxed",
"play_index_mode": "index_follow",
"forge": {
"exposure_profile": "expanded",
"enable": true,
"count": 16,
"entry_count": 5,
"sitemap_count": 4,
"route_group": "detail_forge_v2",
"title_source": "v_seo_words"
},
"intro_block": {
"home": true,
"category": true,
"detail": true,
"search": true
},
"structured_data": {
"policy": "compact",
"reference_mode": "id_only",
"website_node": true,
"page_node": true,
"breadcrumb_node": true,
"video_object_node": true,
"organization_node": true,
"organization_name": "",
"same_as": []
},
"runtime_acceptance": {
"enable": false,
"samples": []
},
"robots_policy": "index_follow",
"match_type": "exact",
"seed_scope": "domain",
"wildcard_enable": false
},
"_notes": [
"导入前请补齐 t_id、d_name、关键词、描述等站点基础字段。",
"wildcard 模式建议同步确认父域名和 seed_scope避免多子域共用错误 seed。",
"本文件只负责域名 SEO 策略与匹配参数,不会替代离线补料 JSON 与 approved manifest。"
]
},
"site_apply_preview": {
"payload": {
"d_domain": "*.expand-supply.example.com",
"d_match_type": "wildcard",
"d_parent_domain": "expand-supply.example.com",
"d_seed_scope": "host",
"d_seo_cfg": {
"strategy_profile": "expand",
"canonical_mode": "relaxed",
"play_index_mode": "index_follow",
"forge": {
"exposure_profile": "expanded",
"enable": true,
"count": 16,
"entry_count": 5,
"sitemap_count": 4,
"route_group": "detail_forge_v2",
"title_source": "v_seo_words"
},
"intro_block": {
"home": true,
"category": true,
"detail": true,
"search": true
},
"structured_data": {
"policy": "compact",
"reference_mode": "id_only",
"website_node": true,
"page_node": true,
"breadcrumb_node": true,
"video_object_node": true,
"organization_node": true,
"organization_name": "",
"same_as": []
},
"runtime_acceptance": {
"enable": false,
"samples": []
},
"robots_policy": "index_follow",
"match_type": "exact",
"seed_scope": "domain",
"wildcard_enable": false
}
},
"found": false,
"status": "domain_not_found",
"message": "请先在站点表中创建目标域名,再应用 bootstrap 策略样板。",
"diff": [],
"changed_fields": 0
},
"next_commands": {
"pipeline_dry_run": "php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=6 --dry-run=1 --allow-prepare=1 --format=text",
"pipeline": "php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=6 --dry-run=0 --allow-prepare=1 --allow-release-dry-run=1 --format=text",
"pipeline_import": "php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=3 --dry-run=0 --allow-import=1 --ai-result-dir=<ai-result-dir> --allow-release-dry-run=1 --format=text",
"pipeline_import_root": "php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=3 --dry-run=0 --allow-import=1 --ai-result-root=<ai-result-root> --allow-release-dry-run=1 --format=text",
"oncall_dry_run": "php scripts/domain_bootstrap_oncall_run.php --host='*.expand-supply.example.com' --dry-run=1 --format=text",
"oncall": "php scripts/domain_bootstrap_oncall_run.php --host='*.expand-supply.example.com' --dry-run=0 --format=text",
"run_dry_run": "php scripts/domain_bootstrap_run.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --dry-run=1 --format=text",
"run": "php scripts/domain_bootstrap_run.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --dry-run=0 --format=text",
"register_dry_run": "php scripts/domain_bootstrap_register.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.sample.json' --dry-run=1 --format=text",
"register": "php scripts/domain_bootstrap_register.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.sample.json' --format=text",
"apply_dry_run": "php scripts/domain_seo_bootstrap_apply.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-bootstrap.sample.json' --dry-run=1 --format=text",
"apply": "php scripts/domain_seo_bootstrap_apply.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-bootstrap.sample.json' --format=text",
"prepare": "php scripts/seo_copy_batch_prepare.php 'expand-supply-example-com-core-batch1' --approved-dir='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved'",
"import": "php scripts/domain_bootstrap_import_ai.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' <ai-result-dir> --format=text",
"import_low_level": "php scripts/seo_copy_batch_import.php <ai-result-dir> --target-root='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy'",
"dry_run": "php scripts/seo_copy_release_run.php 'expand-supply-example-com-core-batch1' --approved-dir='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved' --source-root='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy' --base-url='https://*.expand-supply.example.com' --dry-run=1 --format=text",
"publish": "php scripts/domain_bootstrap_publish.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --format=text",
"publish_low_level": "php scripts/seo_copy_release_run.php 'expand-supply-example-com-core-batch1' --approved-dir='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved' --source-root='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy' --base-url='https://*.expand-supply.example.com' --format=text"
},
"site_register_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.sample.json",
"site_bootstrap_path": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-bootstrap.sample.json",
"bundle_files": {
"summary": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/bootstrap-summary.json",
"manifest_copy": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/manifest.copy.json",
"site_register": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.sample.json",
"site_register_preview": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.preview.json",
"site_bootstrap": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-bootstrap.sample.json",
"site_apply_preview": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-apply.preview.json",
"commands": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/commands.sh",
"runbook": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/README.md",
"site_register_result": "",
"site_apply_result": "",
"import_result": "",
"publish_result": "",
"prepare_summary": "",
"release_dry_run_summary": ""
},
"bundle_index": {
"scan_root": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles",
"bundles_count": 2,
"json": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/_index/index.json",
"html": "/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/_index/index.html"
},
"handoff": {
"stage_code": "needs_attention",
"stage_label": "需先入库",
"summary": "apply 仍返回 domain_not_found说明当前目标域名还未正式落库需要先完成 register。",
"next_step": "先执行高层 run 或 register",
"next_command": "php scripts/domain_bootstrap_run.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --dry-run=0 --format=text"
}
}

View File

@@ -0,0 +1,40 @@
#!/usr/bin/env bash
set -euo pipefail
cd '/www/wwwroot/diff-maccms/SEONexus/code'
# 1. 推荐先走更高层 pipeline 编排入口
php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=6 --dry-run=1 --allow-prepare=1 --format=text
# php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=6 --dry-run=0 --allow-prepare=1 --allow-release-dry-run=1 --format=text
# 2. 如需更细粒度推进,再走 oncall / run 入口
php scripts/domain_bootstrap_oncall_run.php --host='*.expand-supply.example.com' --dry-run=1 --format=text
# php scripts/domain_bootstrap_oncall_run.php --host='*.expand-supply.example.com' --dry-run=0 --format=text
php scripts/domain_bootstrap_run.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --dry-run=1 --format=text
# php scripts/domain_bootstrap_run.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --dry-run=0 --format=text
# 3. 如需拆步排查,再分别执行 register/apply
php scripts/domain_bootstrap_register.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.sample.json' --dry-run=1 --format=text
# php scripts/domain_bootstrap_register.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-register.sample.json' --format=text
php scripts/domain_seo_bootstrap_apply.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-bootstrap.sample.json' --dry-run=1 --format=text
# php scripts/domain_seo_bootstrap_apply.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/site-bootstrap.sample.json' --format=text
# 4. 生成 facts + prompt
php scripts/seo_copy_batch_prepare.php 'expand-supply-example-com-core-batch1' --approved-dir='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved'
# 5. 导入 AI 结果
# policy_mode=off
# policy_summary=默认关闭,需显式放行后才会自动导入 AI 结果。
# policy_source=
# php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=3 --dry-run=0 --allow-import=1 --ai-result-dir=<ai-result-dir> --allow-release-dry-run=1 --format=text
# php scripts/domain_bootstrap_pipeline_run.php --host='*.expand-supply.example.com' --step-limit=3 --dry-run=0 --allow-import=1 --ai-result-root=<ai-result-root> --allow-release-dry-run=1 --format=text
# php scripts/domain_bootstrap_import_ai.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' <ai-result-dir> --format=text
# 6. 跑 dry-run 门禁
php scripts/seo_copy_release_run.php 'expand-supply-example-com-core-batch1' --approved-dir='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved' --source-root='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy' --base-url='https://*.expand-supply.example.com' --dry-run=1 --format=text
# 7. dry-run 通过后正式发布
# php scripts/domain_bootstrap_publish.php '/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com' --format=text
# php scripts/seo_copy_release_run.php 'expand-supply-example-com-core-batch1' --approved-dir='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy_jobs/approved' --source-root='/www/wwwroot/diff-maccms/SEONexus/code/public/_admin_templates/domain-supply-runs/test-run/bundles/expand-supply-example-com/data/seo_copy' --base-url='https://*.expand-supply.example.com' --format=text

View File

@@ -0,0 +1,18 @@
{
"intro_text": "",
"intro_meta": "",
"guide_cards": [
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
}
]
}

View File

@@ -0,0 +1,18 @@
{
"intro_text": "",
"intro_meta": "",
"guide_cards": [
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
}
]
}

View File

@@ -0,0 +1,6 @@
{
"detail_body_lead": "",
"detail_play_link_lead": "",
"detail_body_tail": "",
"main_description": ""
}

View File

@@ -0,0 +1,7 @@
{
"forge_detail_note": "",
"forge_body_lead": "",
"forge_return_lead": "",
"forge_play_lead": "",
"main_description": ""
}

View File

@@ -0,0 +1,18 @@
{
"intro_text": "",
"intro_meta": "",
"guide_cards": [
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
}
]
}

View File

@@ -0,0 +1,6 @@
{
"play_intro": "",
"play_meta_note": "",
"play_body_lead": "",
"play_body_next": ""
}

View File

@@ -0,0 +1,18 @@
{
"intro_text": "",
"intro_meta": "",
"guide_cards": [
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
}
]
}

View File

@@ -0,0 +1,18 @@
{
"intro_text": "",
"intro_meta": "",
"guide_cards": [
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
}
]
}

View File

@@ -0,0 +1,18 @@
{
"intro_text": "",
"intro_meta": "",
"guide_cards": [
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
},
{
"title": "",
"text": ""
}
]
}

View File

@@ -0,0 +1,69 @@
[
{
"host": "*.expand-supply.example.com",
"scene": "home",
"page_parts": [
"index"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "category_index",
"page_parts": [
"zong-yi"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "category_list",
"page_parts": [
"zong-yi",
"da-lu-zong-yi"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "search",
"page_parts": [
"一卦定乾坤"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "rank_index",
"page_parts": [
"index"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "rank_list",
"page_parts": [
"daily"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "detail",
"page_parts": [
"153511"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "forge",
"page_parts": [
"153511",
"1"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "play",
"page_parts": [
"153511",
"douban",
"1"
]
}
]

View File

@@ -0,0 +1,69 @@
[
{
"host": "*.expand-supply.example.com",
"scene": "home",
"page_parts": [
"index"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "category_index",
"page_parts": [
"zong-yi"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "category_list",
"page_parts": [
"zong-yi",
"da-lu-zong-yi"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "search",
"page_parts": [
"一卦定乾坤"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "rank_index",
"page_parts": [
"index"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "rank_list",
"page_parts": [
"daily"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "detail",
"page_parts": [
"153511"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "forge",
"page_parts": [
"153511",
"1"
]
},
{
"host": "*.expand-supply.example.com",
"scene": "play",
"page_parts": [
"153511",
"douban",
"1"
]
}
]

View File

@@ -0,0 +1,52 @@
{
"payload": {
"d_domain": "*.expand-supply.example.com",
"d_match_type": "wildcard",
"d_parent_domain": "expand-supply.example.com",
"d_seed_scope": "host",
"d_seo_cfg": {
"strategy_profile": "expand",
"canonical_mode": "relaxed",
"play_index_mode": "index_follow",
"forge": {
"exposure_profile": "expanded",
"enable": true,
"count": 16,
"entry_count": 5,
"sitemap_count": 4,
"route_group": "detail_forge_v2",
"title_source": "v_seo_words"
},
"intro_block": {
"home": true,
"category": true,
"detail": true,
"search": true
},
"structured_data": {
"policy": "compact",
"reference_mode": "id_only",
"website_node": true,
"page_node": true,
"breadcrumb_node": true,
"video_object_node": true,
"organization_node": true,
"organization_name": "",
"same_as": []
},
"runtime_acceptance": {
"enable": false,
"samples": []
},
"robots_policy": "index_follow",
"match_type": "exact",
"seed_scope": "domain",
"wildcard_enable": false
}
},
"found": false,
"status": "domain_not_found",
"message": "请先在站点表中创建目标域名,再应用 bootstrap 策略样板。",
"diff": [],
"changed_fields": 0
}

View File

@@ -0,0 +1,50 @@
{
"d_domain": "*.expand-supply.example.com",
"d_match_type": "wildcard",
"d_parent_domain": "expand-supply.example.com",
"d_seed_scope": "host",
"d_seo_cfg": {
"strategy_profile": "expand",
"canonical_mode": "relaxed",
"play_index_mode": "index_follow",
"forge": {
"exposure_profile": "expanded",
"enable": true,
"count": 16,
"entry_count": 5,
"sitemap_count": 4,
"route_group": "detail_forge_v2",
"title_source": "v_seo_words"
},
"intro_block": {
"home": true,
"category": true,
"detail": true,
"search": true
},
"structured_data": {
"policy": "compact",
"reference_mode": "id_only",
"website_node": true,
"page_node": true,
"breadcrumb_node": true,
"video_object_node": true,
"organization_node": true,
"organization_name": "",
"same_as": []
},
"runtime_acceptance": {
"enable": false,
"samples": []
},
"robots_policy": "index_follow",
"match_type": "exact",
"seed_scope": "domain",
"wildcard_enable": false
},
"_notes": [
"导入前请补齐 t_id、d_name、关键词、描述等站点基础字段。",
"wildcard 模式建议同步确认父域名和 seed_scope避免多子域共用错误 seed。",
"本文件只负责域名 SEO 策略与匹配参数,不会替代离线补料 JSON 与 approved manifest。"
]
}

View File

@@ -0,0 +1,68 @@
{
"payload": {
"d_domain": "*.expand-supply.example.com",
"d_match_type": "wildcard",
"d_parent_domain": "expand-supply.example.com",
"d_seed_scope": "host",
"d_seo_cfg": {
"strategy_profile": "expand",
"canonical_mode": "relaxed",
"play_index_mode": "index_follow",
"forge": {
"exposure_profile": "expanded",
"enable": true,
"count": 16,
"entry_count": 5,
"sitemap_count": 4,
"route_group": "detail_forge_v2",
"title_source": "v_seo_words"
},
"intro_block": {
"home": true,
"category": true,
"detail": true,
"search": true
},
"structured_data": {
"policy": "compact",
"reference_mode": "id_only",
"website_node": true,
"page_node": true,
"breadcrumb_node": true,
"video_object_node": true,
"organization_node": true,
"organization_name": "",
"same_as": []
},
"runtime_acceptance": {
"enable": false,
"samples": []
},
"robots_policy": "index_follow",
"match_type": "wildcard",
"seed_scope": "host",
"wildcard_enable": true
},
"t_id": 1,
"d_name": "Expand Supply",
"d_keywords": "Expand Supply,影视推荐",
"d_description": "Expand Supply 内容整理与推荐。",
"d_index_title": "Expand Supply影视内容推荐",
"d_index_keywords": "Expand Supply,影视推荐",
"d_index_description": "Expand Supply 内容整理与推荐。",
"d_statis": "",
"d_logo_type": 0,
"d_text_logo": "Expand Supply",
"d_img_logo": "",
"d_content_encode": 0,
"info_id": 0,
"d_baidu_token": ""
},
"found": false,
"status": "template_not_found",
"message": "模板不存在,无法创建站点记录。",
"create_fields": 0,
"domain_id": 0,
"template_found": false,
"template_id": 1
}

View File

@@ -0,0 +1,64 @@
{
"d_domain": "*.expand-supply.example.com",
"d_match_type": "wildcard",
"d_parent_domain": "expand-supply.example.com",
"d_seed_scope": "host",
"d_seo_cfg": {
"strategy_profile": "expand",
"canonical_mode": "relaxed",
"play_index_mode": "index_follow",
"forge": {
"exposure_profile": "expanded",
"enable": true,
"count": 16,
"entry_count": 5,
"sitemap_count": 4,
"route_group": "detail_forge_v2",
"title_source": "v_seo_words"
},
"intro_block": {
"home": true,
"category": true,
"detail": true,
"search": true
},
"structured_data": {
"policy": "compact",
"reference_mode": "id_only",
"website_node": true,
"page_node": true,
"breadcrumb_node": true,
"video_object_node": true,
"organization_node": true,
"organization_name": "",
"same_as": []
},
"runtime_acceptance": {
"enable": false,
"samples": []
},
"robots_policy": "index_follow",
"match_type": "exact",
"seed_scope": "domain",
"wildcard_enable": false
},
"t_id": 1,
"d_name": "Expand Supply",
"d_keywords": "Expand Supply,影视推荐",
"d_description": "Expand Supply 内容整理与推荐。",
"d_index_title": "Expand Supply影视内容推荐",
"d_index_keywords": "Expand Supply,影视推荐",
"d_index_description": "Expand Supply 内容整理与推荐。",
"d_statis": "",
"d_logo_type": 0,
"d_text_logo": "Expand Supply",
"d_img_logo": "",
"d_content_encode": 0,
"info_id": 0,
"d_baidu_token": "",
"_notes": [
"本文件用于创建 domain 记录,模板配置 t_cfg 会在创建时自动从模板表读取。",
"如目标域名已存在register dry-run 会返回 domain_exists后续直接执行 SEO 策略 apply 即可。",
"建议在正式 apply 前先检查 site_name、template_id 和首页三要素文案。"
]
}