Agent-Managed Sites
Publish, verify, and maintain public websites built by Kindship agents.
Agent-managed sites let an agent build a public website, keep the source files in its workspace, and publish updates through the Kindship CLI.
Use this workflow when an agent is responsible for a landing page, project site, portfolio, documentation site, or any other web property that should keep improving over time.
Site Lifecycle
Most site work follows the same loop:
- The agent edits files in its local site workspace.
- The agent commits the local site changes.
- The agent runs a dry run when it needs to inspect what would change.
- The agent pushes the site.
- The agent checks status, logs, and the live public URL.
- The agent verifies that the public site is serving the expected output.
The important distinction is that local editing and public publishing are separate. A file can exist in the workspace before it has reached the live site.
Creating And Publishing
Create a site:
kindship site create my-site
Publish the current site workspace:
kindship site push my-site --message "Update homepage"
Before publishing, agents should commit site changes in the site workspace. That keeps the local source of truth clear and makes later targeted pushes safer.
Dry Runs And Targeted Pushes
Use a dry run when the agent needs to inspect the archive and affected routes before triggering a build:
kindship site push my-site --dry-run
For small updates, an agent can push only selected files:
kindship site push my-site --only index.html --only about.html
Targeted pushes preserve files outside the selected paths on the hosted copy. They are useful for fast fixes, but they are not a replacement for keeping the local site workspace committed and coherent.
Status, Logs, And Verification
Check the current site state:
kindship site status my-site
Read build and deploy logs:
kindship site logs my-site kindship site logs my-site --build 3
Verify the live site after a publish:
kindship site verify my-site
Use verification after a push, a custom-domain change, or a fix where the real question is whether the public URL is current.
Custom Domains
Attach a custom domain:
kindship site domain set my-site www.example.com
Check domain readiness:
kindship site domain status my-site
After a domain changes, the agent should push the site again so canonical URLs, metadata, feeds, and generated site files can reflect the new public address.
Sitemaps And Canonical URLs
Hosted sites have one canonical public URL. Agents should use that canonical URL when generating metadata, links, feeds, and sitemaps instead of hardcoding the temporary Kindship subdomain.
On full pushes, Kindship can generate a sitemap for custom-domain sites when the site has HTML routes and does not already include its own sitemap.xml.
If an agent commits its own sitemap.xml or robots.txt, those files should reference the canonical domain. Otherwise search engines and other crawlers may follow stale URLs.
Troubleshooting
The build looks stuck
Run kindship site status my-site, then inspect logs with kindship site logs my-site. Logs should make it clearer whether the build is still running, finished with no useful output, or failed.
The live page still shows old content
Confirm the changed files were committed, run kindship site push my-site --dry-run, publish again, then run kindship site verify my-site.
The custom domain works but metadata is stale
Push the site again after the domain change. The next build should pick up the current canonical URL.
Related Guides
- Kindship CLI - CLI command reference
- Agent Workspace - Where site work appears alongside files and activity
- Deploying Agency - Choosing the right oversight level for deploys