Skip to content

feat(browser): surface sitemap context#1820

Merged
jackwener merged 1 commit into
mainfrom
codex/sitemap-skills-metadata
Jun 1, 2026
Merged

feat(browser): surface sitemap context#1820
jackwener merged 1 commit into
mainfrom
codex/sitemap-skills-metadata

Conversation

@jackwener
Copy link
Copy Markdown
Owner

Summary

  • add opencli-sitemap-author and opencli-browser-sitemap skill skeletons
  • surface lightweight sitemap availability metadata from browser open/analyze when local/global sitemap files exist
  • document new sitemap skills in README/install docs and link them from opencli-browser

Verification

  • npx vitest run src/cli.test.ts --project unit -t "resolveSitemapAvailabilityForUrl|browser open|browser analyze"
  • npm run typecheck
  • npm run docs:build
  • npm run build
  • git diff --check

@jackwener jackwener merged commit cc76081 into main Jun 1, 2026
11 checks passed
@jackwener jackwener deleted the codex/sitemap-skills-metadata branch June 1, 2026 17:26
jackwener added a commit that referenced this pull request Jun 1, 2026
* docs(sitemap-author): add detailed schema reference

Companion to #1820 — extends the inline schema in SKILL.md with the
field-level spec promised in the design thread:

- File schemas: SITE.md / pages/<id>.md / workflows/<id>.md / apis.md /
  pitfalls.md with frontmatter fields and required sections.
- Action schema with all 6 required fields (preconditions, postconditions,
  failure_signals, recovery, evidence, plus optional action-level
  state_signature for multi-step internal re-entry).
- Workflow adapter_health enum (healthy / suspect / broken) backing the
  Best path / Fallback path routing rule.
- apis.md endpoint reference format that points at endpoints.json by id
  instead of duplicating endpoint detail (avoids double-stale).
- Two-layer overlay semantics (local wins, stable-id matching, draft
  placement inside sitemap/ to remain discoverable, optional site-alias.json
  for sitemap-without-adapter cases).
- Phase 2 validation rules: file size budget, cross-ref integrity,
  reality check via opencli browser, forbidden-content scan.
- Cross-links to strategy-selection.md (contract_strength / auth_strategy
  enums) and api-discovery.md.

SKILL.md gets a pointer to the new reference plus a draft-placement red
line so authors don't drop drafts at the parent dir where the browser
availability detection cannot see them.

* docs(sitemap): seed authoring from adapter traces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant