Documentation
¶
Index ¶
- Constants
- type Job
- func (j *Job) ClaudeBundlePath() string
- func (j *Job) CommitMessageFile() string
- func (j *Job) Complete()
- func (j *Job) CreateDirectories() error
- func (j *Job) CredentialsFile() string
- func (j *Job) Fail(err string)
- func (j *Job) JobPath() string
- func (j *Job) PromptFile() string
- func (j *Job) Start()
- func (j *Job) WorkspacePath() string
- type Logger
- type Runner
- type Status
Constants ¶
View Source
const ( // ContainerCommitMessagePath is where Claude writes the commit message. ContainerCommitMessagePath = "/manfred-job/.manfred/commit_message.txt" // CommitMessagePrompt is the prompt for phase 2. CommitMessagePrompt = `` /* 597-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
ID string
ProjectName string
Prompt string
Status Status
CreatedAt time.Time
StartedAt *time.Time
CompletedAt *time.Time
Error string
// Git-related fields
BranchName string
BaseSHA string
// Output
CommitMessage string
// contains filtered or unexported fields
}
Job represents a MANFRED job execution.
func (*Job) ClaudeBundlePath ¶
ClaudeBundlePath returns the path to the Claude bundle directory in the job.
func (*Job) CommitMessageFile ¶
CommitMessageFile returns the path to the commit message file.
func (*Job) CreateDirectories ¶
CreateDirectories creates the job directory structure.
func (*Job) CredentialsFile ¶
CredentialsFile returns the path to the credentials file in the job directory.
func (*Job) PromptFile ¶
PromptFile returns the path to the prompt file.
func (*Job) WorkspacePath ¶
WorkspacePath returns the path to the job's workspace (cloned repository).
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger provides prefixed logging for job execution.
Click to show internal directories.
Click to hide internal directories.