added
This commit is contained in:
1 parent
f736a651fc
commit
c7877ce140
16 files changed
+152
-40
No files matched your search
@@ -5,7 +5,8 @@ import argparse, json, re
|
||||
FIXED = [
|
||||
('seo-geo-research-skill','skills/seo-geo-research/SKILL.md','SEO / GEO research service','skill','Weekly dual-engine research contract and verification gates.',['seo','geo','aeo','agent-discovery']),
|
||||
('seo-geo-research-framework','skills/seo-geo-research/references/research-framework.md','Original GEO / AI Search framework','reference','Original analytical scope for iNDX, NetworkSIG and AI discovery.',['iNDX','NetworkSIG','retrieval','provenance']),
|
||||
('seo-geo-report-template','templates/report-template.md','Weekly research report template','template','Report sections, source ledger, query ledger and architectural implications.',['research-report','web-search','exa']),
|
||||
('seo-geo-expert-watchlist','skills/seo-geo-research/references/expert-watchlist.md','AEO / GEO expert watchlist','reference','Primary publishing sites for 25 researchers, weekly coverage instructions and selected original studies.',['aeo','geo','ai-search','primary-research']),
|
||||
('seo-geo-report-template','templates/report-template.md','Weekly research report template','template','Report sections, source, query and expert coverage ledgers, and architectural implications.',['research-report','web-search','exa']),
|
||||
('seo-geo-research-rollup','reports/seo-geo-research-rollup.md','Cumulative SEO / GEO research rollup','derived-rollup','Derived chronological collection, not independent evidence; preserves source report status.',['seo','geo','derived','historical-context'])]
|
||||
|
||||
def read_json(path): return json.loads(Path(path).read_text(encoding='utf-8-sig'))
|
||||
@@ -44,6 +45,7 @@ def make_index(root):
|
||||
sources=[i['content_id'] for i in items if i['content_type'] in ['historical-archive','research-report']]
|
||||
for item in items:
|
||||
if item['content_id']=='seo-geo-research-rollup': item['related_content_ids']=sources
|
||||
elif item['content_id']=='seo-geo-research-skill': item['related_content_ids']=['seo-geo-expert-watchlist']
|
||||
elif item['content_type']=='research-report': item['related_content_ids']=['seo-geo-research-skill','seo-geo-report-template']
|
||||
index={'$schema':'./schemas/content-index.schema.json','schema_version':'1.0','collection_id':'seo-geo-research-documents','title':'SEO / GEO research documents','description':'File-level research catalog. Historical sources are unverified; cumulative rollup is derived. Completion and publication are distinct.','updated_at':old.get('updated_at',manifest['updated_at']),'items':items}
|
||||
if old and old.get('items')!=items:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from pathlib import Path
|
||||
import json
|
||||
root=Path(__file__).resolve().parents[1]
|
||||
required=['skills/seo-geo-research/SKILL.md','skills/seo-geo-research/references/research-framework.md','templates/report-template.md','templates/run-receipt.json','evals/contract.json','evals/routing-cases.json','scripts/rollup.py','scripts/test_rollup.py']
|
||||
required=['skills/seo-geo-research/SKILL.md','skills/seo-geo-research/references/research-framework.md','skills/seo-geo-research/references/expert-watchlist.md','templates/report-template.md','templates/run-receipt.json','evals/contract.json','evals/routing-cases.json','scripts/rollup.py','scripts/test_rollup.py']
|
||||
for name in required: assert (root/name).is_file(),name
|
||||
for p in root.rglob('*.json'): json.loads(p.read_text(encoding='utf-8-sig'))
|
||||
skill=(root/required[0]).read_text(encoding='utf-8')
|
||||
|
||||
Reference in new issue
Block a user