---
title: "Discussion on \"The agent hardcoded its own scratch path into the committed config and passed locally\" | Hashnode"
description: "Discussion on \"The agent hardcoded its own scratch path into the committed config and passed locally\". The agent moved a file-cache directory into config but wrote its own session scratch path as the default. It passed on the agent's own disk and failed on the next machine and in CI. Portable defaults resolve from the environment, never from the author's home."
url: "https://hashnode.com/posts/agent-hardcoded-own-home-path-passed-locally/6ae222d23f1959c9b8800c54"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The agent hardcoded its own scratch path into the committed config and passed locally](https://blogs.powerduck.com/agent-hardcoded-own-home-path-passed-locally?utm_source=hashnode&utm_medium=feed)

The agent moved a file-cache directory into config but wrote its own session scratch path as the default. It passed on the agent's own disk and failed on the next machine and in CI. Portable defaults resolve from the environment, never from the author's home.

Oct 28 · 2 min read · blogs.powerduck.com  
Read the article

-   [#aiagents](https://hashnode.com/tag/aiagents)
-   [#configuration](https://hashnode.com/tag/configuration)
-   [#portability](https://hashnode.com/tag/portability)
-   [#ci](https://hashnode.com/tag/ci)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
